fix json list parsing
[oweals/libubox.git] / blobmsg.h
index aa1f314a9db884bee1b0d50c94bba95664e4af0d..554bed8c1add427af1c94b44e698a17b29e97b8e 100644 (file)
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -139,7 +139,7 @@ static inline int blobmsg_buf_init(struct blob_buf *buf)
        return blob_buf_init(buf, BLOBMSG_TYPE_TABLE);
 }
 
-char *blobmsg_format_json(struct blob_attr *attr);
+char *blobmsg_format_json(struct blob_attr *attr, bool named);
 
 #define blobmsg_for_each_attr(pos, attr, rem) \
        for (rem = blobmsg_data_len(attr), pos = blobmsg_data(attr); \