Cleanup. We don't need string_helper anymore as it's only function (strcasestr) is in libroot. It was a temporary solution more than two years ago.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2005-07-06 23:07:32 +00:00
parent 2d5d475ef5
commit c728a74e42
5 changed files with 0 additions and 45 deletions

View File

@ -1,7 +1 @@
SubDir OBOS_TOP src kits support ;
StaticLibrary haiku :
String.cpp
string_helper.cpp
: STATIC_LIBRARY_DIR
;

View File

@ -36,9 +36,6 @@
#include <Debug.h>
#include <String.h>
// Temporary Includes
#include "string_helper.h"
#define ENABLE_INLINES 0 // Set this to 1 to make some private methods inline
// define proper names for case-option of _DoReplace()

View File

@ -1,26 +0,0 @@
//Those functions are here just to compile BString.
//They will be removed as soon as our libc compiles.
#include <ctype.h>
#include <string.h>
char *
strcasestr(const char *s, const char *find)
{
char c, sc;
size_t len;
if ((c = *find++) != 0) {
c = tolower((unsigned char)c);
len = strlen(find);
do {
do {
if ((sc = *s++) == 0)
return NULL;
} while ((char)tolower((unsigned char)sc) != c);
} while (strncasecmp(s, find, len) != 0);
s--;
}
return (char *)s;
}

View File

@ -1,9 +0,0 @@
//Those functions are here just to compile BString.
//They will be removed as soon as our libc compiles.
#ifndef __stringhelper_h
#define __stringhelper_h
extern char *strcasestr(const char *s, const char *find);
#endif //__stringhelper_h

View File

@ -11,6 +11,5 @@ SUPPORT_KIT_SOURCE =
PointerList.cpp
StopWatch.cpp
String.cpp
string_helper.cpp
# StreamIO.cpp
;