From: Francesco Chemolli Date: Wed, 29 Aug 2012 15:14:00 +0000 (+0200) Subject: Moved prototypes to newly-created send-announce.h X-Git-Tag: sourceformat-review-1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc94e5cad433827fe73910d7b688fa3d75f04a6e;p=thirdparty%2Fsquid.git Moved prototypes to newly-created send-announce.h --- diff --git a/src/Makefile.am b/src/Makefile.am index de62cd7ad1..0c6829cae3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -443,6 +443,7 @@ squid_SOURCES = \ refresh.cc \ RemovalPolicy.cc \ RemovalPolicy.h \ + send-announce.h \ send-announce.cc \ $(SBUF_SOURCE) \ $(SNMP_SOURCE) \ diff --git a/src/main.cc b/src/main.cc index 3ab2cf4c3e..8b7dbaa91e 100644 --- a/src/main.cc +++ b/src/main.cc @@ -81,6 +81,7 @@ #include "protos.h" #include "redirect.h" #include "refresh.h" +#include "send-announce.h" #include "tools.h" #include "SquidDns.h" #include "SquidTime.h" diff --git a/src/send-announce.cc b/src/send-announce.cc index ea2a6570c4..4d9c175e7a 100644 --- a/src/send-announce.cc +++ b/src/send-announce.cc @@ -1,7 +1,4 @@ - /* - * $Id$ - * * DEBUG: section 27 Cache Announcer * AUTHOR: Duane Wessels * diff --git a/src/send-announce.h b/src/send-announce.h new file mode 100644 index 0000000000..6469300526 --- /dev/null +++ b/src/send-announce.h @@ -0,0 +1,37 @@ +#ifndef SQUID_SEND_ANNOUNCE_H_ +#define SQUID_SEND_ANNOUNCE_H_ +/* + * DEBUG: section 27 Cache Announcer + * AUTHOR: Duane Wessels + * + * SQUID Web Proxy Cache http://www.squid-cache.org/ + * ---------------------------------------------------------- + * + * Squid is the result of efforts by numerous individuals from + * the Internet community; see the CONTRIBUTORS file for full + * details. Many organizations have provided support for Squid's + * development; see the SPONSORS file for full details. Squid is + * Copyrighted (C) 2001 by the Regents of the University of + * California; see the COPYRIGHT file for full details. Squid + * incorporates software developed and/or copyrighted by other + * sources; see the CREDITS file for full details. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. + * + */ + +extern void start_announce(void *unused); + +#endif /* SQUID_SEND_ANNOUNCE_H_ */