fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 15 Jun 2011 04:41:53 +0000 (04:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 15 Jun 2011 04:41:53 +0000 (04:41 +0000)
src/monkey/action_api.c
src/monkey/bug_crypto_crc.c

index 045f4109f66999625e8b9e225759794c7588eebd..0206b87a4a57dab8e55a2da073687ca7abf13bce 100644 (file)
@@ -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)
 {
index efe9d7ec48a0e229dc1b72a8a3391f8ceefe58e1..913d76ee43aa67209a0998a0bc290833cfd470b0 100644 (file)
@@ -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;
 }