common code: Add support for main loop handler
This commit is contained in:
@@ -37,5 +37,5 @@ void opt_switch_common(int c, char *arg0, int *skip_args);
|
||||
extern int quit;
|
||||
void sighandler(int sigset);
|
||||
|
||||
void main_loop(int *quit, int latency, int interval);
|
||||
void main_loop(int *quit, int latency, int interval, void (*myhandler)(void));
|
||||
|
||||
|
Reference in New Issue
Block a user