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 /RichString.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 'RichString.h')
-rw-r--r-- | RichString.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/RichString.h b/RichString.h index 824c0e2a..59b77496 100644 --- a/RichString.h +++ b/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 |