From: Ben Pfaff Date: Mon, 4 Aug 2008 21:47:27 +0000 (-0700) Subject: Mark functions not used in other source files static. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4238cacf1e2bfaced3808470089202f4f3cfe5;p=openvswitch Mark functions not used in other source files static. --- 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);