diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-05-17 06:58:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-05-17 06:58:21 +0000 |
commit | 8d2468c02e807c605250387bf25a15d60fc8be73 (patch) | |
tree | e337b1fb363ac1aa4e603bc4e53cd2211cc71a1b /lib | |
parent | d18af891519ff0ecb75a5ee30ed41e18789166c1 (diff) |
Remove unused pieces and clean Makefile.inc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/m88k/string/Makefile.inc | 7 | ||||
-rw-r--r-- | lib/libc/arch/m88k/string/strchr.co | 15 | ||||
-rw-r--r-- | lib/libc/arch/m88k/string/strrchr.co | 15 |
3 files changed, 1 insertions, 36 deletions
diff --git a/lib/libc/arch/m88k/string/Makefile.inc b/lib/libc/arch/m88k/string/Makefile.inc index ad317da1878..e40cf017c08 100644 --- a/lib/libc/arch/m88k/string/Makefile.inc +++ b/lib/libc/arch/m88k/string/Makefile.inc @@ -1,12 +1,7 @@ +# $OpenBSD: Makefile.inc,v 1.3 2002/05/17 06:58:20 miod Exp $ # $NetBSD: Makefile.inc,v 1.1 1995/03/20 14:45:45 mycroft Exp $ -#SRCS+= bcmp.S bcopy.S bzero.S ffs.S index.S memchr.c memcmp.S memset.S \ -# rindex.S strcat.c strcmp.S strcpy.S strcspn.c strlen.S \ -# strncat.c strncmp.S strncpy.S strpbrk.c strsep.c \ -# strspn.c strstr.c swab.S -#SRCS+= memcpy.S memmove.S strchr.S strrchr.S SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memchr.c memcmp.c memset.c \ rindex.c strcat.c strcmp.c strcpy.c strcspn.c strlcpy.c strlen.c \ strncat.c strncmp.c strncpy.c strpbrk.c strsep.c \ strspn.c strstr.c swab.c -#SRCS+= index.c rindex.c diff --git a/lib/libc/arch/m88k/string/strchr.co b/lib/libc/arch/m88k/string/strchr.co deleted file mode 100644 index 341b2bff166..00000000000 --- a/lib/libc/arch/m88k/string/strchr.co +++ /dev/null @@ -1,15 +0,0 @@ -/* $OpenBSD: strchr.co,v 1.2 2000/03/01 17:31:21 todd Exp $ */ - -#if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/ -static char *rcsid = "$OpenBSD: strchr.co,v 1.2 2000/03/01 17:31:21 todd Exp $"; -#endif /* LIBC_SCCS and not lint */ - -#include <string.h> - -char * -strchr(str, c) - const char *str; -{ - index(str, c); -} diff --git a/lib/libc/arch/m88k/string/strrchr.co b/lib/libc/arch/m88k/string/strrchr.co deleted file mode 100644 index 9a4fdbd33d7..00000000000 --- a/lib/libc/arch/m88k/string/strrchr.co +++ /dev/null @@ -1,15 +0,0 @@ -/* $OpenBSD: strrchr.co,v 1.2 2000/03/01 17:31:21 todd Exp $ */ - -#if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/ -static char *rcsid = "$OpenBSD: strrchr.co,v 1.2 2000/03/01 17:31:21 todd Exp $"; -#endif /* LIBC_SCCS and not lint */ - -#include <string.h> - -char * -strrchr(str, c) - const char *str; -{ - rindex(str, c); -} |