From 052e020be6be85be6238c44b8386a61f8db7b6a4 Mon Sep 17 00:00:00 2001 From: millert <> Date: Sat, 16 Feb 2002 21:27:50 +0000 Subject: 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. --- src/regress/lib/libc/regex/debug.ih | 8 ++++---- src/regress/lib/libc/regex/main.ih | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/regress/lib/libc/regex') 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 @@ -/* $OpenBSD: debug.ih,v 1.2 2001/01/29 02:05:44 niklas Exp $ */ +/* $OpenBSD: debug.ih,v 1.3 2002/02/16 21:27:32 millert Exp $ */ /* $NetBSD: debug.ih,v 1.2 1995/04/20 22:39:47 cgd Exp $ */ /* ========= begin header generated by ./mkh ========= */ @@ -7,9 +7,9 @@ extern "C" { #endif /* === debug.c === */ -void regprint __P((regex_t *r, FILE *d)); -static void s_print __P((register struct re_guts *g, FILE *d)); -static char *regchar __P((int ch)); +void regprint(regex_t *r, FILE *d); +static void s_print(register struct re_guts *g, FILE *d); +static char *regchar(int ch); #ifdef __cplusplus } 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 @@ -/* $OpenBSD: main.ih,v 1.2 2001/01/29 02:05:44 niklas Exp $ */ +/* $OpenBSD: main.ih,v 1.3 2002/02/16 21:27:32 millert Exp $ */ /* $NetBSD: main.ih,v 1.2 1995/04/20 22:39:55 cgd Exp $ */ /* ========= begin header generated by ./mkh ========= */ @@ -7,14 +7,14 @@ extern "C" { #endif /* === main.c === */ -void regress __P((FILE *in)); -void try __P((char *f0, char *f1, char *f2, char *f3, char *f4, int opts)); -int options __P((int type, char *s)); -int opt __P((int c, char *s)); -void fixstr __P((register char *p)); -char *check __P((char *str, regmatch_t sub, char *should)); -static char *eprint __P((int err)); -static int efind __P((char *name)); +void regress(FILE *in); +void try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts); +int options(int type, char *s); +int opt(int c, char *s); +void fixstr(register char *p); +char *check(char *str, regmatch_t sub, char *should); +static char *eprint(int err); +static int efind(char *name); #ifdef __cplusplus } -- cgit v1.2.3-55-g6feb