INN commit: trunk/nnrpd (article.c group.c nnrpd.h)

INN Commit Russ_Allbery at isc.org
Sat Sep 20 19:09:35 UTC 2008


    Date: Saturday, September 20, 2008 @ 12:09:35
  Author: iulius
Revision: 8039

Use a common prototype.

Modified:
  trunk/nnrpd/article.c
  trunk/nnrpd/group.c
  trunk/nnrpd/nnrpd.h

-----------+
 article.c |    2 --
 group.c   |    2 --
 nnrpd.h   |    1 +
 3 files changed, 1 insertion(+), 4 deletions(-)

Modified: article.c
===================================================================
--- article.c	2008-09-20 18:09:59 UTC (rev 8038)
+++ article.c	2008-09-20 19:09:35 UTC (rev 8039)
@@ -57,8 +57,6 @@
     SThead,	NNTP_OK_HEAD,		"head"
 };
 
-bool CMDgetrange(int ac, char *av[], ARTRANGE *rp, bool *DidReply);
-
 static struct iovec	iov[IOV_MAX > 1024 ? 1024 : IOV_MAX];
 static int		queued_iov = 0;
 

Modified: group.c
===================================================================
--- group.c	2008-09-20 18:09:59 UTC (rev 8038)
+++ group.c	2008-09-20 19:09:35 UTC (rev 8039)
@@ -10,8 +10,6 @@
 #include "nnrpd.h"
 #include "inn/ov.h"
 
-extern bool CMDgetrange(int ac, char *av[], ARTRANGE *rp, bool *DidReply);
-
 /*
 **  Change to or list the specified newsgroup.  If invalid, stay in the old
 **  group.

Modified: nnrpd.h
===================================================================
--- nnrpd.h	2008-09-20 18:09:59 UTC (rev 8038)
+++ nnrpd.h	2008-09-20 19:09:35 UTC (rev 8039)
@@ -253,6 +253,7 @@
 extern void		CMDstarttls  (int ac, char** av);
 #endif
 
+extern bool CMDgetrange(int ac, char *av[], ARTRANGE *rp, bool *DidReply);
 
 /*
 **  Run a resolver or authenticator.  The directory is where to look for the



More information about the inn-committers mailing list