From 4c4238cacf1e2bfaced3808470089202f4f3cfe5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 4 Aug 2008 14:47:27 -0700 Subject: [PATCH] Mark functions not used in other source files static. --- lib/flow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/flow.c b/lib/flow.c index c8e647aa..7a943d71 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -44,7 +44,7 @@ #include "vlog.h" #define THIS_MODULE VLM_flow -struct ip_header * +static struct ip_header * pull_ip(struct buffer *packet) { if (packet->size >= IP_HEADER_LEN) { @@ -57,7 +57,7 @@ pull_ip(struct buffer *packet) return NULL; } -struct tcp_header * +static struct tcp_header * pull_tcp(struct buffer *packet) { if (packet->size >= TCP_HEADER_LEN) { @@ -70,13 +70,13 @@ pull_tcp(struct buffer *packet) return NULL; } -struct udp_header * +static struct udp_header * pull_udp(struct buffer *packet) { return buffer_try_pull(packet, UDP_HEADER_LEN); } -struct eth_header * +static struct eth_header * pull_eth(struct buffer *packet) { return buffer_try_pull(packet, ETH_HEADER_LEN); -- 2.30.2