summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gui.c6
-rw-r--r--src/plugins/sig.c6
2 files changed, 8 insertions, 4 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;
}
diff --git a/src/plugins/sig.c b/src/plugins/sig.c
index 6f1f8404c..1872d48ff 100644
--- a/src/plugins/sig.c
+++ b/src/plugins/sig.c
@@ -26,13 +26,15 @@ PLUGIN_EVENTS_TABLE = {
//////////////////////////////////////
#if defined(_WIN32) || defined(MINGW)
- int sig_init() {
+ int sig_init()
+ {
ShowError("sig: This plugin is not supported - Enable 'exchndl' instead!\n");
return 0;
}
int sig_final() { return 0; }
#elif defined (__NETBSD__) || defined (__FREEBSD__)
- int sig_init() {
+ int sig_init()
+ {
ShowError("sig: This plugin is not supported!\n");
return 0;
}