diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-18 15:02:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-18 15:02:59 +0000 |
commit | e4794e7e4bc63d2023768e3b1017f19bd0d41c5f (patch) | |
tree | cc3573979a8e410998de3ca3d390ee0547d90faa /src/statistics | |
parent | 2be168f3924a38f2d4f9071ccf53e6a032e9087d (diff) | |
download | gnunet-e4794e7e4bc63d2023768e3b1017f19bd0d41c5f.tar.gz gnunet-e4794e7e4bc63d2023768e3b1017f19bd0d41c5f.zip |
cleaning
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index efc6ce128..c34a00ddc 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -93,11 +93,6 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg; | |||
93 | static struct StatsEntry *start; | 93 | static struct StatsEntry *start; |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * Counter used to generate unique values. | ||
97 | */ | ||
98 | static uint32_t uidgen; | ||
99 | |||
100 | /** | ||
101 | * Load persistent values from disk. Disk format is | 96 | * Load persistent values from disk. Disk format is |
102 | * exactly the same format that we also use for | 97 | * exactly the same format that we also use for |
103 | * setting the values over the network. | 98 | * setting the values over the network. |
@@ -316,6 +311,11 @@ handle_set (void *cls, | |||
316 | struct GNUNET_SERVER_Client *client, | 311 | struct GNUNET_SERVER_Client *client, |
317 | const struct GNUNET_MessageHeader *message) | 312 | const struct GNUNET_MessageHeader *message) |
318 | { | 313 | { |
314 | /** | ||
315 | * Counter used to generate unique values. | ||
316 | */ | ||
317 | static uint32_t uidgen; | ||
318 | |||
319 | char *service; | 319 | char *service; |
320 | char *name; | 320 | char *name; |
321 | uint16_t msize; | 321 | uint16_t msize; |