about summary refs log tree commit diff
path: root/sysdeps/generic/memcmp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-01 23:29:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-01 23:29:52 +0000
commit758b215383cde2389bc73d4483e6d3202bdc6520 (patch)
tree3f0d231798ee89beee63dec508652480f812f235 /sysdeps/generic/memcmp.c
parent47eb6e76dab25719319c5bdc2092cd3f23c87173 (diff)
downloadglibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.gz
glibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.xz
glibc-758b215383cde2389bc73d4483e6d3202bdc6520.zip
Update.
	* include/string.h: Add libc_hidden_builtin_proto for memcmp.
	* sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/i386/i686/memcmp.S: Likewise.
	* sysdeps/ia64/memcmp.S: Likewise.
	* sysdeps/sparc/sparc64/memcmp.S: Likewise.

	* sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
Diffstat (limited to 'sysdeps/generic/memcmp.c')
-rw-r--r--sysdeps/generic/memcmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/memcmp.c b/sysdeps/generic/memcmp.c
index 7135a2ccfe..212098a906 100644
--- a/sysdeps/generic/memcmp.c
+++ b/sysdeps/generic/memcmp.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1993,1995,1997,1998,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Torbjorn Granlund (tege@sics.se).
 
@@ -381,7 +382,7 @@ memcmp (s1, s2, len)
 
   return 0;
 }
-
+libc_hidden_builtin_def(memcmp)
 #ifdef weak_alias
 # undef bcmp
 weak_alias (memcmp, bcmp)