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:
18
RichString.h
18
RichString.h
@ -67,26 +67,26 @@ typedef struct RichString_ {
|
||||
|
||||
#ifdef HAVE_LIBNCURSESW
|
||||
|
||||
extern void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
||||
void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
||||
|
||||
extern int RichString_findChar(RichString* this, char c, int start);
|
||||
int RichString_findChar(RichString* this, char c, int start);
|
||||
|
||||
#else
|
||||
|
||||
extern void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
||||
void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
||||
|
||||
extern int RichString_findChar(RichString* this, char c, int start);
|
||||
int RichString_findChar(RichString* this, char c, int start);
|
||||
|
||||
#endif
|
||||
|
||||
extern void RichString_prune(RichString* this);
|
||||
void RichString_prune(RichString* this);
|
||||
|
||||
extern void RichString_setAttr(RichString* this, int attrs);
|
||||
void RichString_setAttr(RichString* this, int attrs);
|
||||
|
||||
extern void RichString_append(RichString* this, int attrs, const char* data);
|
||||
void RichString_append(RichString* this, int attrs, const char* data);
|
||||
|
||||
extern void RichString_appendn(RichString* this, int attrs, const char* data, int len);
|
||||
void RichString_appendn(RichString* this, int attrs, const char* data, int len);
|
||||
|
||||
extern void RichString_write(RichString* this, int attrs, const char* data);
|
||||
void RichString_write(RichString* this, int attrs, const char* data);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user