From 8d2468c02e807c605250387bf25a15d60fc8be73 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 17 May 2002 06:58:21 +0000 Subject: Remove unused pieces and clean Makefile.inc --- lib/libc/arch/m88k/string/Makefile.inc | 7 +------ lib/libc/arch/m88k/string/strchr.co | 15 --------------- lib/libc/arch/m88k/string/strrchr.co | 15 --------------- 3 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 lib/libc/arch/m88k/string/strchr.co delete mode 100644 lib/libc/arch/m88k/string/strrchr.co (limited to 'lib') 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 - -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 - -char * -strrchr(str, c) - const char *str; -{ - rindex(str, c); -} -- cgit v1.2.3