Added UNUSED macro to silnce unused-parameter warnings
This commit is contained in:
parent
f89b38947a
commit
8d4b974dda
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
|||
#ifndef __TINC_UTILS_H__
|
||||
#define __TINC_UTILS_H__
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
extern int hex2bin(const char *src, void *dst, int length);
|
||||
extern int bin2hex(const void *src, char *dst, int length);
|
||||
|
||||
|
|
Loading…
Reference in a new issue