diff options
| author | Warner Losh <imp@FreeBSD.org> | 2009-02-03 20:25:36 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2009-02-03 20:25:36 +0000 |
| commit | ea58272861af2404aa2c849729dcc55379bc0924 (patch) | |
| tree | f2cddc02e1da83f8c3218c2edfcf3842b5045c78 /lib/libc | |
| parent | 41ba7e9b13c4c50e6110d72e5a9eb9b91fe981fd (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/string/memchr.c | 2 | ||||
| -rw-r--r-- | lib/libc/string/strmode.c | 2 | ||||
| -rw-r--r-- | lib/libc/string/wmemset.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/memchr.c b/lib/libc/string/memchr.c index 47d37db16be9..6d7c2fd94e72 100644 --- a/lib/libc/string/memchr.c +++ b/lib/libc/string/memchr.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> void * -memchr(const void *s, unsigned char c, size_t n) +memchr(const void *s, int c, size_t n) { if (n != 0) { const unsigned char *p = s; diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index 855e1b5acde2..57295d7c5b41 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> void -strmode(mode_t mode, char *p) +strmode(/* mode_t */ int mode, char *p) { /* print type */ switch (mode & S_IFMT) { diff --git a/lib/libc/string/wmemset.c b/lib/libc/string/wmemset.c index 362bdf230374..0e96356ec007 100644 --- a/lib/libc/string/wmemset.c +++ b/lib/libc/string/wmemset.c @@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$"); #include <wchar.h> wchar_t * -wmemset(wchar_t *s, wchar_t *c, size_t n) +wmemset(wchar_t *s, wchar_t c, size_t n) { size_t i; wchar_t *p; |
