aboutsummaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/socket.h b/socket.h
index f0d9a43..28bf41f 100644
--- a/socket.h
+++ b/socket.h
@@ -454,11 +454,7 @@ int proto_remote (int proto, bool remote);
#define IPv4_TCP_HEADER_SIZE 40
#define IPv6_UDP_HEADER_SIZE 40
-static const int proto_overhead[] = { /* indexed by PROTO_x */
- IPv4_UDP_HEADER_SIZE,
- IPv4_TCP_HEADER_SIZE,
- IPv4_TCP_HEADER_SIZE
-};
+extern const int proto_overhead[];
static inline int
datagram_overhead (int proto)