diff options
-rw-r--r-- | usr.bin/find/extern.h | 20 | ||||
-rw-r--r-- | usr.bin/find/find.c | 2 | ||||
-rw-r--r-- | usr.bin/find/find.h | 2 | ||||
-rw-r--r-- | usr.bin/find/function.c | 10 | ||||
-rw-r--r-- | usr.bin/find/ls.c | 4 | ||||
-rw-r--r-- | usr.bin/find/main.c | 2 | ||||
-rw-r--r-- | usr.bin/find/operator.c | 4 | ||||
-rw-r--r-- | usr.bin/find/option.c | 2 |
8 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h index e5038f3..8740b0a 100644 --- a/usr.bin/find/extern.h +++ b/usr.bin/find/extern.h @@ -36,17 +36,17 @@ #include <sys/cdefs.h> -void brace_subst __P((char *, char **, char *, int)); -PLAN *find_create __P((char ***)); -int find_execute __P((PLAN *, char **)); -PLAN *find_formplan __P((char **)); -PLAN *not_squish __P((PLAN *)); -PLAN *or_squish __P((PLAN *)); -PLAN *paren_squish __P((PLAN *)); +void brace_subst(char *, char **, char *, int); +PLAN *find_create(char ***); +int find_execute(PLAN *, char **); +PLAN *find_formplan(char **); +PLAN *not_squish(PLAN *); +PLAN *or_squish(PLAN *); +PLAN *paren_squish(PLAN *); struct stat; -void printlong __P((char *, char *, struct stat *)); -int queryuser __P((char **)); -OPTION *lookup_option __P((const char *)); +void printlong(char *, char *, struct stat *); +int queryuser(char **); +OPTION *lookup_option(const char *); creat_f c_Xmin; creat_f c_Xtime; diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c index 860aa55..593ab9b 100644 --- a/usr.bin/find/find.c +++ b/usr.bin/find/find.c @@ -56,7 +56,7 @@ static const char rcsid[] = #include "find.h" -static int find_compare __P((const FTSENT **s1, const FTSENT **s2)); +static int find_compare(const FTSENT **s1, const FTSENT **s2); /* * find_compare -- diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h index 32009eb..1a210d0 100644 --- a/usr.bin/find/find.h +++ b/usr.bin/find/find.h @@ -44,7 +44,7 @@ struct _plandata; struct _option; /* execute function */ -typedef int exec_f __P((struct _plandata *, FTSENT *)); +typedef int exec_f(struct _plandata *, FTSENT *); /* create function */ typedef struct _plandata *creat_f(struct _option *, char ***); diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 3a0b667..34e12c1 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -65,11 +65,11 @@ static const char rcsid[] = #include "find.h" -static PLAN *palloc __P((OPTION *)); -static long long find_parsenum __P((PLAN *, const char *, char *, char *)); -static long long find_parsetime __P((PLAN *, const char *, char *)); -static char *nextarg __P((OPTION *, char ***)); -time_t get_date __P((char *, struct timeb *)); +static PLAN *palloc(OPTION *); +static long long find_parsenum(PLAN *, const char *, char *, char *); +static long long find_parsetime(PLAN *, const char *, char *); +static char *nextarg(OPTION *, char ***); +time_t get_date(char *, struct timeb *); #define COMPARE(a, b) do { \ switch (plan->flags & F_ELG_MASK) { \ diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c index b0ce664..e4defa7 100644 --- a/usr.bin/find/ls.c +++ b/usr.bin/find/ls.c @@ -60,8 +60,8 @@ static const char rcsid[] = /* Derived from the print routines in the ls(1) source code. */ -static void printlink __P((char *)); -static void printtime __P((time_t)); +static void printlink(char *); +static void printtime(time_t); void printlong(name, accpath, sb) diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index 330bb83..d7ff7a5 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -76,7 +76,7 @@ int isxargs; /* don't permit xargs delimiting chars */ int mindepth = -1, maxdepth = -1; /* minimum and maximum depth */ int regexp_flags = REG_BASIC; /* use the "basic" regexp by default*/ -static void usage __P((void)); +static void usage(void); int main(argc, argv) diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c index 8139d54..ff002e5 100644 --- a/usr.bin/find/operator.c +++ b/usr.bin/find/operator.c @@ -51,8 +51,8 @@ static const char rcsid[] = #include "find.h" -static PLAN *yanknode __P((PLAN **)); -static PLAN *yankexpr __P((PLAN **)); +static PLAN *yanknode(PLAN **); +static PLAN *yankexpr(PLAN **); /* * yanknode -- diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c index 3858085..d6716e1 100644 --- a/usr.bin/find/option.c +++ b/usr.bin/find/option.c @@ -54,7 +54,7 @@ static const char rcsid[] = #include "find.h" -int typecompare __P((const void *, const void *)); +int typecompare(const void *, const void *); /* NB: the following table must be sorted lexically. */ static OPTION const options[] = { |