summaryrefslogtreecommitdiffstats
path: root/include/dirent.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/dirent.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 191ed35..c0dd4a0c 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -87,20 +87,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((DIR *));
-void seekdir __P((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 getdents __P((int, char *, int));
-int getdirentries __P((int, char *, int, long *));
-int readdir_r __P((DIR *, struct dirent *, struct dirent **));
+DIR *__opendir2(const char *, int);
+long telldir(DIR *);
+void seekdir(DIR *, long);
+int scandir(const char *, struct dirent ***,
+ int (*)(struct dirent *), int (*)(const void *, const void *));
+int alphasort(const void *, const void *);
+int getdents(int, char *, int);
+int getdirentries(int, char *, int, long *);
+int readdir_r(DIR *, struct dirent *, struct dirent **);
#endif /* not POSIX */
__END_DECLS
OpenPOWER on IntegriCloud