diff options
author | delphij <delphij@FreeBSD.org> | 2007-06-11 03:05:54 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-06-11 03:05:54 +0000 |
commit | f848dcc6bb7ba3884539039e80a8a4f70eb3f23d (patch) | |
tree | 5849b25e51eef9dee63d6cd51bae20607313a4be /lib/libc/regex/regerror.c | |
parent | f41f6d7b7eb3329718a2f35c858f6a358db8e242 (diff) | |
download | FreeBSD-src-f848dcc6bb7ba3884539039e80a8a4f70eb3f23d.zip FreeBSD-src-f848dcc6bb7ba3884539039e80a8a4f70eb3f23d.tar.gz |
Diff reduction against other *BSDs: ANSIfy function
prototypes. No function changes.
Diffstat (limited to 'lib/libc/regex/regerror.c')
-rw-r--r-- | lib/libc/regex/regerror.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libc/regex/regerror.c b/lib/libc/regex/regerror.c index 4847b0e..b9b773c 100644 --- a/lib/libc/regex/regerror.c +++ b/lib/libc/regex/regerror.c @@ -112,11 +112,10 @@ static struct rerr { */ /* ARGSUSED */ size_t -regerror(errcode, preg, errbuf, errbuf_size) -int errcode; -const regex_t * __restrict preg; -char * __restrict errbuf; -size_t errbuf_size; +regerror(int errcode, + const regex_t * __restrict preg, + char * __restrict errbuf, + size_t errbuf_size) { struct rerr *r; size_t len; @@ -160,9 +159,7 @@ size_t errbuf_size; == static char *regatoi(const regex_t *preg, char *localbuf); */ static char * -regatoi(preg, localbuf) -const regex_t *preg; -char *localbuf; +regatoi(const regex_t *preg, char *localbuf) { struct rerr *r; |