Fix 'const' problems with getopt()'s prototype.
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 23 Feb 1991 07:14:06 +0000 (23:14 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 23 Feb 1991 07:14:06 +0000 (23:14 -0800)
SCCS-vsn: include/stdlib.h 5.9

usr/src/include/stdlib.h

index 51681ca..cf62cf2 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)stdlib.h    5.8 (Berkeley) %G%
+ *     @(#)stdlib.h    5.9 (Berkeley) %G%
  */
 
 #ifndef _STDLIB_H_
  */
 
 #ifndef _STDLIB_H_
@@ -82,7 +82,7 @@ int    setenv __P((const char *, const char *, int));
 
 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
 void   *alloca __P((size_t));  /* built-in for gcc */
 
 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
 void   *alloca __P((size_t));  /* built-in for gcc */
-int     getopt __P((int, const char * const *, const char *));
+int     getopt __P((int, char * const *, const char *));
 char   *initstate __P((unsigned, char *, int));
 int     radixsort __P((const u_char **, int, const u_char *, u_char));
 long    random __P((void));
 char   *initstate __P((unsigned, char *, int));
 int     radixsort __P((const u_char **, int, const u_char *, u_char));
 long    random __P((void));