From 7b7822b896af7673b9e13f0f1807e187ef2d4370 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Wed, 2 Sep 2020 02:38:44 -0500 Subject: Remove superfluous 'extern's from function declarations. Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg --- StringUtils.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'StringUtils.h') 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 -- cgit v1.2.3