diff options
Diffstat (limited to 'src/peerstore/test_peerstore_api_sync.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_sync.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/peerstore/test_peerstore_api_sync.c b/src/peerstore/test_peerstore_api_sync.c index 3803d72c1..8bd8328f8 100644 --- a/src/peerstore/test_peerstore_api_sync.c +++ b/src/peerstore/test_peerstore_api_sync.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include "gnunet_testing_lib.h" | 26 | #include "gnunet_testing_lib.h" |
27 | #include "gnunet_peerstore_service.h" | 27 | #include "gnunet_peerstore_service.h" |
28 | 28 | ||
29 | int ok = 1; | 29 | static int ok = 1; |
30 | 30 | ||
31 | const struct GNUNET_CONFIGURATION_Handle *cfg; | 31 | static const struct GNUNET_CONFIGURATION_Handle *cfg; |
32 | 32 | ||
33 | static struct GNUNET_PEERSTORE_Handle *h; | 33 | static struct GNUNET_PEERSTORE_Handle *h; |
34 | 34 | ||
@@ -37,8 +37,10 @@ static struct GNUNET_PeerIdentity pid; | |||
37 | static char *key = "test_peerstore_api_store_key"; | 37 | static char *key = "test_peerstore_api_store_key"; |
38 | static char *val = "test_peerstore_api_store_val"; | 38 | static char *val = "test_peerstore_api_store_val"; |
39 | 39 | ||
40 | int | 40 | static int |
41 | iterate_cb (void *cls, struct GNUNET_PEERSTORE_Record *record, char *emsg) | 41 | iterate_cb (void *cls, |
42 | const struct GNUNET_PEERSTORE_Record *record, | ||
43 | const char *emsg) | ||
42 | { | 44 | { |
43 | const char *rec_val; | 45 | const char *rec_val; |
44 | 46 | ||