X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Futils.h;h=6c01e6ae84262b68347dc370449d6cdabda57fab;hb=eaea9a2ea3c80478a6aa4e502afaed5b5b6bbfde;hp=371a327df08d3286dd75dd4047ead817426d7fa0;hpb=61d9b04f66055e61f0afdf8955ff890f4da39288;p=meshlink 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