(alphasort, versionsort): Move __attribute_pure__ out of the __REDIRECT macro.
authordrepper <drepper>
Wed, 23 Aug 2000 18:03:00 +0000 (18:03 +0000)
committerdrepper <drepper>
Wed, 23 Aug 2000 18:03:00 +0000 (18:03 +0000)
dirent/dirent.h

index dcbeab6..2938530 100644 (file)
@@ -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