projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release notes for 0.9.7
[musl]
/
src
/
locale
/
strxfrm.c
diff --git
a/src/locale/strxfrm.c
b/src/locale/strxfrm.c
index
8f12339
..
d40be9e
100644
(file)
--- a/
src/locale/strxfrm.c
+++ b/
src/locale/strxfrm.c
@@
-1,7
+1,7
@@
#include <string.h>
/* collate only by code points */
#include <string.h>
/* collate only by code points */
-size_t strxfrm(char *
dest, const char *
src, size_t n)
+size_t strxfrm(char *
restrict dest, const char *restrict
src, size_t n)
{
size_t l = strlen(src);
if (n > l) strcpy(dest, src);
{
size_t l = strlen(src);
if (n > l) strcpy(dest, src);