summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
commit4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch)
tree108501f056c58743e71328f45cbc63154295e75a /lib/libc/arch
parente9c67dcf958b38635d2c444765b8d17227635cc5 (diff)
ansification; checked by pval
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/i386/string/strcat.S7
-rw-r--r--lib/libc/arch/i386/string/strcpy.S7
-rw-r--r--lib/libc/arch/m68k/string/strcat.S7
-rw-r--r--lib/libc/arch/m68k/string/strcpy.S7
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)