Adjust the type of scandir's function argument.
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sun, 24 Feb 1991 10:52:51 +0000 (02:52 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sun, 24 Feb 1991 10:52:51 +0000 (02:52 -0800)
SCCS-vsn: include/dirent.h 5.18

usr/src/include/dirent.h

index 8d1631c..158e606 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)dirent.h    5.17 (Berkeley) %G%
+ *     @(#)dirent.h    5.18 (Berkeley) %G%
  */
 
 #ifndef _DIRENT_H_
  */
 
 #ifndef _DIRENT_H_
@@ -70,7 +70,7 @@ int closedir __P((DIR *));
 long telldir __P((const DIR *));
 void seekdir __P((DIR *, long));
 int scandir __P((const char *, struct dirent ***,
 long telldir __P((const DIR *));
 void seekdir __P((DIR *, long));
 int scandir __P((const char *, struct dirent ***,
-    int (*)(struct dirent *), int (*)(void *, void *)));
+    int (*)(struct dirent *), int (*)(const void *, const void *)));
 int alphasort __P((const void *, const void *));
 int getdirentries __P((int, char *, int, long *));
 #endif /* not POSIX */
 int alphasort __P((const void *, const void *));
 int getdirentries __P((int, char *, int, long *));
 #endif /* not POSIX */