about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-23 18:03:00 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-23 18:03:00 +0000
commit2c1394a86dbbec748fa39cabe93575cb277d4c2f (patch)
tree2be337c44440f67cb9678b069424c98558e34dee
parentdf9650f1b03ac6135f52457a6b1dfe2ad8aebc07 (diff)
downloadglibc-2c1394a86dbbec748fa39cabe93575cb277d4c2f.tar.gz
glibc-2c1394a86dbbec748fa39cabe93575cb277d4c2f.tar.xz
glibc-2c1394a86dbbec748fa39cabe93575cb277d4c2f.zip
(alphasort, versionsort): Move __attribute_pure__ out of the __REDIRECT macro.
-rw-r--r--dirent/dirent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h
index dcbeab6946..2938530c2b 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -258,8 +258,8 @@ extern int alphasort (__const void *__e1, __const void *__e2)
 #  ifdef __REDIRECT
 extern int __REDIRECT (alphasort,
 		       (__const void *__e1, __const void *__e2)
-		       __THROW __attribute_pure__,
-		       alphasort64);
+		       __THROW,
+		       alphasort64) __attribute_pure__;
 #  else
 #   define alphasort alphasort64
 #  endif
@@ -279,8 +279,8 @@ extern int versionsort (__const void *__e1, __const void *__e2)
 #   ifdef __REDIRECT
 extern int __REDIRECT (versionsort,
 		       (__const void *__e1, __const void *__e2)
-		       __THROW __attribute_pure__,
-		       versionsort64);
+		       __THROW,
+		       versionsort64) __attribute_pure__;
 #   else
 #    define versionsort versionsort64
 #   endif