summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/skip1.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2016-02-16 12:39:16 -0800
committerDoug Evans <dje@google.com>2016-02-16 12:39:16 -0800
commit21b1f8d2fc29b7e0585dbdca72c0b8a8bf070a2e (patch)
treefe425717dc44c689df6ab0e110d8dab227046763 /gdb/testsuite/gdb.base/skip1.c
parent4041ed778095ed74f7cb9cdaac4115597f35147c (diff)
downloadbinutils-gdb-21b1f8d2fc29b7e0585dbdca72c0b8a8bf070a2e.tar.gz
Whitespace cleanup for skip testcase.
gdb/testsuite/ChangeLog: * gdb.base/skip.c: Add copyright. Whitespace cleanup. * gdb.base/skip1.c: Ditto. * gdb.base/skip.exp: Whitespace cleanup.
Diffstat (limited to 'gdb/testsuite/gdb.base/skip1.c')
-rw-r--r--gdb/testsuite/gdb.base/skip1.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/skip1.c b/gdb/testsuite/gdb.base/skip1.c
index fe63cd65779..9a06e6211a3 100644
--- a/gdb/testsuite/gdb.base/skip1.c
+++ b/gdb/testsuite/gdb.base/skip1.c
@@ -1,9 +1,28 @@
-int bar()
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2011-2016 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+int
+bar (void)
{
return 1;
}
-int baz(int a)
+int
+baz (int a)
{
return a + 1;
}