summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/strings.c b/kern/strings.c
index 0752722..72eb4f3 100644
--- a/kern/strings.c
+++ b/kern/strings.c
@@ -161,7 +161,7 @@ strncpy(
* the terminating null character.
*/
-size_t
+size_t __attribute__ ((pure))
strlen(
const char *string)
{