The function name xor is also a reserved keyword in C++ Signed-off-by: Arne Schwabe <a...@rfc2549.org> --- src/openvpn/buffer.h | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/src/openvpn/buffer.h b/src/openvpn/buffer.h index 5e11de0..7cae733 100644 --- a/src/openvpn/buffer.h +++ b/src/openvpn/buffer.h @@ -689,16 +689,6 @@ bool buf_string_compare_advance (struct buffer *src, const char *match); int buf_substring_len (const struct buffer *buf, int delim); /* - * Bitwise operations - */ -static inline void -xor (uint8_t *dest, const uint8_t *src, int len) -{ - while (len-- > 0) - *dest++ ^= *src++; -} - -/* * Print a string which might be NULL */ const char *np (const char *str); -- 1.7.9.5