diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 22:49:10 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 22:49:10 +0000 |
commit | 3b73ce2319e249cf2795cf4b0d0c624134f01e77 (patch) | |
tree | 8e16a65843d0b07cf60b7fb748e2ac4890d6f1fd /lib/libc/db/test | |
parent | 5da7065f3d4fe05102865926b09192cffa03a251 (diff) | |
download | FreeBSD-src-3b73ce2319e249cf2795cf4b0d0c624134f01e77.zip FreeBSD-src-3b73ce2319e249cf2795cf4b0d0c624134f01e77.tar.gz |
Remove __P() usage.
Diffstat (limited to 'lib/libc/db/test')
-rw-r--r-- | lib/libc/db/test/btree.tests/main.c | 50 | ||||
-rw-r--r-- | lib/libc/db/test/dbtest.c | 30 |
2 files changed, 40 insertions, 40 deletions
diff --git a/lib/libc/db/test/btree.tests/main.c b/lib/libc/db/test/btree.tests/main.c index 5fd0b27..6308dcb 100644 --- a/lib/libc/db/test/btree.tests/main.c +++ b/lib/libc/db/test/btree.tests/main.c @@ -54,37 +54,37 @@ typedef struct cmd_table { char *cmd; int nargs; int rconv; - void (*func) __P((DB *, char **)); + void (*func)(DB *, char **); char *usage, *descrip; } cmd_table; int stopstop; DB *globaldb; -void append __P((DB *, char **)); -void bstat __P((DB *, char **)); -void cursor __P((DB *, char **)); -void delcur __P((DB *, char **)); -void delete __P((DB *, char **)); -void dump __P((DB *, char **)); -void first __P((DB *, char **)); -void get __P((DB *, char **)); -void help __P((DB *, char **)); -void iafter __P((DB *, char **)); -void ibefore __P((DB *, char **)); -void icursor __P((DB *, char **)); -void insert __P((DB *, char **)); -void keydata __P((DBT *, DBT *)); -void last __P((DB *, char **)); -void list __P((DB *, char **)); -void load __P((DB *, char **)); -void mstat __P((DB *, char **)); -void next __P((DB *, char **)); -int parse __P((char *, char **, int)); -void previous __P((DB *, char **)); -void show __P((DB *, char **)); -void usage __P((void)); -void user __P((DB *)); +void append(DB *, char **); +void bstat(DB *, char **); +void cursor(DB *, char **); +void delcur(DB *, char **); +void delete(DB *, char **); +void dump(DB *, char **); +void first(DB *, char **); +void get(DB *, char **); +void help(DB *, char **); +void iafter(DB *, char **); +void ibefore(DB *, char **); +void icursor(DB *, char **); +void insert(DB *, char **); +void keydata(DBT *, DBT *); +void last(DB *, char **); +void list(DB *, char **); +void load(DB *, char **); +void mstat(DB *, char **); +void next(DB *, char **); +int parse(char *, char **, int); +void previous(DB *, char **); +void show(DB *, char **); +void usage(void); +void user(DB *); cmd_table commands[] = { "?", 0, 0, help, "help", NULL, diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index 8627572..b403bc1 100644 --- a/lib/libc/db/test/dbtest.c +++ b/lib/libc/db/test/dbtest.c @@ -61,22 +61,22 @@ static const char rcsid[] = enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; -void compare __P((DBT *, DBT *)); -DBTYPE dbtype __P((char *)); -void dump __P((DB *, int)); +void compare(DBT *, DBT *); +DBTYPE dbtype(char *); +void dump(DB *, int); void err __P((const char *, ...)) __printflike(1, 2); -void get __P((DB *, DBT *)); -void getdata __P((DB *, DBT *, DBT *)); -void put __P((DB *, DBT *, DBT *)); -void rem __P((DB *, DBT *)); -char *sflags __P((int)); -void synk __P((DB *)); -void *rfile __P((char *, size_t *)); -void seq __P((DB *, DBT *)); -u_int setflags __P((char *)); -void *setinfo __P((DBTYPE, char *)); -void usage __P((void)); -void *xmalloc __P((char *, size_t)); +void get(DB *, DBT *); +void getdata(DB *, DBT *, DBT *); +void put(DB *, DBT *, DBT *); +void rem(DB *, DBT *); +char *sflags(int); +void synk(DB *); +void *rfile(char *, size_t *); +void seq(DB *, DBT *); +u_int setflags(char *); +void *setinfo(DBTYPE, char *); +void usage(void); +void *xmalloc(char *, size_t); DBTYPE type; /* Database type. */ void *infop; /* Iflags. */ |