From: Automatic source maintenance Date: Fri, 14 Sep 2012 00:13:20 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_3_0_1~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13501b4795e7ffbf0129027ca63c661ee77b9608;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/doc/debug-sections.txt b/doc/debug-sections.txt index b40764ca3e..04933e2699 100644 --- a/doc/debug-sections.txt +++ b/doc/debug-sections.txt @@ -1,4 +1,5 @@ +section section -- CGI Cache Manager section -- External DISKD process implementation. section -- Refcount allocator @@ -129,6 +130,7 @@ section 79 Squid-side DISKD I/O functions. section 79 Squid-side Disk I/O functions. section 79 Storage Manager COSS Interface section 79 Storage Manager UFS Interface +section 79 Disk IO Routines section 80 WCCP Support section 81 CPU Profiling Routines section 81 Store HEAP Removal Policies diff --git a/src/AuthReg.h b/src/AuthReg.h index 4662eba5cc..f98f36d2cc 100644 --- a/src/AuthReg.h +++ b/src/AuthReg.h @@ -1,8 +1,8 @@ #ifndef SQUID_AUTHREG_H_ #define SQUID_AUTHREG_H_ /* - * DEBUG: section - * AUTHOR: + * DEBUG: section + * AUTHOR: * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- @@ -32,13 +32,14 @@ * */ -namespace Auth { +namespace Auth +{ #if USE_AUTH - /// Initialize Auth subsystem - extern void Init(void); +/// Initialize Auth subsystem +extern void Init(void); #else /* USE_AUTH */ - inline void Init(void) {} /* NOP if not USE_AUTH */ +inline void Init(void) {} /* NOP if not USE_AUTH */ #endif /* USE_AUTH */ } // namespace Auth diff --git a/src/SquidIpc.h b/src/SquidIpc.h index 2a435ed5d8..30fcd344a0 100644 --- a/src/SquidIpc.h +++ b/src/SquidIpc.h @@ -32,16 +32,17 @@ * */ -namespace Ip { - class Address; +namespace Ip +{ +class Address; } extern pid_t ipcCreate(int type, - const char *prog, - const char *const args[], - const char *name, - Ip::Address &local_addr, - int *rfd, - int *wfd, - void **hIpc); + const char *prog, + const char *const args[], + const char *name, + Ip::Address &local_addr, + int *rfd, + int *wfd, + void **hIpc); #endif /* SQUID_SQUIDIPC_H_ */ diff --git a/src/SquidList.h b/src/SquidList.h index 58595b8b24..ca8943aac6 100644 --- a/src/SquidList.h +++ b/src/SquidList.h @@ -32,8 +32,9 @@ * */ -class link_list { - public: +class link_list +{ +public: void *ptr; link_list *next; }; diff --git a/src/WinSvc.h b/src/WinSvc.h index 852bc155f5..595182a250 100644 --- a/src/WinSvc.h +++ b/src/WinSvc.h @@ -29,7 +29,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. - * + * */ #if _SQUID_WINDOWS_ diff --git a/src/mime.h b/src/mime.h index b7209ef679..621a2777da 100644 --- a/src/mime.h +++ b/src/mime.h @@ -1,6 +1,6 @@ /* - * DEBUG: section - * AUTHOR: + * DEBUG: section + * AUTHOR: * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- diff --git a/src/multicast.h b/src/multicast.h index 66e4d6f0e5..5a7e53261d 100644 --- a/src/multicast.h +++ b/src/multicast.h @@ -1,6 +1,6 @@ /* - * DEBUG: section - * AUTHOR: + * DEBUG: section + * AUTHOR: * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- diff --git a/src/peer_proxy_negotiate_auth.h b/src/peer_proxy_negotiate_auth.h index 4d33c9e744..3e29bbb708 100644 --- a/src/peer_proxy_negotiate_auth.h +++ b/src/peer_proxy_negotiate_auth.h @@ -33,7 +33,7 @@ */ #if HAVE_AUTH_MODULE_NEGOTIATE && HAVE_KRB5 && HAVE_GSSAPI - /* upstream proxy authentication */ +/* upstream proxy authentication */ SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy); #endif diff --git a/src/snmp_agent.h b/src/snmp_agent.h index 7440e1547b..888183bc9a 100644 --- a/src/snmp_agent.h +++ b/src/snmp_agent.h @@ -1,8 +1,8 @@ #ifndef SQUID_SNMP_AGENT_H_ #define SQUID_SNMP_AGENT_H_ /* - * DEBUG: section - * AUTHOR: + * DEBUG: section + * AUTHOR: * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- diff --git a/src/snmp_core.h b/src/snmp_core.h index 6ed52c6211..f73f46f0b0 100644 --- a/src/snmp_core.h +++ b/src/snmp_core.h @@ -10,8 +10,9 @@ #include "comm/forward.h" #include "typedefs.h" -namespace Ip { - class Address; +namespace Ip +{ +class Address; } class MemBuf; diff --git a/src/urn.h b/src/urn.h index cd5f2dcdf7..217ac62fc8 100644 --- a/src/urn.h +++ b/src/urn.h @@ -1,6 +1,6 @@ /* - * DEBUG: section - * AUTHOR: + * DEBUG: section + * AUTHOR: * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- diff --git a/src/win32.h b/src/win32.h index b875c09dc8..569d1e2fa2 100644 --- a/src/win32.h +++ b/src/win32.h @@ -30,7 +30,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. - * + * */ #if _SQUID_MSWIN_