diff options
author | millert <> | 2002-02-16 21:27:50 +0000 |
---|---|---|
committer | millert <> | 2002-02-16 21:27:50 +0000 |
commit | 052e020be6be85be6238c44b8386a61f8db7b6a4 (patch) | |
tree | 4cf8f905bd37027527533678516a258fa89e2696 /src/regress/lib/libc/regex | |
parent | ee0af55ed65515812050f3b9a8d431c941b73eb8 (diff) | |
download | openbsd-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/regex')
-rw-r--r-- | src/regress/lib/libc/regex/debug.ih | 8 | ||||
-rw-r--r-- | src/regress/lib/libc/regex/main.ih | 18 |
2 files changed, 13 insertions, 13 deletions
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 | } |