repair arguments (add const)
[unix-history] / usr / src / lib / libc / stdio / fopen.c
index 1b78443..ca2edd5 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)fopen.c    5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)fopen.c    5.4 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -20,8 +20,8 @@ static char sccsid[] = "@(#)fopen.c   5.3 (Berkeley) %G%";
 
 FILE *
 fopen(file, mode)
 
 FILE *
 fopen(file, mode)
-       char *file;
-       char *mode;
+       const char *file;
+       const char *mode;
 {
        register FILE *fp;
        register int f;
 {
        register FILE *fp;
        register int f;