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 --- IncSet.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'IncSet.h') diff --git a/IncSet.h b/IncSet.h index b75b234b..75949b0a 100644 --- a/IncSet.h +++ b/IncSet.h @@ -39,24 +39,24 @@ typedef struct IncSet_ { typedef const char* (*IncMode_GetPanelValue)(Panel*, int); -extern void IncSet_reset(IncSet* this, IncType type); +void IncSet_reset(IncSet* this, IncType type); -extern IncSet* IncSet_new(FunctionBar* bar); +IncSet* IncSet_new(FunctionBar* bar); -extern void IncSet_delete(IncSet* this); +void IncSet_delete(IncSet* this); -extern bool IncSet_next(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); +bool IncSet_next(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); -extern bool IncSet_prev(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); +bool IncSet_prev(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); -extern bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines); +bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines); -extern const char* IncSet_getListItemValue(Panel* panel, int i); +const char* IncSet_getListItemValue(Panel* panel, int i); -extern void IncSet_activate(IncSet* this, IncType type, Panel* panel); +void IncSet_activate(IncSet* this, IncType type, Panel* panel); -extern void IncSet_drawBar(IncSet* this); +void IncSet_drawBar(IncSet* this); -extern int IncSet_synthesizeEvent(IncSet* this, int x); +int IncSet_synthesizeEvent(IncSet* this, int x); #endif -- cgit v1.2.3