Use strict function prototypes

int foo(); declares a function taking any number of arguments.
This commit is contained in:
Christian Göttsche
2020-09-08 14:28:34 +02:00
committed by cgzones
parent 7107d1db0b
commit c3952e7c20
16 changed files with 32 additions and 32 deletions

View File

@ -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;
}