diff options
author | 2005-03-25 21:43:37 +0000 | |
---|---|---|
committer | 2005-03-25 21:43:37 +0000 | |
commit | 53e644ec0208c7ebb73a1fffe0e5cf7139c5c85f (patch) | |
tree | 41bb04615bda50ae440fe0ce9d8b56b84f97683e /lib/libc | |
parent | Since machines such as the Enterprise 4500 live in both SBus and PCI worlds, (diff) | |
download | wireguard-openbsd-53e644ec0208c7ebb73a1fffe0e5cf7139c5c85f.tar.xz wireguard-openbsd-53e644ec0208c7ebb73a1fffe0e5cf7139c5c85f.zip |
Fix APIWARNs.
ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/i386/string/strcat.S | 6 | ||||
-rw-r--r-- | lib/libc/arch/i386/string/strcpy.S | 6 |
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 /* |