about summary refs log tree commit diff
path: root/sysdeps/i386/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/ffs.c')
-rw-r--r--sysdeps/i386/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/i386/ffs.c b/sysdeps/i386/ffs.c
index 411439d0cd..4f46dc7256 100644
--- a/sysdeps/i386/ffs.c
+++ b/sysdeps/i386/ffs.c
@@ -26,7 +26,7 @@
 #ifdef	__GNUC__
 
 int
-ffs (x)
+__ffs (x)
      int x;
 {
   int cnt;
@@ -40,6 +40,7 @@ ffs (x)
 
   return cnt;
 }
+weak_alias (__ffs, ffs)
 
 #else
 #include <sysdeps/generic/ffs.c>