diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/mmaptest01.c')
-rw-r--r-- | winsup/testsuite/winsup.api/mmaptest01.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/testsuite/winsup.api/mmaptest01.c b/winsup/testsuite/winsup.api/mmaptest01.c index a48110eb7..4add28001 100644 --- a/winsup/testsuite/winsup.api/mmaptest01.c +++ b/winsup/testsuite/winsup.api/mmaptest01.c @@ -52,11 +52,12 @@ #include <fcntl.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "test.h" #include "usctest.h" -char *TCID = "mmaptest01"; /* Test program identifier. */ +const char *TCID = "mmaptest01"; /* Test program identifier. */ int TST_TOTAL = 7; /* Total number of test cases. */ extern int Tst_count; /* Test Case counter for tst_* routines */ @@ -77,8 +78,6 @@ char const line2 [] = "y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2\n"; int main () { - int ret = 0; - char fnam1[32]; char fnam2[32]; |