diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /lib/libedit/chared.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
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 'lib/libedit/chared.c')
-rw-r--r-- | lib/libedit/chared.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libedit/chared.c b/lib/libedit/chared.c index dd42d448e13..00d39e93b8f 100644 --- a/lib/libedit/chared.c +++ b/lib/libedit/chared.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chared.c,v 1.3 1997/03/14 05:12:41 millert Exp $ */ +/* $OpenBSD: chared.c,v 1.4 2002/02/16 21:27:26 millert Exp $ */ /* $NetBSD: chared.c,v 1.2 1997/01/11 06:47:48 lukem Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: chared.c,v 1.3 1997/03/14 05:12:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: chared.c,v 1.4 2002/02/16 21:27:26 millert Exp $"; #endif #endif /* not lint && not SCCSID */ @@ -177,7 +177,7 @@ protected char * c__prev_word(p, low, n, wtest) register char *p, *low; register int n; - int (*wtest) __P((int)); + int (*wtest)(int); { p--; @@ -204,7 +204,7 @@ protected char * c__next_word(p, high, n, wtest) register char *p, *high; register int n; - int (*wtest) __P((int)); + int (*wtest)(int); { while (n--) { while ((p < high) && !(*wtest)((unsigned char) *p)) @@ -226,7 +226,7 @@ cv_next_word(el, p, high, n, wtest) EditLine *el; register char *p, *high; register int n; - int (*wtest) __P((int)); + int (*wtest)(int); { int test; @@ -259,7 +259,7 @@ cv_prev_word(el, p, low, n, wtest) EditLine *el; register char *p, *low; register int n; - int (*wtest) __P((int)); + int (*wtest)(int); { int test; |