summaryrefslogtreecommitdiff
path: root/src/string/swab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/swab.c')
-rw-r--r--src/string/swab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/swab.c b/src/string/swab.c
index b2132884..9ed6fcda 100644
--- a/src/string/swab.c
+++ b/src/string/swab.c
@@ -1,6 +1,6 @@
#include <unistd.h>
-void swab(const void *_src, void *_dest, ssize_t n)
+void swab(const void *restrict _src, void *restrict _dest, ssize_t n)
{
const char *src = _src;
char *dest = _dest;