summaryrefslogtreecommitdiffstats
path: root/innbbsd/inntobbs.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:01:59 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:01:59 +0800
commitc8b05dac46a8c39cbdf2ac80e7dbb18077e157cb (patch)
tree060e36fbaf43db10838eb01fb23ac130005e1001 /innbbsd/inntobbs.c
parent6eba59f302a382cb031543031b2b273ee85d796f (diff)
downloadpttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar.gz
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar.bz2
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar.lz
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar.xz
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.tar.zst
pttbbs-c8b05dac46a8c39cbdf2ac80e7dbb18077e157cb.zip
less warning
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2645 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/inntobbs.c')
-rw-r--r--innbbsd/inntobbs.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/innbbsd/inntobbs.c b/innbbsd/inntobbs.c
index fb1211ee..7ac54a22 100644
--- a/innbbsd/inntobbs.c
+++ b/innbbsd/inntobbs.c
@@ -79,12 +79,13 @@ isexcluded(path1, nl)
return 0;
}
+void
feedfplog(nf, filepath, type)
newsfeeds_t *nf;
char *filepath;
int type;
{
- char *path1, *path2, *hostptr;
+ char *path1;
nodelist_t *nl;
if (nf == NULL)
return;
@@ -144,8 +145,9 @@ feedfplog(nf, filepath, type)
}
static FILE *bbsfeedsfp = NULL;
-static bbsfeedson = -1;
+static int bbsfeedson = -1;
+void
init_bbsfeedsfp()
{
if (bbsfeedsfp != NULL) {
@@ -155,6 +157,7 @@ init_bbsfeedsfp()
bbsfeedson = -1;
}
+void
bbsfeedslog(filepath, type)
char *filepath;
int type;
@@ -186,8 +189,9 @@ bbsfeedslog(filepath, type)
}
static FILE *echomailfp = NULL;
-static echomaillogon = -1;
+static int echomaillogon = -1;
+void
init_echomailfp()
{
if (echomailfp != NULL) {
@@ -197,6 +201,7 @@ init_echomailfp()
echomaillogon = -1;
}
+void
echomaillog()
{
@@ -234,8 +239,6 @@ int
readlines(client)
ClientType *client;
{
- int fd = client->fd;
- char *buffer = client->buffer;
buffer_t *in = &client->in;
char *front = in->data, *ptr, *hptr;
int i;
@@ -306,6 +309,7 @@ headervalue(inputheader)
return -1;
}
+void
article_init()
{
int i;