about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-17 04:19:13 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-17 04:19:13 +0000
commit976da8479cbeec1f7eec96cede417239d50276db (patch)
tree3786c42558f9d7ebfe647d3287eb21c51938a911
parent3de33da93f439dfdcb447e25e4f84ee733e04f77 (diff)
downloadglibc-976da8479cbeec1f7eec96cede417239d50276db.tar.gz
glibc-976da8479cbeec1f7eec96cede417239d50276db.tar.xz
glibc-976da8479cbeec1f7eec96cede417239d50276db.zip
Replace const in attribute list with __const__.
-rw-r--r--string/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/string/string.h b/string/string.h
index 65769e9f12..08ebdfc681 100644
--- a/string/string.h
+++ b/string/string.h
@@ -256,15 +256,15 @@ extern char *rindex (__const char *__s, int __c) __THROW __attribute_pure__;
 
 /* Return the position of the first bit set in I, or 0 if none are set.
    The least-significant bit is position 1, the most-significant 32.  */
-extern int ffs (int __i) __THROW __attribute__ ((const));
+extern int ffs (int __i) __THROW __attribute__ ((__const__));
 
 /* The following two functions are non-standard but necessary for non-32 bit
    platforms.  */
 # ifdef	__USE_GNU
-extern int ffsl (long int __l) __THROW __attribute__ ((const));
+extern int ffsl (long int __l) __THROW __attribute__ ((__const__));
 #  ifdef __GNUC__
 __extension__ extern int ffsll (long long int __ll)
-     __THROW __attribute__ ((const));
+     __THROW __attribute__ ((__const__));
 #  endif
 # endif