diff options
Diffstat (limited to 'src/regress')
-rw-r--r-- | src/regress/lib/libc/db/dbtest.c | 36 | ||||
-rw-r--r-- | src/regress/lib/libc/regex/debug.ih | 8 | ||||
-rw-r--r-- | src/regress/lib/libc/regex/main.ih | 18 |
3 files changed, 31 insertions, 31 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 |
45 | static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94"; | 45 | static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94"; |
46 | #else | 46 | #else |
47 | static char rcsid[] = "$OpenBSD: dbtest.c,v 1.6 2001/01/29 02:05:40 niklas Exp $"; | 47 | static 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 | ||
65 | enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; | 65 | enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; |
66 | 66 | ||
67 | void compare __P((DBT *, DBT *)); | 67 | void compare(DBT *, DBT *); |
68 | DBTYPE dbtype __P((char *)); | 68 | DBTYPE dbtype(char *); |
69 | void dump __P((DB *, int)); | 69 | void dump(DB *, int); |
70 | void err __P((const char *, ...)); | 70 | void err(const char *, ...); |
71 | void get __P((DB *, DBT *)); | 71 | void get(DB *, DBT *); |
72 | void getdata __P((DB *, DBT *, DBT *)); | 72 | void getdata(DB *, DBT *, DBT *); |
73 | void put __P((DB *, DBT *, DBT *)); | 73 | void put(DB *, DBT *, DBT *); |
74 | void rem __P((DB *, DBT *)); | 74 | void rem(DB *, DBT *); |
75 | char *sflags __P((int)); | 75 | char *sflags(int); |
76 | void synk __P((DB *)); | 76 | void synk(DB *); |
77 | void *rfile __P((char *, size_t *)); | 77 | void *rfile(char *, size_t *); |
78 | void seq __P((DB *, DBT *)); | 78 | void seq(DB *, DBT *); |
79 | u_int setflags __P((char *)); | 79 | u_int setflags(char *); |
80 | void *setinfo __P((DBTYPE, char *)); | 80 | void *setinfo(DBTYPE, char *); |
81 | void usage __P((void)); | 81 | void usage(void); |
82 | void *xmalloc __P((char *, size_t)); | 82 | void *xmalloc(char *, size_t); |
83 | 83 | ||
84 | DBTYPE type; /* Database type. */ | 84 | DBTYPE type; /* Database type. */ |
85 | void *infop; /* Iflags. */ | 85 | void *infop; /* Iflags. */ |
diff --git a/src/regress/lib/libc/regex/debug.ih b/src/regress/lib/libc/regex/debug.ih index 2aa0449038..9eb313af23 100644 --- a/src/regress/lib/libc/regex/debug.ih +++ b/src/regress/lib/libc/regex/debug.ih | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: debug.ih,v 1.2 2001/01/29 02:05:44 niklas Exp $ */ | 1 | /* $OpenBSD: debug.ih,v 1.3 2002/02/16 21:27:32 millert Exp $ */ |
2 | /* $NetBSD: debug.ih,v 1.2 1995/04/20 22:39:47 cgd Exp $ */ | 2 | /* $NetBSD: debug.ih,v 1.2 1995/04/20 22:39:47 cgd Exp $ */ |
3 | 3 | ||
4 | /* ========= begin header generated by ./mkh ========= */ | 4 | /* ========= begin header generated by ./mkh ========= */ |
@@ -7,9 +7,9 @@ extern "C" { | |||
7 | #endif | 7 | #endif |
8 | 8 | ||
9 | /* === debug.c === */ | 9 | /* === debug.c === */ |
10 | void regprint __P((regex_t *r, FILE *d)); | 10 | void regprint(regex_t *r, FILE *d); |
11 | static void s_print __P((register struct re_guts *g, FILE *d)); | 11 | static void s_print(register struct re_guts *g, FILE *d); |
12 | static char *regchar __P((int ch)); | 12 | static char *regchar(int ch); |
13 | 13 | ||
14 | #ifdef __cplusplus | 14 | #ifdef __cplusplus |
15 | } | 15 | } |
diff --git a/src/regress/lib/libc/regex/main.ih b/src/regress/lib/libc/regex/main.ih index 9e3246889e..0860e26333 100644 --- a/src/regress/lib/libc/regex/main.ih +++ b/src/regress/lib/libc/regex/main.ih | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: main.ih,v 1.2 2001/01/29 02:05:44 niklas Exp $ */ | 1 | /* $OpenBSD: main.ih,v 1.3 2002/02/16 21:27:32 millert Exp $ */ |
2 | /* $NetBSD: main.ih,v 1.2 1995/04/20 22:39:55 cgd Exp $ */ | 2 | /* $NetBSD: main.ih,v 1.2 1995/04/20 22:39:55 cgd Exp $ */ |
3 | 3 | ||
4 | /* ========= begin header generated by ./mkh ========= */ | 4 | /* ========= begin header generated by ./mkh ========= */ |
@@ -7,14 +7,14 @@ extern "C" { | |||
7 | #endif | 7 | #endif |
8 | 8 | ||
9 | /* === main.c === */ | 9 | /* === main.c === */ |
10 | void regress __P((FILE *in)); | 10 | void regress(FILE *in); |
11 | void try __P((char *f0, char *f1, char *f2, char *f3, char *f4, int opts)); | 11 | void try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts); |
12 | int options __P((int type, char *s)); | 12 | int options(int type, char *s); |
13 | int opt __P((int c, char *s)); | 13 | int opt(int c, char *s); |
14 | void fixstr __P((register char *p)); | 14 | void fixstr(register char *p); |
15 | char *check __P((char *str, regmatch_t sub, char *should)); | 15 | char *check(char *str, regmatch_t sub, char *should); |
16 | static char *eprint __P((int err)); | 16 | static char *eprint(int err); |
17 | static int efind __P((char *name)); | 17 | static int efind(char *name); |
18 | 18 | ||
19 | #ifdef __cplusplus | 19 | #ifdef __cplusplus |
20 | } | 20 | } |