diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/i386/string/strchr.S | 5 | ||||
-rw-r--r-- | lib/libc/arch/i386/string/strrchr.S | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/arch/i386/string/strchr.S b/lib/libc/arch/i386/string/strchr.S index 453cdd6c281..6d36a589d19 100644 --- a/lib/libc/arch/i386/string/strchr.S +++ b/lib/libc/arch/i386/string/strchr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: strchr.S,v 1.4 2014/11/30 19:43:56 deraadt Exp $ */ +/* $OpenBSD: strchr.S,v 1.5 2015/05/14 21:40:37 kettenis Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. @@ -6,7 +6,8 @@ #include <machine/asm.h> -ALTENTRY(index) +STRONG_ALIAS(index, strchr) + ENTRY(strchr) movl 4(%esp),%eax movb 8(%esp),%cl diff --git a/lib/libc/arch/i386/string/strrchr.S b/lib/libc/arch/i386/string/strrchr.S index ac6808fe797..8507e6ce43c 100644 --- a/lib/libc/arch/i386/string/strrchr.S +++ b/lib/libc/arch/i386/string/strrchr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: strrchr.S,v 1.4 2014/11/30 19:43:56 deraadt Exp $ */ +/* $OpenBSD: strrchr.S,v 1.5 2015/05/14 21:40:37 kettenis Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. @@ -6,7 +6,8 @@ #include <machine/asm.h> -ALTENTRY(rindex) +STRONG_ALIAS(rindex, strrchr) + ENTRY(strrchr) pushl %ebx movl 8(%esp),%edx |