summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
commitb9804183841afd5381069796096a154edb5b9f53 (patch)
tree95e6f70d9ecd43e727d0defe1b02a818bc191169 /src/plugins
parent3bd682b3cb3507c8a57fa6930475808981fd0663 (diff)
downloadhercules-b9804183841afd5381069796096a154edb5b9f53.tar.gz
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.bz2
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.xz
hercules-b9804183841afd5381069796096a154edb5b9f53.zip
Reformatting @_@
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10581 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;
}