From f0356b074db2436b713e9f91761da8ef16eeb2a9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 14 Apr 2011 13:17:09 -0700 Subject: [PATCH] ofproto: Make ofproto_send_packet() static. It's not used outside of ofproto.c any longer. --- ofproto/ofproto.c | 2 +- ofproto/ofproto.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 6745a49b6..f44ffa8aa 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -940,7 +940,7 @@ ofproto_port_is_floodable(struct ofproto *ofproto, uint16_t odp_port) * will be sent with the VLAN TCI specified by 'vlan_tci & ~VLAN_CFI'. * * Returns 0 if successful, otherwise a positive errno value. */ -int +static int ofproto_send_packet(struct ofproto *ofproto, uint32_t port_no, uint16_t vlan_tci, const struct ofpbuf *packet) diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index d999b8de3..e3bce2ea9 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -141,8 +141,6 @@ void ofproto_get_snoops(const struct ofproto *, struct sset *); void ofproto_get_all_flows(struct ofproto *p, struct ds *); /* Functions for use by ofproto implementation modules, not by clients. */ -int ofproto_send_packet(struct ofproto *, uint32_t port_no, uint16_t vlan_tci, - const struct ofpbuf *); void ofproto_add_flow(struct ofproto *, const struct cls_rule *, const union ofp_action *, size_t n_actions); void ofproto_delete_flow(struct ofproto *, const struct cls_rule *); -- 2.43.0