2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +00:00

ofproto-dpif-xlate: Mark xcfgp and new_xcfg as static.

Found by sparse.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ryan Wilson <wryan@nicira.com>
This commit is contained in:
Ben Pfaff 2014-05-28 15:21:21 -07:00
parent 668332d9f1
commit f439f23b8f

View File

@ -304,8 +304,8 @@ struct xlate_cfg {
struct hmap xbundles; struct hmap xbundles;
struct hmap xports; struct hmap xports;
}; };
OVSRCU_TYPE(struct xlate_cfg *) xcfgp = OVSRCU_TYPE_INITIALIZER; static OVSRCU_TYPE(struct xlate_cfg *) xcfgp = OVSRCU_TYPE_INITIALIZER;
struct xlate_cfg *new_xcfg = NULL; static struct xlate_cfg *new_xcfg = NULL;
static bool may_receive(const struct xport *, struct xlate_ctx *); static bool may_receive(const struct xport *, struct xlate_ctx *);
static void do_xlate_actions(const struct ofpact *, size_t ofpacts_len, static void do_xlate_actions(const struct ofpact *, size_t ofpacts_len,