summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-12 16:02:54 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-12 16:02:54 +0000
commitfa7406b7f9b16d647bc949c800e4d706bf10d748 (patch)
tree1efc7db842864c3f23eb398aa3df09426d47564f /lib
parent174f336d2e9542633229e80e94ef6b91e6f1e546 (diff)
downloadFreeBSD-src-fa7406b7f9b16d647bc949c800e4d706bf10d748.zip
FreeBSD-src-fa7406b7f9b16d647bc949c800e4d706bf10d748.tar.gz
Use prototypes for CHIN1() and CHIN().
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/regex/regex2.h8
1 files changed, 2 insertions, 6 deletions
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);
OpenPOWER on IntegriCloud