diff options
author | danger <danger@FreeBSD.org> | 2009-02-03 17:58:20 +0000 |
---|---|---|
committer | danger <danger@FreeBSD.org> | 2009-02-03 17:58:20 +0000 |
commit | ff17de3853153fe69601eac8e59ac2cddc50408a (patch) | |
tree | c5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/strmode.c | |
parent | 074cfd048fafbe7275277f106bc188e6e78a8641 (diff) | |
download | FreeBSD-src-ff17de3853153fe69601eac8e59ac2cddc50408a.zip FreeBSD-src-ff17de3853153fe69601eac8e59ac2cddc50408a.tar.gz |
- ANSIfy function definitions
- use nul when we are looking for a terminating character where appropriate
Approved by: imp
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r-- | lib/libc/string/strmode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index be09d7a..855e1b5 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -38,9 +38,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> void -strmode(mode, p) - mode_t mode; - char *p; +strmode(mode_t mode, char *p) { /* print type */ switch (mode & S_IFMT) { |