summaryrefslogtreecommitdiff
path: root/src/safe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/safe.c')
-rw-r--r--src/safe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/safe.c b/src/safe.c
index d2ff0d2..5a7202f 100644
--- a/src/safe.c
+++ b/src/safe.c
@@ -243,6 +243,7 @@ out:
return entry;
}
+_GL_ATTRIBUTE_PURE
static unsigned int count_path_components (const char *path)
{
unsigned int components;