]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ip/tools.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / ip / tools.h
index 5b9831a4888e8d53e35bfd4030f2afbb9d79b5a1..dca93d9a1caab819ca4db8e47eb553733cd03416 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef _SQUID_SRC_IP_TOOLS_H
 #define _SQUID_SRC_IP_TOOLS_H
 
@@ -5,7 +13,7 @@ namespace Ip
 {
 
 /// Probe to discover IPv6 capabilities
-extern void ProbeTransport(void);
+void ProbeTransport(void);
 
 /* Squids notion of IPv6 stack types and state */
 #define IPV6_OFF  0
@@ -16,6 +24,7 @@ extern void ProbeTransport(void);
 /// Whether IPv6 is supported and type of support.
 extern int EnableIpv6;
 
-}; // namespace Ip
+} // namespace Ip
 
 #endif /* _SQUID_SRC_IP_TOOLS_H */
+