diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-12 00:53:49 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-12 00:53:49 +0800 |
commit | 6610078a22d58184eb6deba40a67dda742954fbe (patch) | |
tree | 81feec9fba1f4916d7f8146d7c790bc25af7fdb5 /innbbsd/connectsock.c | |
parent | 4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3 (diff) | |
download | pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar.gz pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar.bz2 pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar.lz pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar.xz pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.tar.zst pttbbs-6610078a22d58184eb6deba40a67dda742954fbe.zip |
make the compiler happy!
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/connectsock.c')
-rw-r--r-- | innbbsd/connectsock.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/innbbsd/connectsock.c b/innbbsd/connectsock.c index 4b9382b5..5e526715 100644 --- a/innbbsd/connectsock.c +++ b/innbbsd/connectsock.c @@ -4,7 +4,10 @@ #include "daemon.h" #include <signal.h> #include <setjmp.h> - +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include "externs.h" static jmp_buf timebuf; static void @@ -34,7 +37,7 @@ dokill(s) static int INETDstart = 0; void -startfrominetd(flag) +startfrominetd(int flag) { INETDstart = flag; } @@ -54,11 +57,11 @@ standalonesetup(fd) } static char *UNIX_SERVER_PATH; -static int (*halt) (); +static int (*halt) (int); void sethaltfunction(haltfunc) - int (*haltfunc) (); + int (*haltfunc) (int); { halt = haltfunc; } |