From 9cca06eea1c41b643d102bd00b121df86b12ec5f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 8 Feb 2003 02:56:49 +0000 Subject: * libltp/lib/parse_opts.c: Deal with C warnings. * winsup.api/pthread/cancel12.c: Ditto. * winsup.api/winsup.exp: Don't use -g3. --- winsup/testsuite/libltp/lib/parse_opts.c | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'winsup/testsuite/libltp/lib/parse_opts.c') diff --git a/winsup/testsuite/libltp/lib/parse_opts.c b/winsup/testsuite/libltp/lib/parse_opts.c index e4da236e6..4a8058938 100644 --- a/winsup/testsuite/libltp/lib/parse_opts.c +++ b/winsup/testsuite/libltp/lib/parse_opts.c @@ -100,6 +100,24 @@ #define DEBUG 0 #endif +/* + * Code from usctest.h that not part of this file since we are the library. + */ + +struct usc_errno_t TEST_VALID_ENO[USC_MAX_ERRNO]; + + /*********************************************************************** + * Globals for returning the return code and errno from the system call + * test macros. + ***********************************************************************/ +int TEST_RETURN; +int TEST_ERRNO; + + /*********************************************************************** + * temporary variables for determining max and min times in TEST macro + ***********************************************************************/ +long btime, etime, tmptime; + /* The timing information block. */ struct tblock tblock={0,((long) -1)>>1,0,0}; @@ -808,24 +826,6 @@ int Help = 0; int Help2 = 0; char *ptr; -/* - * Code from usctest.h that not part of this file since we are the library. - */ - -struct usc_errno_t TEST_VALID_ENO[USC_MAX_ERRNO]; - - /*********************************************************************** - * Globals for returning the return code and errno from the system call - * test macros. - ***********************************************************************/ -int TEST_RETURN; -int TEST_ERRNO; - - /*********************************************************************** - * temporary variables for determining max and min times in TEST macro - ***********************************************************************/ -long btime, etime, tmptime; - /* for test specific parse_opts options */ -- cgit v1.2.3