aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strlen.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-01 21:34:07 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-01 21:34:07 +0200
commit7b7352be6ed17876cc957e7a57e2348231aa856e (patch)
tree285e8842e630c5f5dfa70099538ab1b25ce95e23 /src/string/strlen.c
parentm (diff)
downloadslibc-7b7352be6ed17876cc957e7a57e2348231aa856e.tar.gz
slibc-7b7352be6ed17876cc957e7a57e2348231aa856e.tar.bz2
slibc-7b7352be6ed17876cc957e7a57e2348231aa856e.tar.xz
fix more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/string/strlen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/string/strlen.c b/src/string/strlen.c
index 7a08fa0..a7aece5 100644
--- a/src/string/strlen.c
+++ b/src/string/strlen.c
@@ -18,6 +18,9 @@
#include <string.h>
+# pragma GCC diagnostic ignored "-Wdiscarded-qualifiers"
+
+
/**
* Returns the number of bytes in a NUL-terminated