Added UNUSED macro to silnce unused-parameter warnings

This commit is contained in:
thorkill 2015-06-29 14:02:11 +02:00
parent f89b38947a
commit 8d4b974dda

View file

@ -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);