OSDN Git Service

Perform more C warning fixup on all C source files and headers.
[pf3gnuchains/pf3gnuchains3x.git] / winsup / testsuite / winsup.api / ltp / fchmod01.c
index ffcf37f..e2db716 100644 (file)
@@ -119,7 +119,7 @@ extern void cleanup();
 
 
 
-char *TCID="fchmod01";                 /* Test program identifier.    */
+const char *TCID="fchmod01";           /* Test program identifier.    */
 int TST_TOTAL=1;               /* Total number of test cases. */
 extern int Tst_count;          /* Test Case counter for tst_* routines */
 
@@ -127,7 +127,7 @@ int exp_enos[]={0, 0};
 
 char fname[255];
 int fd;
-char *buf = "davef";
+const char *buf = "davef";
 
 int
 main(int ac, char **av)