about summary refs log tree commit diff
path: root/sysdeps/i960
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i960')
-rw-r--r--sysdeps/i960/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/i960/ffs.c b/sysdeps/i960/ffs.c
index 7846c4b1db..dc09ba90e8 100644
--- a/sysdeps/i960/ffs.c
+++ b/sysdeps/i960/ffs.c
@@ -27,7 +27,7 @@
 #if	defined (__GNUC__) && defined (__i960__)
 
 int
-ffs (x)
+__ffs (x)
      int x;
 {
   int cnt;
@@ -36,6 +36,7 @@ ffs (x)
 
   return cnt;
 }
+weak_alias (__ffs, ffs)
 
 #else