summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-23 07:23:46 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-23 07:23:46 +0000
commitfb4dfa0c81812d64197d65f8c0c7e57467e09280 (patch)
tree2443677e21835887f61363ea823668e955b2a5a4 /include/dirent.h
parentd6585e0b91f3348822add766da656eeec0302be0 (diff)
downloadglibc-fb4dfa0c81812d64197d65f8c0c7e57467e09280.tar.gz
Add some pure attributes.
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