X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=uhttpd.h;h=9dba44d4ee9a0ba440a44eb259f666b646871156;hp=12cfc287676d870c51d2c5587b6f160d3fe36cf5;hb=bee4450c61fc3c87d76dfb6e4fe68b0e6db2ecfe;hpb=857bf0231d89d3a2bbccfef27af53ce3baaa2403 diff --git a/uhttpd.h b/uhttpd.h index 12cfc28..9dba44d 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -41,8 +41,8 @@ #define UH_LIMIT_CLIENTS 64 -#define __enum_header(_name) HDR_##_name, -#define __blobmsg_header(_name) [HDR_##_name] = { .name = #_name, .type = BLOBMSG_TYPE_STRING }, +#define __enum_header(_name, _val) HDR_##_name, +#define __blobmsg_header(_name, _val) [HDR_##_name] = { .name = #_val, .type = BLOBMSG_TYPE_STRING }, struct client;