summaryrefslogtreecommitdiffstats
path: root/innbbsd/daemon.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-02-01 23:48:41 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-02-01 23:48:41 +0800
commite7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d (patch)
tree4158c7f362b07f737a3a6790241f1970c491afe2 /innbbsd/daemon.c
parenteb02b264ab76ed138546da08deba14e64ffc22e1 (diff)
downloadpttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.gz
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.bz2
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.lz
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.xz
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.zst
pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.zip
Fix some compile warnings
Remove unused code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/daemon.c')
-rw-r--r--innbbsd/daemon.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/innbbsd/daemon.c b/innbbsd/daemon.c
index b764fda1..8709fa45 100644
--- a/innbbsd/daemon.c
+++ b/innbbsd/daemon.c
@@ -10,7 +10,6 @@ void deargify ARG((char ***));
static daemoncmd_t *dcmdp = NULL;
static char *startupmessage = NULL;
static int startupcode = 100;
-static FILE *DIN, *DOUT, *DIO;
typedef int (*F) ();
void
@@ -40,6 +39,8 @@ searchcmd(cmd)
}
#if 0
+static FILE *DIN, *DOUT, *DIO;
+
int
daemon(dfd)
int dfd;
@@ -159,19 +160,3 @@ deargify(argv)
* NULL; } free(*argv); argv = NULL; }
*/
}
-
-int
-daemonprintf(format)
- char *format;
-{
- fprintf(DOUT, format);
- fflush(DOUT);
-}
-
-int
-daemonputs(output)
- char *output;
-{
- fputs(output, DOUT);
- fflush(DOUT);
-}