summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-19 18:51:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-20 00:28:25 +0100
commit2b33e316ac0d14b564ade0dd6fc3be136e945926 (patch)
treeb5c933f88f80c2563cedbf3e164606f785aabcfe /kern
parent2370957542f907f45395fdf5c8e18d76a4843f2a (diff)
kern/strings.c (strlen): mark with attribute pure
* kern/strings.c (strlen): Mark with attribute pure.
Diffstat (limited to 'kern')
-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)
{