From fb4dfa0c81812d64197d65f8c0c7e57467e09280 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 23 Aug 2000 07:23:46 +0000 Subject: Add some pure attributes. --- include/dirent.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/dirent.h') 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 -- cgit v1.2.1