From c86dc8a2235e654574aa8a5e539c42643e2ebe4f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jun 2011 04:41:53 +0000 Subject: [PATCH] fix --- src/monkey/action_api.c | 3 ++- src/monkey/bug_crypto_crc.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/monkey/action_api.c b/src/monkey/action_api.c index 045f4109f..0206b87a4 100644 --- a/src/monkey/action_api.c +++ b/src/monkey/action_api.c @@ -513,7 +513,7 @@ expressionListToString (struct Expression *head) return string; } - +#if 0 static int getWatchInfoListSize(struct WatchInfo *head) { @@ -552,6 +552,7 @@ watchInfoListToString(struct WatchInfo *head) return string; } +#endif static const char* getValgrindOutput(struct GNUNET_MONKEY_ACTION_Context *cntxt) { diff --git a/src/monkey/bug_crypto_crc.c b/src/monkey/bug_crypto_crc.c index efe9d7ec4..913d76ee4 100644 --- a/src/monkey/bug_crypto_crc.c +++ b/src/monkey/bug_crypto_crc.c @@ -93,7 +93,7 @@ crc_go (unsigned long crc, const char *buf, size_t len) * @return the resulting CRC32 checksum */ int32_t -GNUNET_CRYPTO_crc32_n (const void *buf, size_t len) +crc32_n (const void *buf, size_t len) { unsigned long crc; crc = crc_go (0L, Z_NULL, 0); @@ -112,7 +112,7 @@ int main () } for (i = 0; i < 1024; i++) { - printf("%d\n", GNUNET_CRYPTO_crc32_n (&buf[i], 1024 - i)); + printf("%d\n", crc32_n (&buf[i], 1024 - i)); } return 0; } -- 2.25.1