diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-30 12:58:48 +1000 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-04-12 15:39:37 -0700 |
commit | d5594404053d8cfbf7990721640f0ace31ae0d1d (patch) | |
tree | cabaa3736fa6a803b76643c0db42e5770f4a5343 | |
parent | 7bbf5e28fcf37816f45bb2d47d164610128f4e83 (diff) |
Purge wbcmp - unused. Use memcmp instead anyway
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r-- | xts5/src/libproto/Utils.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xts5/src/libproto/Utils.c b/xts5/src/libproto/Utils.c index 7c4057ca..f1d4d10e 100644 --- a/xts5/src/libproto/Utils.c +++ b/xts5/src/libproto/Utils.c @@ -186,16 +186,6 @@ register length; } } -wbcmp (b1, b2, length) -register unsigned char *b1, *b2; -register length; -{ - while (length--) { - if (*b1++ != *b2++) return 1; - } - return 0; -} - /* Find the first set bit * i.e. least signifigant 1 bit: * 0 => 0 |