X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstring%2Fstpncpy.c;h=0a2c2a9d716e1a9f0591d56e6e35a7c0a0fbe0ef;hb=a8799356d560d3b02a19a4bda4a638a4a9a80856;hp=a04cdce8f9214acf293352f2f61267567a700c1a;hpb=cb8dff2149c393c94c2abbef186c564829b97e93;p=musl diff --git a/src/string/stpncpy.c b/src/string/stpncpy.c index a04cdce8..0a2c2a9d 100644 --- a/src/string/stpncpy.c +++ b/src/string/stpncpy.c @@ -9,7 +9,7 @@ #define HIGHS (ONES * (UCHAR_MAX/2+1)) #define HASZERO(x) ((x)-ONES & ~(x) & HIGHS) -char *__stpncpy(char *d, const char *s, size_t n) +char *__stpncpy(char *restrict d, const char *restrict s, size_t n) { size_t *wd; const size_t *ws;