mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
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>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user