summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /include/dirent.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 54291f535a1..012e8006073 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dirent.h,v 1.6 1999/09/17 13:13:46 espie Exp $ */
+/* $OpenBSD: dirent.h,v 1.7 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */
/*-
@@ -96,20 +96,20 @@ typedef struct _dirdesc {
#include <sys/cdefs.h>
__BEGIN_DECLS
-DIR *opendir __P((const char *));
-struct dirent *readdir __P((DIR *));
-void rewinddir __P((DIR *));
-int closedir __P((DIR *));
+DIR *opendir(const char *);
+struct dirent *readdir(DIR *);
+void rewinddir(DIR *);
+int closedir(DIR *);
#ifndef _POSIX_SOURCE
-DIR *__opendir2 __P((const char *, int));
-long telldir __P((const DIR *));
-void seekdir __P((DIR *, long));
+DIR *__opendir2(const char *, int);
+long telldir(const DIR *);
+void seekdir(DIR *, long);
int scandir __P((const char *, struct dirent ***,
int (*)(struct dirent *), int (*)(const void *, const void *)));
-int alphasort __P((const void *, const void *));
-int getdirentries __P((int, char *, int, long *));
+int alphasort(const void *, const void *);
+int getdirentries(int, char *, int, long *);
#endif /* not POSIX */
-int readdir_r __P((DIR *, struct dirent *, struct dirent **));
+int readdir_r(DIR *, struct dirent *, struct dirent **);
__END_DECLS
#endif /* !_KERNEL */