diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-08-30 17:37:27 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-09-03 16:23:10 -0700 |
commit | 31544d2b6973931be7fdec898ea3672bea831de2 (patch) | |
tree | dcf946429b406f39297404be662b0a840094e477 /src/common/core.cpp | |
parent | 41974ae5265fbc23a06f276f9e008d5dad020e0b (diff) | |
download | tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.gz tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.bz2 tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.xz tmwa-31544d2b6973931be7fdec898ea3672bea831de2.zip |
Fix compiler errors of C++ conversion
Diffstat (limited to 'src/common/core.cpp')
-rw-r--r-- | src/common/core.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/core.cpp b/src/common/core.cpp index 38b2260..db26e31 100644 --- a/src/common/core.cpp +++ b/src/common/core.cpp @@ -11,10 +11,6 @@ #include "mt_rand.hpp" #include "nullpo.hpp" -/// Defined by each server -extern int do_init (int, char **); -extern void term_func (void); - // Added by Gabuzomeu // // This is an implementation of signal() using sigaction() for portability. @@ -22,7 +18,7 @@ extern void term_func (void); // Programming in the UNIX Environment_. // typedef void (*sigfunc)(int); -sigfunc compat_signal (int signo, sigfunc func) +static sigfunc compat_signal (int signo, sigfunc func) { struct sigaction sact, oact; |