diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-27 01:04:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-27 01:04:01 +0400 |
commit | 78b8e4a437b34a3956283dae08a6718a01b00e63 (patch) | |
tree | 56cfe521361250f19e4a9a0ba71ade8bbaf97c53 /source/blender/blenlib | |
parent | 06fea1a0ff01590e88ef210edd2314615e077400 (diff) |
remove BLI_streq() since it was hardly used, also replace string search with BLI_findstring().
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 7 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string.c | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 69702f72026..408809661cf 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -123,13 +123,6 @@ __attribute__ ((format (printf, 1, 2))) ; /** - * Compare two strings - * - * @retval True if the strings are equal, false otherwise. - */ -int BLI_streq(const char *a, const char *b); - - /** * Compare two strings without regard to case. * * @retval True if the strings are equal, false otherwise. diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 11de8a3d45c..8e0314ec17f 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -212,11 +212,6 @@ char *BLI_replacestr(char *str, const char *oldText, const char *newText) } } -int BLI_streq(const char *a, const char *b) -{ - return (strcmp(a, b)==0); -} - int BLI_strcaseeq(const char *a, const char *b) { return (BLI_strcasecmp(a, b)==0); |