add BLOBMSG_TYPE_LAST
authorFelix Fietkau <nbd@openwrt.org>
Wed, 29 Dec 2010 14:08:45 +0000 (15:08 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 29 Dec 2010 14:08:45 +0000 (15:08 +0100)
blobmsg.h

index 9e7193934d11b33097896731fc241922a2c238fb..b50cca96d6a7e9aa2902412e5e367ec0f0a5f3bb 100644 (file)
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -29,7 +29,9 @@ enum blobmsg_type {
        BLOBMSG_TYPE_INT64,
        BLOBMSG_TYPE_INT32,
        BLOBMSG_TYPE_INT16,
-       BLOBMSG_TYPE_INT8
+       BLOBMSG_TYPE_INT8,
+       __BLOBMSG_TYPE_LAST,
+       BLOBMSG_TYPE_LAST = __BLOBMSG_TYPE_LAST - 1
 };
 
 struct blobmsg_hdr {