diff options
author | robert <robert@FreeBSD.org> | 2002-08-14 21:01:04 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-14 21:01:04 +0000 |
commit | c892b9928158be63c8856eff5a33bbf7bba79c49 (patch) | |
tree | e1369246118f3bf6fccf05ddfa05b502e0c9ff62 /lib/libc/string/strxfrm.c | |
parent | af770662f5873b76efc3233fab18400da9bded1d (diff) | |
download | FreeBSD-src-c892b9928158be63c8856eff5a33bbf7bba79c49.zip FreeBSD-src-c892b9928158be63c8856eff5a33bbf7bba79c49.tar.gz |
- Add the 'restrict' qualifier required by IEEE Std 1003.1-2001
to the function definition of strxfrm(3) in form of our
'__restrict' macro.
- Use an ANSI-C function definition for strxfrm(3).
- Change the manual page accordingly.
Diffstat (limited to 'lib/libc/string/strxfrm.c')
-rw-r--r-- | lib/libc/string/strxfrm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/string/strxfrm.c b/lib/libc/string/strxfrm.c index d19bdff..3e57a3c 100644 --- a/lib/libc/string/strxfrm.c +++ b/lib/libc/string/strxfrm.c @@ -33,10 +33,7 @@ __FBSDID("$FreeBSD$"); #include "collate.h" size_t -strxfrm(dest, src, len) - char *dest; - const char *src; - size_t len; +strxfrm(char *__restrict dest, const char *__restrict src, size_t len) { int prim, sec, l; size_t slen; |