summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-03-25 21:43:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-03-25 21:43:38 +0000
commit064572bd789ba90291bda4bc74bb9d8c6ff86c56 (patch)
tree79e5a294d2df5e28eaa9611960ad7654048cf221 /lib
parent37e6f3927a2ffb5031f4870d3abd6bcf92fcf2a6 (diff)
Fix APIWARNs.
ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/i386/string/strcat.S6
-rw-r--r--lib/libc/arch/i386/string/strcpy.S6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/arch/i386/string/strcat.S b/lib/libc/arch/i386/string/strcat.S
index 2d002d3d0ea..b70fceeb28a 100644
--- a/lib/libc/arch/i386/string/strcat.S
+++ b/lib/libc/arch/i386/string/strcat.S
@@ -7,14 +7,14 @@
#if defined(APIWARN)
#APP
- .stabs "warning: strcat() is almost always misused, consider using strlcat()",30,0,0,0
- .stabs "_strcat",1,0,0,0
+ .section .gnu.warning.strcat
+ .ascii "warning: strcat() is almost always misused, consider using strlcat()"
#NO_APP
#endif
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: strcat.S,v 1.5 2003/07/24 01:15:42 deraadt Exp $"
+ .asciz "$OpenBSD: strcat.S,v 1.6 2005/03/25 21:43:37 kettenis Exp $"
#endif
/*
diff --git a/lib/libc/arch/i386/string/strcpy.S b/lib/libc/arch/i386/string/strcpy.S
index 3d2a4930b71..5d4b72da15d 100644
--- a/lib/libc/arch/i386/string/strcpy.S
+++ b/lib/libc/arch/i386/string/strcpy.S
@@ -7,14 +7,14 @@
#if defined(APIWARN)
#APP
- .stabs "warning: strcpy() is almost always misused, consider using strlcpy()",30,0,0,0
- .stabs "_strcpy",1,0,0,0
+ .section .gnu.warning.strcpy
+ .ascii "warning: strcpy() is almost always misused, consider using strlcpy()"
#NO_APP
#endif
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: strcpy.S,v 1.5 2003/07/24 01:15:42 deraadt Exp $"
+ .asciz "$OpenBSD: strcpy.S,v 1.6 2005/03/25 21:43:37 kettenis Exp $"
#endif
/*