about summary refs log tree commit diff
path: root/sysdeps/generic/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/ffs.c')
-rw-r--r--sysdeps/generic/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/ffs.c b/sysdeps/generic/ffs.c
index 8e1c699f51..35cf218c4b 100644
--- a/sysdeps/generic/ffs.c
+++ b/sysdeps/generic/ffs.c
@@ -24,7 +24,7 @@
 
 /* Find the first bit set in I.  */
 int
-ffs (i)
+__ffs (i)
      int i;
 {
   static const unsigned char table[] =
@@ -45,3 +45,4 @@ ffs (i)
 
   return table[x >> a] + a;
 }
+weak_alias (__ffs, ffs)