diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-06-12 21:59:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-06-12 21:59:00 +0000 |
commit | fd6b9378be20243eaea7da1c2ddb3d68f123d28e (patch) | |
tree | d35598812d68d75aa83fcc1d2c22637cae2558e8 /libc/string/strpbrk.c | |
parent | f1daf535ed9fa4313524a73646df140bdd35ce93 (diff) |
Cleanup the mess, remove now obsolete files
-Erik
Diffstat (limited to 'libc/string/strpbrk.c')
-rw-r--r-- | libc/string/strpbrk.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libc/string/strpbrk.c b/libc/string/strpbrk.c deleted file mode 100644 index fe2ec229d..000000000 --- a/libc/string/strpbrk.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk> - * This file is part of the Linux-8086 C library and is distributed - * under the GNU Library General Public License. - */ - -#include <string.h> - -/* This uses strchr, strchr should be in assembler */ - -char *strpbrk( const char *str, const char *set) -{ - while (*str != '\0') - if (strchr(set, *str) == 0) - ++str; - else - return (char *) str; - - return 0; -} |