From 462b6d5228660d664c3158902ee50687edf3475d Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 11 Mar 2013 21:10:48 +0100 Subject: Remove unused function xor The function name xor is also a reserved keyword in C++ Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <1363032651-23934-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7390 Signed-off-by: Gert Doering --- 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 @@ -688,16 +688,6 @@ bool buf_string_match_head_str (const struct buffer *src, const char *match); 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 */ -- cgit