]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 29 Aug 2012 00:12:28 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 29 Aug 2012 00:12:28 +0000 (18:12 -0600)
27 files changed:
src/CacheDigest.h
src/ExternalACL.h
src/HttpHeaderTools.h
src/PeerDigest.h
src/URL.h
src/cache_cf.h
src/carp.h
src/client_db.h
src/disk.h
src/fd.h
src/fqdncache.cc
src/fqdncache.h
src/ftp.h
src/gopher.h
src/http.h
src/icmp/net_db.cc
src/internal.h
src/log/access_log.h
src/neighbors.h
src/peer_sourcehash.h
src/peer_userhash.h
src/protos.h
src/refresh.h
src/tools.h
src/wccp.h
src/wccp2.h
src/whois.h

index b9f1304b775950dde8c238133dbd14cd5037d5a6..2d44bf42d69fa2625a483985b3967da40f988819 100644 (file)
@@ -27,7 +27,7 @@
  *  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.
- * 
+ *
  */
 
 #ifndef SQUID_CACHEDIGEST_H_
@@ -51,5 +51,4 @@ extern void cacheDigestGuessStatsUpdate(CacheDigestGuessStats * stats, int real_
 extern void cacheDigestGuessStatsReport(const CacheDigestGuessStats * stats, StoreEntry * sentry, const char *label);
 extern void cacheDigestReport(CacheDigest * cd, const char *label, StoreEntry * e);
 
-
 #endif /* SQUID_CACHEDIGEST_H_ */
index 125c3535a798a4981eabc2c31c35f5e06c55b301..58ca645217c193d08cfaeb97d89c833cc70bdf8b 100644 (file)
@@ -104,5 +104,4 @@ extern void externalAclLookup(ACLChecklist * ch, void *acl_data, EAH * handler,
 extern void externalAclInit(void);
 extern void externalAclShutdown(void);
 
-
 #endif /* SQUID_EXTERNALACL_H */
index 1da330e32bfa1381918a171e3f86a9919b7f31ce..4f811bfa38bc5b5ac3ee237a5315ed13a7380d69 100644 (file)
@@ -106,5 +106,4 @@ extern int httpHeaderHasConnDir(const HttpHeader * hdr, const char *directive);
 extern int httpHeaderParseInt(const char *start, int *val);
 extern void httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3;
 
-
 #endif
index 3dd90d84165141ace2f5e68441abf3bd04235202..f218ce70abcd5f232c575fc975af825701817ccd 100644 (file)
@@ -136,7 +136,6 @@ extern void peerDigestNeeded(PeerDigest * pd);
 extern void peerDigestNotePeerGone(PeerDigest * pd);
 extern void peerDigestStatsReport(const PeerDigest * pd, StoreEntry * e);
 
-
 #endif /* USE_CACHE_DIGESTS */
 
 #endif /* SQUID_PEERDIGEST_H */
index ab95fc84f7ae18fc1aa8940cf62c1b1a5886ea7f..c7e621aed66ffee04b44fc9f7ca46073f989b8d7 100644 (file)
--- a/src/URL.h
+++ b/src/URL.h
@@ -81,7 +81,6 @@ MEMPROXY_CLASS_INLINE(URL);
 class HttpRequest;
 class HttpRequestMethod;
 
-
 extern AnyP::ProtocolType urlParseProtocol(const char *, const char *e = NULL);
 extern void urlInitialize(void);
 extern HttpRequest *urlParse(const HttpRequestMethod&, char *, HttpRequest *request = NULL);
index 93f555b44e78aa931110103865a9e98db7c5295b..cf2ffd7b24bb70ea7eacdefe51000ae147723d55 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_CACHE_CF_H_
 #define SQUID_CACHE_CF_H_
 
index c3799cdf89e4866c63120337f6f279588834f8f3..be7be8fce616fcd3da486dd0a13304c33ca1ba52 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_CARP_H_
 #define SQUID_CARP_H_
 
index 81bdcaf7ce6adb863cee4c42b4aad71afcdfca50..c764e0dd0b47628011af18af9dcd0a1a5c3faf2b 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_CLIENT_DB_H_
 #define SQUID_CLIENT_DB_H_
 
@@ -53,5 +52,4 @@ extern void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit
 extern ClientInfo * clientdbGetInfo(const Ip::Address &addr);
 #endif
 
-
 #endif /* SQUID_CLIENT_DB_H_ */
index 134784f20d7d3266b1530a3b18b4ce3ba51581b3..d5130735a4b0fcada65c75a968ca14bd0317dd17 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_DISK_H_
 #define SQUID_DISK_H_
 
index a6cbf68445d65911a854446d0202429b0ebeff67..316f244f1d7e15d1fbdc181e1ed6d263e03f09cb 100644 (file)
--- a/src/fd.h
+++ b/src/fd.h
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_FD_H_
 #define SQUID_FD_H_
 
index 9bf85bf30cb9023680ce350f47979ba1a323c686..0a258ab76b109c43369f7a7c11390d61d3bfdbe3 100644 (file)
@@ -587,7 +587,6 @@ fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH * handler, void *handle
 #endif
 }
 
-
 /**
  \ingroup FQDNCacheAPI
  *
index e0119cfb5d7e3f07c5065c6dae329d0df3adfb83..e2614167112087269a45bafdf22646514dbf3beb 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_FQDNCACHE_H_
 #define SQUID_FQDNCACHE_H_
 
@@ -53,7 +52,4 @@ extern const char *fqdncache_gethostbyaddr(const Ip::Address &, int flags);
 //extern const char *fqdnFromAddr(const Ip::Address &);
 extern void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
 
-
-
-
 #endif /* SQUID_FQDNCACHE_H_ */
index a3d2abd4fc1790cec8ed1221cd95f04dbf8660b2..e128c0a288b31905d84a4a8114b3125ce79bbac2 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -45,5 +45,4 @@ extern void ftpStart(FwdState *);
 /// \ingroup ServerProtocolFTPAPI
 extern const char *ftpUrlWith2f(HttpRequest *);
 
-
 #endif /* SQUID_FTP_H_ */
index f8b0827262840fb5b66603ff3090337ba475024a..51e4659b3b37167075ceeda941683e29e5d2adee 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_GOPHER_H_
 #define SQUID_GOPHER_H_
 
@@ -48,5 +47,4 @@ extern void gopherStart(FwdState *);
 /// \ingroup ServerProtocolGopherAPI
 extern int gopherCachable(const HttpRequest *);
 
-
 #endif /* SQUID_GOPHER_H_ */
index 274bd3c53146c7a3936b806df7cbe23663729a36..f373663f42970703c4062778a06bafc5cad3b48d 100644 (file)
@@ -139,5 +139,4 @@ extern int httpCachable(const HttpRequestMethod&);
 extern void httpStart(FwdState *);
 extern const char *httpMakeVaryMark(HttpRequest * request, HttpReply const * reply);
 
-
 #endif /* SQUID_HTTP_H */
index 9d9fd66e30b8caa9c7d4620fd90bbdc55f53164b..98e52a89c3bd5d8200f28ba9d10521c01a3a5d03 100644 (file)
@@ -61,7 +61,6 @@
 #include "Mem.h"
 #include "disk.h"
 
-
 #if HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
index 7595f93f039a09ce459c289862f130c2525e0a6a..d24ead27282a0616b9c75bd28b1fefb69008414c 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_INTERNAL_H_
 #define SQUID_INTERNAL_H_
 
@@ -46,6 +45,4 @@ extern char *internalRemoteUri(const char *, unsigned short, const char *, const
 extern const char *internalHostname(void);
 extern int internalHostnameIs(const char *);
 
-
-
 #endif /* SQUID_INTERNAL_H_ */
index 92c0b7e14a12d587a94436b7f9e6a92863f92759..f64b665e0be957a47a34f757750a5c582fac2a2c 100644 (file)
  *  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.
- * 
+ *
  */
 
 #ifndef SQUID_LOG_ACCESS_LOG_H_
 #define SQUID_LOG_ACCESS_LOG_H_
 
-
 extern int logTypeIsATcpHit(log_type);
 extern void fvdbCountVia(const char *key);
 extern void fvdbCountForw(const char *key);
@@ -43,5 +42,4 @@ class HttpRequestMethod;
 extern void headersLog(int cs, int pq, const HttpRequestMethod& m, void *data);
 #endif
 
-
 #endif /* SQUID_LOG_ACCESS_LOG_H_ */
index a045f9ec597e9156d5b530ab634779f37c29c71d..f62195ad09e51d6ee2bbc49b09cab2ff79385ef8 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_NEIGHBORS_H_
 #define SQUID_NEIGHBORS_H_
 
index 869a47f24db1d9a3e271284b33507805b4ef6ae0..10685c3810e6677d50b405f9e7bb8d531e924a7f 100644 (file)
@@ -31,7 +31,6 @@
  *
  */
 
-
 #ifndef SQUID_PEER_SOURCEHASH_H_
 #define SQUID_PEER_SOURCEHASH_H_
 
@@ -41,6 +40,4 @@ class HttpRequest;
 extern void peerSourceHashInit(void);
 extern peer * peerSourceHashSelectParent(HttpRequest * request);
 
-
-
 #endif /* SQUID_PEER_SOURCEHASH_H_ */
index 4a026ca641515a69def707fddc81afa41989d2c8..b1dc6ccc330099349b300e0f8a7cc58fc832c49f 100644 (file)
@@ -31,7 +31,6 @@
  *
  */
 
-
 #ifndef SQUID_PEER_USERHASH_H_
 #define SQUID_PEER_USERHASH_H_
 
index 1f335c0bb8fab170414bd440f83a852aa7a16e0b..110896e733a143e5b90bfe2ba27356f4c97cd02a 100644 (file)
 #include "HttpStatusCode.h"
 #include "lookup_t.h"
 
-
 class HttpRequestMethod;
 #if USE_DELAY_POOLS
 class ClientInfo;
 #endif
 
-
 class FwdState;
 
-
 class HttpRequest;
 class HttpReply;
 
@@ -66,8 +63,6 @@ SQUIDCEXTERN int strListGetItem(const String * str, char del, const char **item,
 
 extern const char *getStringPrefix(const char *str, const char *end);
 
-
-
 /* store report about current header usage and other stats */
 void httpHeaderStoreReport(StoreEntry * e);
 SQUIDCEXTERN void httpHdrMangleList(HttpHeader *, HttpRequest *, int req_or_rep);
@@ -123,12 +118,10 @@ SQUIDCEXTERN void urnStart(HttpRequest *, StoreEntry *);
 SQUIDCEXTERN void redirectInit(void);
 SQUIDCEXTERN void redirectShutdown(void);
 
-
 extern void shut_down(int);
 extern void rotate_logs(int);
 extern void reconfigure(int);
 
-
 extern void start_announce(void *unused);
 extern void waisStart(FwdState *);
 
@@ -145,7 +138,6 @@ extern void storeLogRotate(void);
 extern void storeLogClose(void);
 extern void storeLogOpen(void);
 
-
 /*
  * store_digest.c
  */
@@ -170,7 +162,6 @@ extern bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &e, cache_key *key, s
 /// checks whether the loaded entry should be kept; updates counters
 extern bool storeRebuildKeepEntry(const StoreEntry &e, const cache_key *key, struct _store_rebuild_data &counts);
 
-
 /*
  * store_swapin.c
  */
@@ -187,7 +178,6 @@ SQUIDCEXTERN int storeUnregister(store_client * sc, StoreEntry * e, void *data)
 SQUIDCEXTERN int storePendingNClients(const StoreEntry * e);
 SQUIDCEXTERN int storeClientIsThisAClient(store_client * sc, void *someClient);
 
-
 SQUIDCEXTERN const char *getMyHostname(void);
 SQUIDCEXTERN const char *uniqueHostname(void);
 SQUIDCEXTERN void safeunlink(const char *path, int quiet);
@@ -256,7 +246,6 @@ SQUIDCEXTERN void unlinkdClose(void);
 SQUIDCEXTERN void unlinkdUnlink(const char *);
 #endif
 
-
 SQUIDCEXTERN peer_t parseNeighborType(const char *s);
 
 SQUIDCEXTERN int stringHasWhitespace(const char *); //String.cc
@@ -268,7 +257,6 @@ extern int isPowTen(int); //int.cc
 
 SQUIDCEXTERN char *strwordtok(char *buf, char **t); //String.cc
 
-
 /*
  * ipc.c
  */
@@ -281,7 +269,6 @@ SQUIDCEXTERN pid_t ipcCreate(int type,
                              int *wfd,
                              void **hIpc);
 
-
 /*
  * prototypes for system functions missing from system includes
  */
@@ -302,7 +289,6 @@ SQUIDCEXTERN int gethostname(char *, int);
 class StatCounters;
         SQUIDCEXTERN StatCounters *snmpStatGet(int);
 
-
         /* CygWin & Windows NT Port */
         /* win32.c */
 #if _SQUID_WINDOWS_
@@ -327,19 +313,19 @@ class StatCounters;
 
 #endif
 
-extern char *strtokFile(void);
+    extern char *strtokFile(void);
 
 #if USE_AUTH
 
 #if HAVE_AUTH_MODULE_NEGOTIATE && HAVE_KRB5 && HAVE_GSSAPI
-                /* upstream proxy authentication */
-                SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy);
+    /* upstream proxy authentication */
+    SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy);
 #endif
 
-                    namespace Auth {
-            /* call to ensure the auth component schemes exist. */
-            extern void Init(void);
-            } // namespace Auth
+    namespace Auth {
+    /* call to ensure the auth component schemes exist. */
+    extern void Init(void);
+    } // namespace Auth
 
 #endif /* USE_AUTH */
 
index e1c8a14ad0bf3f9c696dcf7e2deb6f0c27de24d3..1c6b9d36d29618652da7fd0876c839fa386ffb93 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_REFRESH_H_
 #define SQUID_REFRESH_H_
 
@@ -44,6 +43,4 @@ extern time_t getMaxAge(const char *url);
 extern void refreshInit(void);
 extern const refresh_t *refreshLimits(const char *url);
 
-
-
 #endif /* SQUID_REFRESH_H_ */
index 3ffcc26a56024d7a721f48b00a7e143fa9035805..4b5d670b8ec037f5392dbcf7e72abbafd3008f36 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_TOOLS_H_
 #define SQUID_TOOLS_H_
 
@@ -48,5 +47,4 @@ extern void strwordquote(MemBuf * mb, const char *str);
 /* packs, then prints an object using debugs() */
 extern void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm);
 
-
 #endif /* SQUID_TOOLS_H_ */
index 7fdbe9e2d5f066b05c8d99e35508d852f197b73a..3d03bf46d548af886c56600b717b0b9c035dc9de 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_WCCP_H_
 #define SQUID_WCCP_H_
 
@@ -40,6 +39,4 @@ extern void wccpConnectionOpen(void);
 extern void wccpConnectionClose(void);
 #endif /* USE_WCCP */
 
-
-
 #endif /* SQUID_WCCP_H_ */
index 647401326abcce8d32e6655ee8b6e2f440ed7480..532903c4d9473350dbf823beab7fe376653c72b8 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_WCCP2_H_
 #define SQUID_WCCP2_H_
 
index 6859e0215131112bc0ef9c17659f3854b413d0bd..a73aa56acc98881976d6dbcbb71ff4454ddb78c3 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #ifndef SQUID_WHOIS_H_
 #define SQUID_WHOIS_H_
 
@@ -42,5 +41,4 @@
 /// \ingroup ServerProtocolWhoisAPI
 extern void whoisStart(FwdState *);
 
-
 #endif /* SQUID_WHOIS_H_ */