2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

ofproto-dpif-upcall: Fix sparse warnings.

Fixes these warnings from "sparse":

../ofproto/ofproto-dpif-upcall.c:761:1: warning: symbol 'free_upcall' was
    not declared. Should it be static?
../ofproto/ofproto-dpif-upcall.c:849:1: warning: symbol 'convert_upcall'
    was not declared. Should it be static?

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
This commit is contained in:
Ben Pfaff
2014-07-26 12:19:03 -07:00
parent 0ded15d4bc
commit 3eed53e9cf

View File

@@ -757,7 +757,7 @@ upcall_init(struct upcall *upcall, struct flow *flow, struct ofpbuf *packet,
xlate_actions(&xin, &upcall->xout);
}
void
static void
free_upcall(struct upcall *upcall)
{
xlate_out_uninit(&upcall->xout);
@@ -845,7 +845,7 @@ read_upcalls(struct handler *handler,
return n_upcalls;
}
int
static int
convert_upcall(struct udpif *udpif, struct upcall *upcall)
{
struct dpif_upcall *dupcall = &upcall->dpif_upcall;