aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-03-20 10:32:05 +0000
committerMark Murray <markm@FreeBSD.org>2002-03-20 10:32:05 +0000
commitecca1f1c0a28147eb44018597c58566ffb456ce5 (patch)
tree8315de7678ad5b14f81e61cf1ca93501c22918fc /usr.bin
parent2684b6af7ac0566145e4da6ba77273b1e7d42166 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/find/extern.h20
-rw-r--r--usr.bin/find/find.c2
-rw-r--r--usr.bin/find/find.h2
-rw-r--r--usr.bin/find/function.c10
-rw-r--r--usr.bin/find/ls.c4
-rw-r--r--usr.bin/find/main.c2
-rw-r--r--usr.bin/find/operator.c4
-rw-r--r--usr.bin/find/option.c2
8 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h
index e5038f367b36..8740b0a9fcc8 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 860aa55e8549..593ab9b525da 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 32009ebfb6af..1a210d0ffb4d 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 3a0b66761b69..34e12c1a5bca 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 b0ce66404351..e4defa705192 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 330bb83d0150..d7ff7a55565e 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 8139d54c196f..ff002e5c6bc4 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 385808571985..d6716e153e31 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[] = {