about summary refs log tree commit diff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 4bffb06a39..d0ca3f2ffb 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -18,6 +18,8 @@ extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
      internal_function;
 extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
      internal_function;
-extern int __alphasort64 (const void *a, const void *b);
-extern int __versionsort64 (const void *a, const void *b);
+extern int __alphasort64 (const void *a, const void *b)
+     __attribute_pure__;
+extern int __versionsort64 (const void *a, const void *b)
+     __attribute_pure__;
 #endif