X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd.c;h=60c0404f1052d8793339a52b09222189c8d2b2e1;hp=a283f597a1c916e4d56aa38cecfc3c0e4554b781;hb=faedeaaca861a84fe1718358cd281db11334b5c9;hpb=1643f728e7c99362d1925d6085a376f18cf46b5e diff --git a/ubusd.c b/ubusd.c index a283f59..60c0404 100644 --- a/ubusd.c +++ b/ubusd.c @@ -26,7 +26,7 @@ static struct ubus_msg_buf *ubus_msg_unshare(struct ubus_msg_buf *ub) return ub; } -struct ubus_msg_buf *ubus_msg_ref(struct ubus_msg_buf *ub) +static struct ubus_msg_buf *ubus_msg_ref(struct ubus_msg_buf *ub) { if (ub->refcount == ~0) return ubus_msg_unshare(ub);