about summary refs log tree commit diff
path: root/sysdeps/generic/ffs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-05 17:36:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-05 17:36:34 +0000
commit2dd18ce2b2dfecc737479548f5b6d1784d90fe79 (patch)
tree58de42856e6e475536f8c8304168478ebeab0b62 /sysdeps/generic/ffs.c
parent9b9ef823581ecee546653d6ac3fd335f7b79faca (diff)
downloadglibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.tar.gz
glibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.tar.xz
glibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.zip
Update.
	* include/string.h (ffs): Add libc_hidden_builtin_proto.
	* sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
	* sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
	* sysdeps/alpha/ffs.S (ffs): Likewise.
	* sysdeps/s390/ffs.c (ffs): Likewise.
	* sysdeps/powerpc/ffs.c (ffs): Likewise.
	* sysdeps/i386/ffs.c (ffs): Likewise.
	* sysdeps/i386/i686/ffs.c (ffs): Likewise.
	* sysdeps/m68k/ffs.c (ffs): Likewise.
	* sysdeps/generic/ffs.c (ffs): Likewise.
	* sysdeps/m88k/ffs.c (ffs): Likewise.
	* sysdeps/am29k/ffs.c (ffs): Likewise.
	* sysdeps/i960/ffs.c (ffs): Likewise.
	* sysdeps/x86_64/ffs.c (ffs): Likewise.

	* Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
Diffstat (limited to 'sysdeps/generic/ffs.c')
-rw-r--r--sysdeps/generic/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/ffs.c b/sysdeps/generic/ffs.c
index b7ed839b90..06a1542bd9 100644
--- a/sysdeps/generic/ffs.c
+++ b/sysdeps/generic/ffs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1997, 1998, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Torbjorn Granlund (tege@sics.se).
 
@@ -47,6 +47,7 @@ __ffs (i)
   return table[x >> a] + a;
 }
 weak_alias (__ffs, ffs)
+libc_hidden_builtin_def (ffs)
 
 #if ULONG_MAX == UINT_MAX
 #undef ffsl