X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Futils.h;h=6c01e6ae84262b68347dc370449d6cdabda57fab;hp=371a327df08d3286dd75dd4047ead817426d7fa0;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=61d9b04f66055e61f0afdf8955ff890f4da39288 diff --git a/src/utils.h b/src/utils.h index 371a327d..6c01e6ae 100644 --- a/src/utils.h +++ b/src/utils.h @@ -45,6 +45,6 @@ extern const char *winerror(int); #define sockinuse(x) ((x) == EADDRINUSE) #endif -extern unsigned int bitfield_to_int(const void *bitfield, size_t size); +extern unsigned int bitfield_to_int(const void *bitfield, size_t size) __attribute__((__warn_unused_result__)); #endif