Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/time02.c')
-rw-r--r--winsup/testsuite/winsup.api/ltp/time02.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/time02.c b/winsup/testsuite/winsup.api/ltp/time02.c
index 827ed3201..011546e8f 100644
--- a/winsup/testsuite/winsup.api/ltp/time02.c
+++ b/winsup/testsuite/winsup.api/ltp/time02.c
@@ -67,7 +67,6 @@
*
*/
-#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
@@ -78,9 +77,9 @@
#include "usctest.h"
extern void setup(); /* setup function for the test */
-extern void cleanup(); /* cleanup function for the test */
+void cleanup(void) __attribute__((noreturn));/* cleanup function for the test */
-char *TCID="time01"; /* Test program identifier. */
+const char *TCID="time01"; /* Test program identifier. */
int TST_TOTAL = 1; /* Total number of test cases. */
extern int Tst_count; /* Test Case counter for tst_* routines */
int exp_enos[]={0};