summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strxfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strxfrm.c')
-rw-r--r--src/lib/libc/string/strxfrm.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libc/string/strxfrm.c b/src/lib/libc/string/strxfrm.c
index 9217ae069c..b7c8d4822d 100644
--- a/src/lib/libc/string/strxfrm.c
+++ b/src/lib/libc/string/strxfrm.c
@@ -31,7 +31,7 @@
31 */ 31 */
32 32
33#if defined(LIBC_SCCS) && !defined(lint) 33#if defined(LIBC_SCCS) && !defined(lint)
34static char *rcsid = "$OpenBSD: strxfrm.c,v 1.3 2003/06/02 20:18:38 millert Exp $"; 34static char *rcsid = "$OpenBSD: strxfrm.c,v 1.4 2003/06/11 21:08:16 deraadt Exp $";
35#endif /* LIBC_SCCS and not lint */ 35#endif /* LIBC_SCCS and not lint */
36 36
37#include <string.h> 37#include <string.h>
@@ -42,13 +42,10 @@ static char *rcsid = "$OpenBSD: strxfrm.c,v 1.3 2003/06/02 20:18:38 millert Exp
42 * on the original untransformed strings would return. 42 * on the original untransformed strings would return.
43 */ 43 */
44size_t 44size_t
45strxfrm(dst, src, n) 45strxfrm(char *dst, const char *src, size_t n)
46 register char *dst;
47 register const char *src;
48 register size_t n;
49{ 46{
50 register size_t r = 0; 47 size_t r = 0;
51 register int c; 48 int c;
52 49
53 /* 50 /*
54 * Since locales are unimplemented, this is just a copy. 51 * Since locales are unimplemented, this is just a copy.