From b9804183841afd5381069796096a154edb5b9f53 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 19 May 2007 15:50:41 +0000 Subject: Reformatting @_@ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10581 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/plugins/gui.c | 6 ++++-- src/plugins/sig.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/plugins') 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; } -- cgit v1.2.3-70-g09d2