diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 19:35:42 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 19:35:42 +0900 |
commit | 38e77d7ab84a21e9aebd558558105c95254ac430 (patch) | |
tree | 016efa7b50dfd39e42b41b6e3075874de6e5b633 /src/gnsrecord | |
parent | 292cefa2a12a78ae54fb56a3961452f439cb744f (diff) | |
download | gnunet-38e77d7ab84a21e9aebd558558105c95254ac430.tar.gz gnunet-38e77d7ab84a21e9aebd558558105c95254ac430.zip |
UTIL: Allow only inlcusion of util glib-style.
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/gnsrecord.c | 2 | ||||
-rw-r--r-- | src/gnsrecord/gnsrecord_crypto.h | 2 | ||||
-rw-r--r-- | src/gnsrecord/gnsrecord_misc.c | 3 | ||||
-rw-r--r-- | src/gnsrecord/gnsrecord_serialization.c | 4 | ||||
-rw-r--r-- | src/gnsrecord/gnunet-gnsrecord-tvg.c | 4 | ||||
-rw-r--r-- | src/gnsrecord/json_gnsrecord.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/perf_gnsrecord_crypto.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/plugin_gnsrecord_dns.c | 2 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_block_expiration.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_crypto.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_serialization.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_testvectors.c | 1 |
12 files changed, 1 insertions, 22 deletions
diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c index 55100a95e..c71dc1708 100644 --- a/src/gnsrecord/gnsrecord.c +++ b/src/gnsrecord/gnsrecord.c | |||
@@ -26,12 +26,10 @@ | |||
26 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
30 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
32 | #include "gnunet_gnsrecord_lib.h" | 31 | #include "gnunet_gnsrecord_lib.h" |
33 | #include "gnunet_gnsrecord_plugin.h" | 32 | #include "gnunet_gnsrecord_plugin.h" |
34 | #include "gnunet_tun_lib.h" | ||
35 | 33 | ||
36 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) | 34 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) |
37 | 35 | ||
diff --git a/src/gnsrecord/gnsrecord_crypto.h b/src/gnsrecord/gnsrecord_crypto.h index 79a7e6fb9..4f2e4a5ca 100644 --- a/src/gnsrecord/gnsrecord_crypto.h +++ b/src/gnsrecord/gnsrecord_crypto.h | |||
@@ -31,8 +31,6 @@ | |||
31 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
32 | #include "gnunet_arm_service.h" | 32 | #include "gnunet_arm_service.h" |
33 | #include "gnunet_gnsrecord_lib.h" | 33 | #include "gnunet_gnsrecord_lib.h" |
34 | #include "gnunet_dnsparser_lib.h" | ||
35 | #include "gnunet_tun_lib.h" | ||
36 | 34 | ||
37 | /** | 35 | /** |
38 | * Information we have in an encrypted block with record data (i.e. in the DHT). | 36 | * Information we have in an encrypted block with record data (i.e. in the DHT). |
diff --git a/src/gnsrecord/gnsrecord_misc.c b/src/gnsrecord/gnsrecord_misc.c index c179534c9..fde553a83 100644 --- a/src/gnsrecord/gnsrecord_misc.c +++ b/src/gnsrecord/gnsrecord_misc.c | |||
@@ -26,14 +26,11 @@ | |||
26 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
30 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
32 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
33 | #include "gnunet_arm_service.h" | 32 | #include "gnunet_arm_service.h" |
34 | #include "gnunet_gnsrecord_lib.h" | 33 | #include "gnunet_gnsrecord_lib.h" |
35 | #include "gnunet_dnsparser_lib.h" | ||
36 | #include "gnunet_tun_lib.h" | ||
37 | 34 | ||
38 | 35 | ||
39 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) | 36 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) |
diff --git a/src/gnsrecord/gnsrecord_serialization.c b/src/gnsrecord/gnsrecord_serialization.c index a32605692..053edfd33 100644 --- a/src/gnsrecord/gnsrecord_serialization.c +++ b/src/gnsrecord/gnsrecord_serialization.c | |||
@@ -26,15 +26,11 @@ | |||
26 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
30 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
32 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
33 | #include "gnunet_arm_service.h" | 32 | #include "gnunet_arm_service.h" |
34 | #include "gnunet_gnsrecord_lib.h" | 33 | #include "gnunet_gnsrecord_lib.h" |
35 | #include "gnunet_dnsparser_lib.h" | ||
36 | #include "gnunet_tun_lib.h" | ||
37 | |||
38 | 34 | ||
39 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) | 35 | #define LOG(kind, ...) GNUNET_log_from (kind, "gnsrecord", __VA_ARGS__) |
40 | 36 | ||
diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c b/src/gnsrecord/gnunet-gnsrecord-tvg.c index 6f6ee6347..ef111b3bd 100644 --- a/src/gnsrecord/gnunet-gnsrecord-tvg.c +++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c | |||
@@ -24,15 +24,13 @@ | |||
24 | * @author Martin Schanzenbach | 24 | * @author Martin Schanzenbach |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
28 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_signatures.h" | 28 | #include "gnunet_signatures.h" |
30 | #include "gnunet_gns_service.h" | 29 | #include "gnunet_gns_service.h" |
31 | #include "gnunet_gnsrecord_lib.h" | 30 | #include "gnunet_gnsrecord_lib.h" |
32 | #include "gnunet_dnsparser_lib.h" | ||
33 | #include "gnunet_testing_lib.h" | 31 | #include "gnunet_testing_lib.h" |
34 | #include <inttypes.h> | ||
35 | #include "gnsrecord_crypto.h" | 32 | #include "gnsrecord_crypto.h" |
33 | #include <inttypes.h> | ||
36 | 34 | ||
37 | 35 | ||
38 | static char *d_pkey = | 36 | static char *d_pkey = |
diff --git a/src/gnsrecord/json_gnsrecord.c b/src/gnsrecord/json_gnsrecord.c index 9ef681b60..0725cb1a1 100644 --- a/src/gnsrecord/json_gnsrecord.c +++ b/src/gnsrecord/json_gnsrecord.c | |||
@@ -24,7 +24,6 @@ | |||
24 | * @author Philippe Buschmann | 24 | * @author Philippe Buschmann |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
28 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_json_lib.h" | 28 | #include "gnunet_json_lib.h" |
30 | #include "gnunet_gnsrecord_lib.h" | 29 | #include "gnunet_gnsrecord_lib.h" |
diff --git a/src/gnsrecord/perf_gnsrecord_crypto.c b/src/gnsrecord/perf_gnsrecord_crypto.c index 0cedb8ee0..6b5f84235 100644 --- a/src/gnsrecord/perf_gnsrecord_crypto.c +++ b/src/gnsrecord/perf_gnsrecord_crypto.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * @brief testcase for block creation, verification and decryption | 22 | * @brief testcase for block creation, verification and decryption |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_gnsrecord_lib.h" | 26 | #include "gnunet_gnsrecord_lib.h" |
28 | 27 | ||
diff --git a/src/gnsrecord/plugin_gnsrecord_dns.c b/src/gnsrecord/plugin_gnsrecord_dns.c index 4c7f36594..5844d9eda 100644 --- a/src/gnsrecord/plugin_gnsrecord_dns.c +++ b/src/gnsrecord/plugin_gnsrecord_dns.c | |||
@@ -24,9 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
28 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_dnsparser_lib.h" | ||
30 | #include "gnunet_gnsrecord_plugin.h" | 28 | #include "gnunet_gnsrecord_plugin.h" |
31 | 29 | ||
32 | 30 | ||
diff --git a/src/gnsrecord/test_gnsrecord_block_expiration.c b/src/gnsrecord/test_gnsrecord_block_expiration.c index 6d2ad6d5b..d14ce3914 100644 --- a/src/gnsrecord/test_gnsrecord_block_expiration.c +++ b/src/gnsrecord/test_gnsrecord_block_expiration.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * @brief testcase for block creation, verification and decryption | 22 | * @brief testcase for block creation, verification and decryption |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_gnsrecord_lib.h" | 26 | #include "gnunet_gnsrecord_lib.h" |
28 | 27 | ||
diff --git a/src/gnsrecord/test_gnsrecord_crypto.c b/src/gnsrecord/test_gnsrecord_crypto.c index 612db4c99..ad7b62cc8 100644 --- a/src/gnsrecord/test_gnsrecord_crypto.c +++ b/src/gnsrecord/test_gnsrecord_crypto.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * @brief testcase for block creation, verification and decryption | 22 | * @brief testcase for block creation, verification and decryption |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_dnsparser_lib.h" | 26 | #include "gnunet_dnsparser_lib.h" |
28 | #include "gnunet_gnsrecord_lib.h" | 27 | #include "gnunet_gnsrecord_lib.h" |
diff --git a/src/gnsrecord/test_gnsrecord_serialization.c b/src/gnsrecord/test_gnsrecord_serialization.c index e89cc3e1b..d268cb7f3 100644 --- a/src/gnsrecord/test_gnsrecord_serialization.c +++ b/src/gnsrecord/test_gnsrecord_serialization.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * @brief testcase for gnsrecord_serialization.c | 22 | * @brief testcase for gnsrecord_serialization.c |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_gnsrecord_lib.h" | 26 | #include "gnunet_gnsrecord_lib.h" |
28 | #include "gnunet_dnsparser_lib.h" | 27 | #include "gnunet_dnsparser_lib.h" |
diff --git a/src/gnsrecord/test_gnsrecord_testvectors.c b/src/gnsrecord/test_gnsrecord_testvectors.c index f2b90df3b..bb4922417 100644 --- a/src/gnsrecord/test_gnsrecord_testvectors.c +++ b/src/gnsrecord/test_gnsrecord_testvectors.c | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "platform.h" | 1 | #include "platform.h" |
2 | #include "platform.h" | ||
3 | #include "gnunet_util_lib.h" | 2 | #include "gnunet_util_lib.h" |
4 | #include "gnunet_signatures.h" | 3 | #include "gnunet_signatures.h" |
5 | #include "gnunet_gns_service.h" | 4 | #include "gnunet_gns_service.h" |