diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2008-03-09 08:58:38 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2008-03-09 08:58:38 +0000 |
commit | da23c8c5a188324455c8f417293c10d85f65cb63 (patch) | |
tree | d7a4b8cb0af705de6650e20e00ba3da04d84b27f /String.h | |
parent | 12f4f09e6ed288bdedc86e4ef22f3cc34f0e787a (diff) |
Clean up headers by using 'static' whenever possible.
Reduces resulting code size.
Diffstat (limited to 'String.h')
-rw-r--r-- | String.h | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -19,34 +19,18 @@ in the source distribution for its full text. #define String_startsWith(s, match) (strstr((s), (match)) == (s)) -extern void String_delete(char* s); - extern char* String_copy(char* orig); char* String_cat(char* s1, char* s2); char* String_trim(char* in); -char* String_copyUpTo(char* orig, char upTo); - -char* String_sub(char* orig, int from, int to); - -void String_println(char* s); - -void String_print(char* s); - -void String_printInt(int i); - -void String_printPointer(void* p); - extern int String_eq(const char* s1, const char* s2); char** String_split(char* s, char sep); void String_freeArray(char** s); -int String_startsWith_i(char* s, char* match); - int String_contains_i(char* s, char* match); #endif |