diff options
Diffstat (limited to 'src/plugins/gui.c')
-rw-r--r-- | src/plugins/gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/gui.c b/src/plugins/gui.c index e8c097d21..84b61dab1 100644 --- a/src/plugins/gui.c +++ b/src/plugins/gui.c @@ -31,7 +31,8 @@ int (*add_timer_interval)(unsigned int,int (*)(int,unsigned int,int,int),int,int //Used to output 'I'm Alive' every few seconds //Intended to let frontends know if the app froze //----------------------------------------------------- -int imalive_timer(int tid, unsigned int tick, int id, int data){ +int imalive_timer(int tid, unsigned int tick, int id, int data) +{ printf("I'm Alive\n"); return 0; } @@ -40,7 +41,8 @@ int imalive_timer(int tid, unsigned int tick, int id, int data){ //Flush stdout //stdout buffer needs flushed to be seen in GUI //----------------------------------------------------- -int flush_timer(int tid, unsigned int tick, int id, int data){ +int flush_timer(int tid, unsigned int tick, int id, int data) +{ fflush(stdout); return 0; } |