mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
This commit is contained in:

committed by
cgzones

parent
7107d1db0b
commit
c3952e7c20
4
Action.c
4
Action.c
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user