Use restrict on pointers where it makes sense. (requires C99 support,

which we already assume)
This commit is contained in:
Nils O. Selåsdal
2014-05-25 23:07:08 +02:00
parent a24aa93b73
commit 5bd23d751f
12 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include <string.h>
size_t uc_strlcpy(char *dst, const char *src, size_t max)
size_t uc_strlcpy(char *restrict dst, const char *restrict src, size_t max)
{
size_t len = strlen(src);