From fa7406b7f9b16d647bc949c800e4d706bf10d748 Mon Sep 17 00:00:00 2001 From: stefanf Date: Mon, 12 Sep 2005 16:02:54 +0000 Subject: Use prototypes for CHIN1() and CHIN(). --- lib/libc/regex/regex2.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/libc/regex/regex2.h b/lib/libc/regex/regex2.h index 1df7067..3016915 100644 --- a/lib/libc/regex/regex2.h +++ b/lib/libc/regex/regex2.h @@ -127,9 +127,7 @@ typedef struct { } cset; static int -CHIN1(cs, ch) -cset *cs; -wint_t ch; +CHIN1(cset *cs, wint_t ch) { int i; @@ -150,9 +148,7 @@ wint_t ch; } static __inline int -CHIN(cs, ch) -cset *cs; -wint_t ch; +CHIN(cset *cs, wint_t ch) { assert(ch >= 0); -- cgit v1.1