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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/i386/ffs.c b/sysdeps/i386/ffs.c
index 4f46dc7256..97e9c4040b 100644
--- a/sysdeps/i386/ffs.c
+++ b/sysdeps/i386/ffs.c
@@ -1,7 +1,7 @@
 /* ffs -- find first set bit in a word, counted from least significant end.
    For Intel 80x86, x>=3.
    This file is part of the GNU C Library.
-   Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991, 92, 93, 94, 97, 98 Free Software Foundation, Inc.
    Contributed by Torbjorn Granlund (tege@sics.se).
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#define ffsl __something_else
 #include <string.h>
 
 #undef	ffs
@@ -41,6 +42,8 @@ __ffs (x)
   return cnt;
 }
 weak_alias (__ffs, ffs)
+#undef ffsl
+weak_alias (__ffs, ffsl)
 
 #else
 #include <sysdeps/generic/ffs.c>