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