]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove unused function xor
authorArne Schwabe <arne@rfc2549.org>
Mon, 11 Mar 2013 20:10:48 +0000 (21:10 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 12 Mar 2013 10:55:40 +0000 (11:55 +0100)
The function name xor is also a reserved keyword in C++

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/buffer.h

index 5e11de053d5f806550c0df7b23823b8c952c6da4..7cae7337d6da9d9a1ae929a203677d5498d50ebe 100644 (file)
@@ -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
  */