projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modified code to use IOHandler functions instead of own ones
[NeonServV5.git]
/
src
/
modules
/
DummyServ.mod
/
module.c
diff --git
a/src/modules/DummyServ.mod/module.c
b/src/modules/DummyServ.mod/module.c
index 4b3f13c6ccf197c9356698d365bbc3d6be81a90f..61d977327be1cfb8f1d3b3b01c867a36be73ea45 100644
(file)
--- a/
src/modules/DummyServ.mod/module.c
+++ b/
src/modules/DummyServ.mod/module.c
@@
-1,4
+1,4
@@
-/* module.c - NeonServ v5.
4
+/* module.c - NeonServ v5.
5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-25,12
+25,8
@@
static void module_start(int type) {
init_DummyServ(type);
}
init_DummyServ(type);
}
-static void module_loop() {
- loop_DummyServ();
-}
-
static void module_stop(int type) {
free_DummyServ(type);
}
static void module_stop(int type) {
free_DummyServ(type);
}
-MODULE_HEADER(module_initialize, module_start, module_
loop, module_
stop);
+MODULE_HEADER(module_initialize, module_start, module_stop);