diff --git a/libubus.h b/libubus.h
index 08dac49..d419205 100644
--- a/libubus.h
+++ b/libubus.h
@@ -285,7 +285,7 @@ int ubus_invoke_async(struct ubus_context *ctx, uint32_t 
obj, const char *method
 int ubus_send_reply(struct ubus_context *ctx, struct ubus_request_data *req,
                    struct blob_attr *msg);
 
-static inline void ubus_defer_request(struct ubus_context *ctx,
+static inline void ubus_defer_request(struct ubus_context *ctx 
__attribute__((__unused__)),
                                      struct ubus_request_data *req,
                                      struct ubus_request_data *new_req)
 {
@@ -293,7 +293,7 @@ static inline void ubus_defer_request(struct ubus_context 
*ctx,
     req->deferred = true;
 }
 
-static inline void ubus_request_set_fd(struct ubus_context *ctx,
+static inline void ubus_request_set_fd(struct ubus_context *ctx 
__attribute__((__unused__)),
                                       struct ubus_request_data *req, int fd)
 {
     req->fd = fd;
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to