aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/m68k/ffs.c b/sysdeps/m68k/ffs.c
index 26044b12ec..d30bd9d6ff 100644
--- a/sysdeps/m68k/ffs.c
+++ b/sysdeps/m68k/ffs.c
@@ -26,7 +26,7 @@
#if defined (__GNUC__) && defined (__mc68020__)
int
-ffs (x)
+__ffs (x)
int x;
{
int cnt;
@@ -35,6 +35,7 @@ ffs (x)
return 32 - cnt;
}
+weak_alias (__ffs, ffs)
#else