aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2013-09-20 21:24:53 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2013-09-20 21:25:31 +0200
commit5bb43a43199e2bc3f729b858d26c47e91fd56621 (patch)
tree640fc759cbbeda5ab9d6d7fd8803d4a73c16c03a /sysdeps
parentc7ae84fa4cdf00b0b62c493c5f50e7c0a4d2267b (diff)
downloadglibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.zip
glibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.tar.gz
glibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.tar.bz2
Make __ffs hidden
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/ffs.c1
-rw-r--r--sysdeps/i386/i686/ffs.c1
-rw-r--r--sysdeps/powerpc/ffs.c1
-rw-r--r--sysdeps/s390/ffs.c1
-rw-r--r--sysdeps/x86_64/ffs.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/ffs.c b/sysdeps/i386/ffs.c
index 47496dc..77d2e60 100644
--- a/sysdeps/i386/ffs.c
+++ b/sysdeps/i386/ffs.c
@@ -41,6 +41,7 @@ __ffs (x)
return cnt;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)
diff --git a/sysdeps/i386/i686/ffs.c b/sysdeps/i386/i686/ffs.c
index 5c97050..cde1c99 100644
--- a/sysdeps/i386/i686/ffs.c
+++ b/sysdeps/i386/i686/ffs.c
@@ -39,6 +39,7 @@ __ffs (x)
return cnt + 1;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)
diff --git a/sysdeps/powerpc/ffs.c b/sysdeps/powerpc/ffs.c
index e0fee46..deba0cd 100644
--- a/sysdeps/powerpc/ffs.c
+++ b/sysdeps/powerpc/ffs.c
@@ -35,6 +35,7 @@ __ffs (int x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#if ULONG_MAX == UINT_MAX
#undef ffsl
diff --git a/sysdeps/s390/ffs.c b/sysdeps/s390/ffs.c
index 807441d..2dbb743 100644
--- a/sysdeps/s390/ffs.c
+++ b/sysdeps/s390/ffs.c
@@ -63,6 +63,7 @@ __ffs (x)
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#if ULONG_MAX == UINT_MAX
#undef ffsl
diff --git a/sysdeps/x86_64/ffs.c b/sysdeps/x86_64/ffs.c
index 27013d6..07ee7dd 100644
--- a/sysdeps/x86_64/ffs.c
+++ b/sysdeps/x86_64/ffs.c
@@ -35,4 +35,5 @@ __ffs (int x)
return cnt + 1;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)