diff options
author | Christopher Faylor <me@cgf.cx> | 2003-02-08 02:56:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-02-08 02:56:49 +0000 |
commit | 9cca06eea1c41b643d102bd00b121df86b12ec5f (patch) | |
tree | 44c8696fec6f39fbe7e46de8984902ca4bcdca1b /winsup/testsuite/libltp/lib | |
parent | 3202ad2b9e81df3bd61afa56fd2622e115b334c3 (diff) | |
download | cygnal-9cca06eea1c41b643d102bd00b121df86b12ec5f.tar.gz cygnal-9cca06eea1c41b643d102bd00b121df86b12ec5f.tar.bz2 cygnal-9cca06eea1c41b643d102bd00b121df86b12ec5f.zip |
* libltp/lib/parse_opts.c: Deal with C warnings.
* winsup.api/pthread/cancel12.c: Ditto.
* winsup.api/winsup.exp: Don't use -g3.
Diffstat (limited to 'winsup/testsuite/libltp/lib')
-rw-r--r-- | winsup/testsuite/libltp/lib/parse_opts.c | 36 |
1 files changed, 18 insertions, 18 deletions
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 */ |