diff options
author | 2003-06-11 21:03:09 +0000 | |
---|---|---|
committer | 2003-06-11 21:03:09 +0000 | |
commit | f723aa391085d188652b94aedd37f0dd94193fba (patch) | |
tree | e126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/arch/i386/string | |
parent | support for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff) | |
download | wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip |
ansification; checked by pval
Diffstat (limited to 'lib/libc/arch/i386/string')
-rw-r--r-- | lib/libc/arch/i386/string/strcat.S | 7 | ||||
-rw-r--r-- | lib/libc/arch/i386/string/strcpy.S | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc/arch/i386/string/strcat.S b/lib/libc/arch/i386/string/strcat.S index 6d80aebb06a..37f766a7231 100644 --- a/lib/libc/arch/i386/string/strcat.S +++ b/lib/libc/arch/i386/string/strcat.S @@ -5,9 +5,14 @@ #include <machine/asm.h> +#APP + .stabs "warning: strcat() is almost always misused, consider using strlcat()",30,0,0,0 + .stabs "_strcat",1,0,0,0 +#NO_APP + #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: strcat.S,v 1.2 1996/08/19 08:13:12 tholo Exp $" + .asciz "$OpenBSD: strcat.S,v 1.3 2003/06/11 21:03:10 deraadt Exp $" #endif /* diff --git a/lib/libc/arch/i386/string/strcpy.S b/lib/libc/arch/i386/string/strcpy.S index d9c74b4c82a..86632c42e1c 100644 --- a/lib/libc/arch/i386/string/strcpy.S +++ b/lib/libc/arch/i386/string/strcpy.S @@ -5,9 +5,14 @@ #include <machine/asm.h> +#APP + .stabs "warning: strcpy() is almost always misused, consider using strlcpy()",30,0,0,0 + .stabs "_strcpy",1,0,0,0 +#NO_APP + #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: strcpy.S,v 1.2 1996/08/19 08:13:17 tholo Exp $" + .asciz "$OpenBSD: strcpy.S,v 1.3 2003/06/11 21:03:10 deraadt Exp $" #endif /* |