diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2020-09-02 02:38:44 -0500 |
---|---|---|
committer | Zev Weiss <zev@bewilderbeest.net> | 2020-09-03 11:59:26 -0500 |
commit | 7b7822b896af7673b9e13f0f1807e187ef2d4370 (patch) | |
tree | 432855970507d1d622976fd8c4464c803d92239a /StringUtils.h | |
parent | a1a027b9bd833db5384d7dc65046194018eb8bfa (diff) |
Remove superfluous 'extern's from function declarations.
Applied via:
$ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} +
Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
Diffstat (limited to 'StringUtils.h')
-rw-r--r-- | StringUtils.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/StringUtils.h b/StringUtils.h index 0450f0df..cc0abb00 100644 --- a/StringUtils.h +++ b/StringUtils.h @@ -17,18 +17,18 @@ in the source distribution for its full text. * at compile time (e.g. when they are immutable string literals). :) */ -extern char* String_cat(const char* s1, const char* s2); +char* String_cat(const char* s1, const char* s2); -extern char* String_trim(const char* in); +char* String_trim(const char* in); -extern int String_eq(const char* s1, const char* s2); +int String_eq(const char* s1, const char* s2); -extern char** String_split(const char* s, char sep, int* n); +char** String_split(const char* s, char sep, int* n); -extern void String_freeArray(char** s); +void String_freeArray(char** s); -extern char* String_getToken(const char* line, const unsigned short int numMatch); +char* String_getToken(const char* line, const unsigned short int numMatch); -extern char* String_readLine(FILE* fd); +char* String_readLine(FILE* fd); #endif |