summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authorderaadt <>2003-06-11 21:08:16 +0000
committerderaadt <>2003-06-11 21:08:16 +0000
commit05ebc6b11cf74e0e9e901f2e1c26d0d682c57842 (patch)
tree0ab503c1cf313bdf01aa32f8ffd0938a3d19c2a9 /src/lib/libc/string/strmode.c
parent9b3b34e9713b6e433e3bb19fc1808375d5c69917 (diff)
downloadopenbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.gz
openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.bz2
openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.zip
ansification; pval ok
Diffstat (limited to 'src/lib/libc/string/strmode.c')
-rw-r--r--src/lib/libc/string/strmode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/string/strmode.c b/src/lib/libc/string/strmode.c
index 0c2afb4d4c..bd78403cb2 100644
--- a/src/lib/libc/string/strmode.c
+++ b/src/lib/libc/string/strmode.c
@@ -28,17 +28,17 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char *rcsid = "$OpenBSD: strmode.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; 31static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <sys/types.h> 34#include <sys/types.h>
35#include <sys/stat.h> 35#include <sys/stat.h>
36#include <string.h> 36#include <string.h>
37 37
38/* XXX mode should be mode_t */
39
38void 40void
39strmode(mode, p) 41strmode(int mode, char *p)
40 register mode_t mode;
41 register char *p;
42{ 42{
43 /* print type */ 43 /* print type */
44 switch (mode & S_IFMT) { 44 switch (mode & S_IFMT) {