From 2b33e316ac0d14b564ade0dd6fc3be136e945926 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 19 Dec 2013 18:51:05 +0100 Subject: kern/strings.c (strlen): mark with attribute pure * kern/strings.c (strlen): Mark with attribute pure. --- kern/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3