diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 21:03:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 21:03:11 +0000 |
commit | 4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch) | |
tree | 108501f056c58743e71328f45cbc63154295e75a /lib/libc/arch | |
parent | e9c67dcf958b38635d2c444765b8d17227635cc5 (diff) |
ansification; checked by pval
Diffstat (limited to 'lib/libc/arch')
-rw-r--r-- | lib/libc/arch/i386/string/strcat.S | 7 | ||||
-rw-r--r-- | lib/libc/arch/i386/string/strcpy.S | 7 | ||||
-rw-r--r-- | lib/libc/arch/m68k/string/strcat.S | 7 | ||||
-rw-r--r-- | lib/libc/arch/m68k/string/strcpy.S | 7 |
4 files changed, 24 insertions, 4 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 /* diff --git a/lib/libc/arch/m68k/string/strcat.S b/lib/libc/arch/m68k/string/strcat.S index 9fa4cabf142..e988ccf79cc 100644 --- a/lib/libc/arch/m68k/string/strcat.S +++ b/lib/libc/arch/m68k/string/strcat.S @@ -33,9 +33,14 @@ #include "DEFS.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.3 2003/06/02 20:18:31 millert Exp $" + .asciz "$OpenBSD: strcat.S,v 1.4 2003/06/11 21:03:10 deraadt Exp $" #endif /* LIBC_SCCS */ ENTRY(strcat) diff --git a/lib/libc/arch/m68k/string/strcpy.S b/lib/libc/arch/m68k/string/strcpy.S index 2e0e325ade0..a4962db432d 100644 --- a/lib/libc/arch/m68k/string/strcpy.S +++ b/lib/libc/arch/m68k/string/strcpy.S @@ -33,9 +33,14 @@ #include "DEFS.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.4 2003/06/02 20:18:31 millert Exp $" + .asciz "$OpenBSD: strcpy.S,v 1.5 2003/06/11 21:03:10 deraadt Exp $" #endif /* LIBC_SCCS */ ENTRY(strcpy) |