summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/db/dbtest.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/regress/lib/libc/db/dbtest.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/regress/lib/libc/db/dbtest.c')
-rw-r--r--src/regress/lib/libc/db/dbtest.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/regress/lib/libc/db/dbtest.c b/src/regress/lib/libc/db/dbtest.c
index 63e80524ec..9f4da58800 100644
--- a/src/regress/lib/libc/db/dbtest.c
+++ b/src/regress/lib/libc/db/dbtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dbtest.c,v 1.6 2001/01/29 02:05:40 niklas Exp $ */ 1/* $OpenBSD: dbtest.c,v 1.7 2002/02/16 21:27:32 millert Exp $ */
2/* $NetBSD: dbtest.c,v 1.8 1996/05/03 21:57:48 cgd Exp $ */ 2/* $NetBSD: dbtest.c,v 1.8 1996/05/03 21:57:48 cgd Exp $ */
3 3
4/*- 4/*-
@@ -44,7 +44,7 @@ static char copyright[] =
44#if 0 44#if 0
45static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94"; 45static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94";
46#else 46#else
47static char rcsid[] = "$OpenBSD: dbtest.c,v 1.6 2001/01/29 02:05:40 niklas Exp $"; 47static char rcsid[] = "$OpenBSD: dbtest.c,v 1.7 2002/02/16 21:27:32 millert Exp $";
48#endif 48#endif
49#endif /* not lint */ 49#endif /* not lint */
50 50
@@ -64,22 +64,22 @@ static char rcsid[] = "$OpenBSD: dbtest.c,v 1.6 2001/01/29 02:05:40 niklas Exp $
64 64
65enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; 65enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA };
66 66
67void compare __P((DBT *, DBT *)); 67void compare(DBT *, DBT *);
68DBTYPE dbtype __P((char *)); 68DBTYPE dbtype(char *);
69void dump __P((DB *, int)); 69void dump(DB *, int);
70void err __P((const char *, ...)); 70void err(const char *, ...);
71void get __P((DB *, DBT *)); 71void get(DB *, DBT *);
72void getdata __P((DB *, DBT *, DBT *)); 72void getdata(DB *, DBT *, DBT *);
73void put __P((DB *, DBT *, DBT *)); 73void put(DB *, DBT *, DBT *);
74void rem __P((DB *, DBT *)); 74void rem(DB *, DBT *);
75char *sflags __P((int)); 75char *sflags(int);
76void synk __P((DB *)); 76void synk(DB *);
77void *rfile __P((char *, size_t *)); 77void *rfile(char *, size_t *);
78void seq __P((DB *, DBT *)); 78void seq(DB *, DBT *);
79u_int setflags __P((char *)); 79u_int setflags(char *);
80void *setinfo __P((DBTYPE, char *)); 80void *setinfo(DBTYPE, char *);
81void usage __P((void)); 81void usage(void);
82void *xmalloc __P((char *, size_t)); 82void *xmalloc(char *, size_t);
83 83
84DBTYPE type; /* Database type. */ 84DBTYPE type; /* Database type. */
85void *infop; /* Iflags. */ 85void *infop; /* Iflags. */