about summary refs log tree commit diff
path: root/sysdeps/m88k
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m88k')
-rw-r--r--sysdeps/m88k/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/m88k/ffs.c b/sysdeps/m88k/ffs.c
index 3658f0882d..7aac897735 100644
--- a/sysdeps/m88k/ffs.c
+++ b/sysdeps/m88k/ffs.c
@@ -26,7 +26,7 @@
 #ifdef	__GNUC__
 
 int
-ffs (x)
+__ffs (x)
      int x;
 {
   int cnt;
@@ -37,6 +37,7 @@ ffs (x)
   asm ("ff1 %0,%1" : "=r" (cnt) : "r" (x & -x));
   return cnt + 1;
 }
+weak_alias (__ffs, ffs)
 
 #else
 #include <sysdeps/generic/ffs.c>