summaryrefslogtreecommitdiffstats
path: root/include/glob.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/glob.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/glob.h')
-rw-r--r--include/glob.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/glob.h b/include/glob.h
index cd49ea8..d59db3b 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -50,18 +50,18 @@ typedef struct {
int gl_flags; /* Copy of flags parameter to glob. */
char **gl_pathv; /* List of paths matching pattern. */
/* Copy of errfunc parameter to glob. */
- int (*gl_errfunc) __P((const char *, int));
+ int (*gl_errfunc)(const char *, int);
/*
* Alternate filesystem access methods for glob; replacement
* versions of closedir(3), readdir(3), opendir(3), stat(2)
* and lstat(2).
*/
- void (*gl_closedir) __P((void *));
- struct dirent *(*gl_readdir) __P((void *));
- void *(*gl_opendir) __P((const char *));
- int (*gl_lstat) __P((const char *, struct stat *));
- int (*gl_stat) __P((const char *, struct stat *));
+ void (*gl_closedir)(void *);
+ struct dirent *(*gl_readdir)(void *);
+ void *(*gl_opendir)(const char *);
+ int (*gl_lstat)(const char *, struct stat *);
+ int (*gl_stat)(const char *, struct stat *);
} glob_t;
#define GLOB_APPEND 0x0001 /* Append to output from previous call. */
@@ -86,8 +86,8 @@ typedef struct {
#define GLOB_ABEND (-2) /* Unignored error. */
__BEGIN_DECLS
-int glob __P((const char *, int, int (*)(const char *, int), glob_t *));
-void globfree __P((glob_t *));
+int glob(const char *, int, int (*)(const char *, int), glob_t *);
+void globfree(glob_t *);
__END_DECLS
#endif /* !_GLOB_H_ */
OpenPOWER on IntegriCloud