From 7378ea531a4d14b346a5e545b59088d29a8f6af2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 22 Feb 2020 13:18:59 +0100 Subject: [PATCH] hide function xor since it interfers with native xor funtions --- client/util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/util.h b/client/util.h index 21db9198f..fb31e6013 100644 --- a/client/util.h +++ b/client/util.h @@ -23,6 +23,7 @@ uint8_t g_debugMode; uint8_t g_printAndLog; + #define PRINTANDLOG_PRINT 1 #define PRINTANDLOG_LOG 2 @@ -85,7 +86,7 @@ uint8_t GetParity(uint8_t *bits, uint8_t type, int length); void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length); void wiegand_add_parity_swapped(uint8_t *target, uint8_t *source, uint8_t length); -void xor(unsigned char *dst, unsigned char *src, size_t len); +//void xor(unsigned char *dst, unsigned char *src, size_t len); int32_t le24toh(uint8_t data[3]); uint32_t PackBits(uint8_t start, uint8_t len, uint8_t *bits);