summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/winsup.api/ltp/lseek05.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/lseek05.c')
-rw-r--r--winsup/testsuite/winsup.api/ltp/lseek05.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/lseek05.c b/winsup/testsuite/winsup.api/ltp/lseek05.c
index 0d51643f0..8867086bd 100644
--- a/winsup/testsuite/winsup.api/ltp/lseek05.c
+++ b/winsup/testsuite/winsup.api/ltp/lseek05.c
@@ -114,16 +114,15 @@
#include <errno.h>
#include <string.h>
#include <signal.h>
-#include <unistd.h>
#include "test.h"
#include "usctest.h"
void setup();
-void cleanup();
+void cleanup(void) __attribute__((noreturn));
-char *TCID="lseek05"; /* Test program identifier. */
+const char *TCID="lseek05"; /* Test program identifier. */
int TST_TOTAL=1; /* Total number of test cases. */
extern int Tst_count; /* Test Case counter for tst_* routines */