make ubus_msg_ref static
[oweals/ubus.git] / ubusd.c
diff --git a/ubusd.c b/ubusd.c
index a283f597a1c916e4d56aa38cecfc3c0e4554b781..60c0404f1052d8793339a52b09222189c8d2b2e1 100644 (file)
--- 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);