diff options
author | 2007-05-04 21:44:07 +0000 | |
---|---|---|
committer | 2007-05-04 21:44:07 +0000 | |
commit | 463038c39c956dbb499fc472051ef5a8beeea47c (patch) | |
tree | 816ea8e071dccb73e57615bab9e565c7874696a2 /sys/lib/libsa | |
parent | warren zevon's death (diff) | |
download | wireguard-openbsd-463038c39c956dbb499fc472051ef5a8beeea47c.tar.xz wireguard-openbsd-463038c39c956dbb499fc472051ef5a8beeea47c.zip |
remove strcpy and strcat from the kernel; they are dead and unused code.
(OpenBSD does not use strcat/strcpy in the kernel, if people do it in
external modules they should update their code)
ok deraadt@
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r-- | sys/lib/libsa/stand.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h index c054d2753bb..29dfbaf0db1 100644 --- a/sys/lib/libsa/stand.h +++ b/sys/lib/libsa/stand.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stand.h,v 1.45 2006/09/18 21:12:57 mpf Exp $ */ +/* $OpenBSD: stand.h,v 1.46 2007/05/04 21:44:07 reyk Exp $ */ /* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */ /*- @@ -147,7 +147,6 @@ __dead void _rtt(void) __attribute__((noreturn)); void *memcpy(void *, const void *, size_t); int memcmp(const void *, const void *, size_t); char *strncpy(char *, const char *, size_t); -char *strcpy(char *, const char *); int strncmp(const char *, const char *, size_t); int strcmp(const char *, const char *); size_t strlen(const char *); |