diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-08 14:28:34 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | c3952e7c20a3108c2f16aa579f8062dfc2163bd8 (patch) | |
tree | 161c8de1766dc15e97cd2705d638719bd2202af7 /Action.c | |
parent | 7107d1db0b3361a3e880d903a45920b64a05e9d6 (diff) |
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
Diffstat (limited to 'Action.c')
-rw-r--r-- | Action.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -272,7 +272,7 @@ static Htop_Reaction actionExpandCollapseOrSortColumn(State* st) { return st->settings->treeView ? actionExpandOrCollapse(st) : actionSetSortColumn(st); } -static Htop_Reaction actionQuit() { +static Htop_Reaction actionQuit(ATTR_UNUSED State* st) { return HTOP_QUIT; } @@ -386,7 +386,7 @@ static Htop_Reaction actionTag(State* st) { return HTOP_OK; } -static Htop_Reaction actionRedraw() { +static Htop_Reaction actionRedraw(ATTR_UNUSED State *st) { clear(); return HTOP_REFRESH | HTOP_REDRAW_BAR; } |