diff options
author | phantom <phantom@FreeBSD.org> | 2005-02-27 14:54:23 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2005-02-27 14:54:23 +0000 |
commit | 31651f25d817b24f6d2b1ef090ac6120d90ed86a (patch) | |
tree | 83a270a0a72ed8941e4c92387b1b37a4965eeddc /lib/libc/locale/collate.c | |
parent | 7c1e0a15c75cb7e26dbd3de5bd72484334f59f28 (diff) | |
download | FreeBSD-src-31651f25d817b24f6d2b1ef090ac6120d90ed86a.zip FreeBSD-src-31651f25d817b24f6d2b1ef090ac6120d90ed86a.tar.gz |
ANSI'fy prototypes
Diffstat (limited to 'lib/libc/locale/collate.c')
-rw-r--r-- | lib/libc/locale/collate.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/locale/collate.c b/lib/libc/locale/collate.c index 90c78ef..82fe8bf 100644 --- a/lib/libc/locale/collate.c +++ b/lib/libc/locale/collate.c @@ -190,8 +190,7 @@ __collate_load_tables(const char *encoding) } u_char * -__collate_substitute(s) - const u_char *s; +__collate_substitute(const u_char *s) { int dest_len, len, nlen; int delta = strlen(s); @@ -218,9 +217,7 @@ __collate_substitute(s) } void -__collate_lookup(t, len, prim, sec) - const u_char *t; - int *len, *prim, *sec; +__collate_lookup(const u_char *t, int *len, int *prim, int *sec) { struct __collate_st_chain_pri *p2; @@ -240,8 +237,7 @@ __collate_lookup(t, len, prim, sec) } u_char * -__collate_strdup(s) - u_char *s; +__collate_strdup(u_char *s) { u_char *t = strdup(s); |