diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-23 21:13:29 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-23 21:13:29 +0000 |
commit | 8548c5020c59d84a2d2cd9f6d7b02f69319ae4b5 (patch) | |
tree | b3758b21c822625ee5a2683ac84bf073e03d502c /lib/libc/nls/catopen.c | |
parent | ec252dd3c682b27243b1a26dc434b21eddadb366 (diff) |
ansify. ok deraadt@ millert@
Diffstat (limited to 'lib/libc/nls/catopen.c')
-rw-r--r-- | lib/libc/nls/catopen.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/nls/catopen.c b/lib/libc/nls/catopen.c index 53b1cec706b..bf316a26841 100644 --- a/lib/libc/nls/catopen.c +++ b/lib/libc/nls/catopen.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: catopen.c,v 1.10 2002/02/16 21:27:23 millert Exp $"; +static char rcsid[] = "$OpenBSD: catopen.c,v 1.11 2005/03/23 21:13:28 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #define _NLS_PRIVATE @@ -58,9 +58,7 @@ static nl_catd load_msgcat(const char *); /* ARGSUSED */ nl_catd -_catopen(name, oflag) - const char *name; - int oflag; +_catopen(const char *name, int oflag) { char tmppath[PATH_MAX]; char *nlspath; @@ -126,8 +124,7 @@ _catopen(name, oflag) } static nl_catd -load_msgcat(path) - const char *path; +load_msgcat(const char *path) { struct stat st; nl_catd catd; |