From: Ben Pfaff Date: Wed, 23 Apr 2008 00:48:22 +0000 (-0700) Subject: Mark functions not meant to be exported as static. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b2cd3880cc2a67a2925465ee622bad8b986698;p=openvswitch Mark functions not meant to be exported as static. --- diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 6742dfc6..4983f84f 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -396,8 +396,9 @@ ofp_print_flow_mod(struct ds *string, const void *oh, size_t len, /* Pretty-print the OFPT_FLOW_EXPIRED packet of 'len' bytes at 'oh' to 'string' * at the given 'verbosity' level. */ -void ofp_print_flow_expired(struct ds *string, const void *oh, size_t len, - int verbosity) +static void +ofp_print_flow_expired(struct ds *string, const void *oh, size_t len, + int verbosity) { const struct ofp_flow_expired *ofe = oh; @@ -409,8 +410,9 @@ void ofp_print_flow_expired(struct ds *string, const void *oh, size_t len, /* Pretty-print the OFPT_PORT_STATUS packet of 'len' bytes at 'oh' to 'string' * at the given 'verbosity' level. */ -void ofp_print_port_status(struct ds *string, const void *oh, size_t len, - int verbosity) +static void +ofp_print_port_status(struct ds *string, const void *oh, size_t len, + int verbosity) { const struct ofp_port_status *ops = oh;