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.h
4
Action.h
@ -24,8 +24,6 @@ typedef enum {
|
||||
HTOP_UPDATE_PANELHDR = 0x41, // implies HTOP_REFRESH
|
||||
} Htop_Reaction;
|
||||
|
||||
typedef Htop_Reaction (*Htop_Action)();
|
||||
|
||||
typedef struct State_ {
|
||||
Settings* settings;
|
||||
UsersTable* ut;
|
||||
@ -34,6 +32,8 @@ typedef struct State_ {
|
||||
Header* header;
|
||||
} State;
|
||||
|
||||
typedef Htop_Reaction (*Htop_Action)(State* st);
|
||||
|
||||
Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess);
|
||||
|
||||
bool Action_setUserOnly(const char* userName, uid_t* userId);
|
||||
|
Reference in New Issue
Block a user