diff options
author | 2003-06-11 21:08:16 +0000 | |
---|---|---|
committer | 2003-06-11 21:08:16 +0000 | |
commit | 86b54bb2dc6aec91522eca6d443b842bd4bd9342 (patch) | |
tree | 0e00cbd0851694ae7a727106329ae79a5c5bec59 /lib/libc/string/strmode.c | |
parent | oops (diff) | |
download | wireguard-openbsd-86b54bb2dc6aec91522eca6d443b842bd4bd9342.tar.xz wireguard-openbsd-86b54bb2dc6aec91522eca6d443b842bd4bd9342.zip |
ansification; pval ok
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r-- | lib/libc/string/strmode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index 0c2afb4d4cd..bd78403cb21 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -28,17 +28,17 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strmode.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; +static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> #include <sys/stat.h> #include <string.h> +/* XXX mode should be mode_t */ + void -strmode(mode, p) - register mode_t mode; - register char *p; +strmode(int mode, char *p) { /* print type */ switch (mode & S_IFMT) { |