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/fchdir01.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'winsup/testsuite/winsup.api/ltp/fchdir01.c') diff --git a/winsup/testsuite/winsup.api/ltp/fchdir01.c b/winsup/testsuite/winsup.api/ltp/fchdir01.c index 83685d34d..bd70c01b3 100644 --- a/winsup/testsuite/winsup.api/ltp/fchdir01.c +++ b/winsup/testsuite/winsup.api/ltp/fchdir01.c @@ -63,10 +63,10 @@ #include #include -void cleanup(void); +void cleanup(void) __attribute__((noreturn)); void setup(void); -char *TCID = "fchdir01"; +const char *TCID = "fchdir01"; int TST_TOTAL = 1; extern int Tst_count; @@ -77,6 +77,7 @@ const char *TEST_DIR = "alpha"; #define MODES S_IRWXU +int main(int ac, char **av) { int lc; /* loop counter */ -- cgit v1.2.3