From 31d7abadfee7da27924f7130e470ea701b39bc3e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 24 Jan 2003 01:09:40 +0000 Subject: Perform more C warning fixup on all C source files and headers. --- winsup/testsuite/winsup.api/ltp/getpgid01.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'winsup/testsuite/winsup.api/ltp/getpgid01.c') diff --git a/winsup/testsuite/winsup.api/ltp/getpgid01.c b/winsup/testsuite/winsup.api/ltp/getpgid01.c index d1a39a087..70fc854c2 100644 --- a/winsup/testsuite/winsup.api/ltp/getpgid01.c +++ b/winsup/testsuite/winsup.api/ltp/getpgid01.c @@ -50,12 +50,13 @@ #include void setup(void); -void cleanup(void); +void cleanup(void) __attribute__((noreturn)); -char *TCID = "getpgid01"; +const char *TCID = "getpgid01"; int TST_TOTAL = 1; extern int Tst_count; +int main(int ac, char **av) { int lc; /* loop counter */ @@ -98,7 +99,6 @@ main(int ac, char **av) } /* child */ -block1: tst_resm(TINFO, "Enter block 1"); fail = 0; if ((pgid_0 = getpgid(0)) < 0) { @@ -114,7 +114,6 @@ block1: } tst_resm(TINFO, "Exit block 1"); -block2: tst_resm(TINFO, "Enter block 2"); fail = 0; @@ -138,7 +137,6 @@ block2: } tst_resm(TINFO, "Exit block 2"); -block3: tst_resm(TINFO, "Enter block 3"); fail = 0; @@ -164,7 +162,6 @@ block3: } tst_resm(TINFO, "Exit block 3"); -block4: tst_resm(TINFO, "Enter block 4"); fail = 0; -- cgit v1.2.3