diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-11 20:59:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-11 20:59:34 +0100 |
commit | 5ac774e1b398e4f6efa83664981ba0055addb04f (patch) | |
tree | 1d5c61c9d2f9c34bfca7446421a67168a4641099 /src/psycstore | |
parent | f3b5e31a81223c9bbfd76b483d9efaa7d648e9f7 (diff) | |
download | gnunet-secushare-5ac774e1b398e4f6efa83664981ba0055addb04f.tar.gz gnunet-secushare-5ac774e1b398e4f6efa83664981ba0055addb04f.zip |
fix FTBFS issues
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/Makefile.am | 47 | ||||
-rw-r--r-- | src/psycstore/gnunet-service-psycstore.c | 10 | ||||
-rw-r--r-- | src/psycstore/plugin_psycstore_mysql.c | 4 | ||||
-rw-r--r-- | src/psycstore/plugin_psycstore_postgres.c | 6 | ||||
-rw-r--r-- | src/psycstore/plugin_psycstore_sqlite.c | 4 | ||||
-rw-r--r-- | src/psycstore/psycstore.h | 2 | ||||
-rw-r--r-- | src/psycstore/psycstore_api.c | 8 | ||||
-rw-r--r-- | src/psycstore/test_plugin_psycstore.c | 6 | ||||
-rw-r--r-- | src/psycstore/test_psycstore.c | 8 |
9 files changed, 49 insertions, 46 deletions
diff --git a/src/psycstore/Makefile.am b/src/psycstore/Makefile.am index 557bb42..f3b4545 100644 --- a/src/psycstore/Makefile.am +++ b/src/psycstore/Makefile.am | |||
@@ -1,5 +1,6 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | 2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include \ |
3 | $(GNUNET_CPPFLAGS) | ||
3 | 4 | ||
4 | plugindir = $(libdir)/gnunet | 5 | plugindir = $(libdir)/gnunet |
5 | 6 | ||
@@ -47,7 +48,7 @@ libgnunetpsycstore_la_SOURCES = \ | |||
47 | psycstore_api.c \ | 48 | psycstore_api.c \ |
48 | psycstore.h | 49 | psycstore.h |
49 | libgnunetpsycstore_la_LIBADD = \ | 50 | libgnunetpsycstore_la_LIBADD = \ |
50 | $(top_builddir)/src/util/libgnunetutil.la \ | 51 | -lgnunetutil \ |
51 | $(GN_LIBINTL) $(XLIB) | 52 | $(GN_LIBINTL) $(XLIB) |
52 | libgnunetpsycstore_la_LDFLAGS = \ | 53 | libgnunetpsycstore_la_LDFLAGS = \ |
53 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 54 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
@@ -61,9 +62,9 @@ libexec_PROGRAMS = \ | |||
61 | gnunet_service_psycstore_SOURCES = \ | 62 | gnunet_service_psycstore_SOURCES = \ |
62 | gnunet-service-psycstore.c | 63 | gnunet-service-psycstore.c |
63 | gnunet_service_psycstore_LDADD = \ | 64 | gnunet_service_psycstore_LDADD = \ |
64 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
65 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
66 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ | 65 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ |
66 | -lgnunetstatistics \ | ||
67 | -lgnunetutil \ | ||
67 | $(GN_LIBINTL) | 68 | $(GN_LIBINTL) |
68 | 69 | ||
69 | plugin_LTLIBRARIES = \ | 70 | plugin_LTLIBRARIES = \ |
@@ -76,10 +77,11 @@ libgnunet_plugin_psycstore_mysql_la_SOURCES = \ | |||
76 | plugin_psycstore_mysql.c | 77 | plugin_psycstore_mysql.c |
77 | libgnunet_plugin_psycstore_mysql_la_LIBADD = \ | 78 | libgnunet_plugin_psycstore_mysql_la_LIBADD = \ |
78 | libgnunetpsycstore.la \ | 79 | libgnunetpsycstore.la \ |
79 | $(top_builddir)/src/my/libgnunetmy.la \ | 80 | -lgnunetmy \ |
80 | $(top_builddir)/src/mysql/libgnunetmysql.la \ | 81 | -lgnunetmysql \ |
81 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 82 | -lgnunetstatistics \ |
82 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | 83 | -lgnunetutil \ |
84 | $(XLIBS) \ | ||
83 | $(LTLIBINTL) | 85 | $(LTLIBINTL) |
84 | libgnunet_plugin_psycstore_mysql_la_LDFLAGS = \ | 86 | libgnunet_plugin_psycstore_mysql_la_LDFLAGS = \ |
85 | $(GN_PLUGIN_LDFLAGS) | 87 | $(GN_PLUGIN_LDFLAGS) |
@@ -88,9 +90,10 @@ libgnunet_plugin_psycstore_postgres_la_SOURCES = \ | |||
88 | plugin_psycstore_postgres.c | 90 | plugin_psycstore_postgres.c |
89 | libgnunet_plugin_psycstore_postgres_la_LIBADD = \ | 91 | libgnunet_plugin_psycstore_postgres_la_LIBADD = \ |
90 | libgnunetpsycstore.la \ | 92 | libgnunetpsycstore.la \ |
91 | $(top_builddir)/src/pq/libgnunetpq.la \ | 93 | -lgnunetpq \ |
92 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 94 | -lgnunetstatistics \ |
93 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lpq \ | 95 | -lgnunetutil \ |
96 | $(XLIBS) -lpq \ | ||
94 | $(LTLIBINTL) | 97 | $(LTLIBINTL) |
95 | libgnunet_plugin_psycstore_postgres_la_LDFLAGS = \ | 98 | libgnunet_plugin_psycstore_postgres_la_LDFLAGS = \ |
96 | $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) | 99 | $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS) |
@@ -102,8 +105,9 @@ libgnunet_plugin_psycstore_sqlite_la_SOURCES = \ | |||
102 | plugin_psycstore_sqlite.c | 105 | plugin_psycstore_sqlite.c |
103 | libgnunet_plugin_psycstore_sqlite_la_LIBADD = \ | 106 | libgnunet_plugin_psycstore_sqlite_la_LIBADD = \ |
104 | libgnunetpsycstore.la \ | 107 | libgnunetpsycstore.la \ |
105 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 108 | -lgnunetstatistics \ |
106 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \ | 109 | -lgnunetutil \ |
110 | $(XLIBS) -lsqlite3 \ | ||
107 | $(LTLIBINTL) | 111 | $(LTLIBINTL) |
108 | libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \ | 112 | libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \ |
109 | $(GN_PLUGIN_LDFLAGS) | 113 | $(GN_PLUGIN_LDFLAGS) |
@@ -128,8 +132,8 @@ test_psycstore_SOURCES = \ | |||
128 | test_psycstore.c | 132 | test_psycstore.c |
129 | test_psycstore_LDADD = \ | 133 | test_psycstore_LDADD = \ |
130 | libgnunetpsycstore.la \ | 134 | libgnunetpsycstore.la \ |
131 | $(top_builddir)/src/testing/libgnunettesting.la \ | 135 | -lgnunettesting \ |
132 | $(top_builddir)/src/util/libgnunetutil.la | 136 | -lgnunetutil |
133 | 137 | ||
134 | EXTRA_DIST = \ | 138 | EXTRA_DIST = \ |
135 | test_psycstore.conf | 139 | test_psycstore.conf |
@@ -138,18 +142,17 @@ EXTRA_DIST = \ | |||
138 | test_plugin_psycstore_sqlite_SOURCES = \ | 142 | test_plugin_psycstore_sqlite_SOURCES = \ |
139 | test_plugin_psycstore.c | 143 | test_plugin_psycstore.c |
140 | test_plugin_psycstore_sqlite_LDADD = \ | 144 | test_plugin_psycstore_sqlite_LDADD = \ |
141 | $(top_builddir)/src/testing/libgnunettesting.la \ | 145 | -lgnunettesting \ |
142 | $(top_builddir)/src/util/libgnunetutil.la | 146 | -lgnunetutil |
143 | 147 | ||
144 | test_plugin_psycstore_mysql_SOURCES = \ | 148 | test_plugin_psycstore_mysql_SOURCES = \ |
145 | test_plugin_psycstore.c | 149 | test_plugin_psycstore.c |
146 | test_plugin_psycstore_mysql_LDADD = \ | 150 | test_plugin_psycstore_mysql_LDADD = \ |
147 | $(top_builddir)/src/testing/libgnunettesting.la \ | 151 | -lgnunettesting \ |
148 | $(top_builddir)/src/util/libgnunetutil.la | 152 | -lgnunetutil |
149 | 153 | ||
150 | test_plugin_psycstore_postgres_SOURCES = \ | 154 | test_plugin_psycstore_postgres_SOURCES = \ |
151 | test_plugin_psycstore.c | 155 | test_plugin_psycstore.c |
152 | test_plugin_psycstore_postgres_LDADD = \ | 156 | test_plugin_psycstore_postgres_LDADD = \ |
153 | $(top_builddir)/src/testing/libgnunettesting.la \ | 157 | -lgnunettesting \ |
154 | $(top_builddir)/src/util/libgnunetutil.la | 158 | -lgnunetutil |
155 | |||
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c index 9aebd3e..2852fda 100644 --- a/src/psycstore/gnunet-service-psycstore.c +++ b/src/psycstore/gnunet-service-psycstore.c | |||
@@ -27,11 +27,11 @@ | |||
27 | 27 | ||
28 | #include <inttypes.h> | 28 | #include <inttypes.h> |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include <gnunet/platform.h> |
31 | #include "gnunet_util_lib.h" | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | #include "gnunet_constants.h" | 32 | #include <gnunet/gnunet_constants.h> |
33 | #include "gnunet_protocols.h" | 33 | #include <gnunet/gnunet_protocols.h> |
34 | #include "gnunet_statistics_service.h" | 34 | #include <gnunet/gnunet_statistics_service.h> |
35 | #include "gnunet_psyc_util_lib.h" | 35 | #include "gnunet_psyc_util_lib.h" |
36 | #include "gnunet_psycstore_service.h" | 36 | #include "gnunet_psycstore_service.h" |
37 | #include "gnunet_psycstore_plugin.h" | 37 | #include "gnunet_psycstore_plugin.h" |
diff --git a/src/psycstore/plugin_psycstore_mysql.c b/src/psycstore/plugin_psycstore_mysql.c index c36b6f7..598a367 100644 --- a/src/psycstore/plugin_psycstore_mysql.c +++ b/src/psycstore/plugin_psycstore_mysql.c | |||
@@ -26,11 +26,11 @@ | |||
26 | * @author Christophe Genevey | 26 | * @author Christophe Genevey |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "platform.h" | 29 | #include <gnunet/platform.h> |
30 | #include "gnunet_psycstore_plugin.h" | 30 | #include "gnunet_psycstore_plugin.h" |
31 | #include "gnunet_psycstore_service.h" | 31 | #include "gnunet_psycstore_service.h" |
32 | #include "gnunet_multicast_service.h" | 32 | #include "gnunet_multicast_service.h" |
33 | #include "gnunet_crypto_lib.h" | 33 | #include <gnunet/gnunet_crypto_lib.h> |
34 | #include "gnunet_psyc_util_lib.h" | 34 | #include "gnunet_psyc_util_lib.h" |
35 | #include "psycstore.h" | 35 | #include "psycstore.h" |
36 | #include "gnunet_my_lib.h" | 36 | #include "gnunet_my_lib.h" |
diff --git a/src/psycstore/plugin_psycstore_postgres.c b/src/psycstore/plugin_psycstore_postgres.c index 33c9960..2dcafd4 100644 --- a/src/psycstore/plugin_psycstore_postgres.c +++ b/src/psycstore/plugin_psycstore_postgres.c | |||
@@ -28,14 +28,14 @@ | |||
28 | * @author Jeffrey Burdges | 28 | * @author Jeffrey Burdges |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "platform.h" | 31 | #include <gnunet/platform.h> |
32 | #include "gnunet_psycstore_plugin.h" | 32 | #include "gnunet_psycstore_plugin.h" |
33 | #include "gnunet_psycstore_service.h" | 33 | #include "gnunet_psycstore_service.h" |
34 | #include "gnunet_multicast_service.h" | 34 | #include "gnunet_multicast_service.h" |
35 | #include "gnunet_crypto_lib.h" | 35 | #include <gnunet/gnunet_crypto_lib.h> |
36 | #include "gnunet_psyc_util_lib.h" | 36 | #include "gnunet_psyc_util_lib.h" |
37 | #include "psycstore.h" | 37 | #include "psycstore.h" |
38 | #include "gnunet_pq_lib.h" | 38 | #include <gnunet/gnunet_pq_lib.h> |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * After how many ms "busy" should a DB operation fail for good? A | 41 | * After how many ms "busy" should a DB operation fail for good? A |
diff --git a/src/psycstore/plugin_psycstore_sqlite.c b/src/psycstore/plugin_psycstore_sqlite.c index 24de383..982f2ec 100644 --- a/src/psycstore/plugin_psycstore_sqlite.c +++ b/src/psycstore/plugin_psycstore_sqlite.c | |||
@@ -30,11 +30,11 @@ | |||
30 | * thus it can only store 63 bits of the uint64_t's. | 30 | * thus it can only store 63 bits of the uint64_t's. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "platform.h" | 33 | #include <gnunet/platform.h> |
34 | #include "gnunet_psycstore_plugin.h" | 34 | #include "gnunet_psycstore_plugin.h" |
35 | #include "gnunet_psycstore_service.h" | 35 | #include "gnunet_psycstore_service.h" |
36 | #include "gnunet_multicast_service.h" | 36 | #include "gnunet_multicast_service.h" |
37 | #include "gnunet_crypto_lib.h" | 37 | #include <gnunet/gnunet_crypto_lib.h> |
38 | #include "gnunet_psyc_util_lib.h" | 38 | #include "gnunet_psyc_util_lib.h" |
39 | #include "psycstore.h" | 39 | #include "psycstore.h" |
40 | #include <sqlite3.h> | 40 | #include <sqlite3.h> |
diff --git a/src/psycstore/psycstore.h b/src/psycstore/psycstore.h index 9a1c06a..dde714e 100644 --- a/src/psycstore/psycstore.h +++ b/src/psycstore/psycstore.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #ifndef GNUNET_PSYCSTORE_H | 27 | #ifndef GNUNET_PSYCSTORE_H |
28 | #define GNUNET_PSYCSTORE_H | 28 | #define GNUNET_PSYCSTORE_H |
29 | 29 | ||
30 | #include "gnunet_common.h" | 30 | #include <gnunet/gnunet_common.h> |
31 | 31 | ||
32 | 32 | ||
33 | GNUNET_NETWORK_STRUCT_BEGIN | 33 | GNUNET_NETWORK_STRUCT_BEGIN |
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index ab4cd0f..6fe3af1 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c | |||
@@ -27,10 +27,10 @@ | |||
27 | 27 | ||
28 | #include <inttypes.h> | 28 | #include <inttypes.h> |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include <gnunet/platform.h> |
31 | #include "gnunet_util_lib.h" | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | #include "gnunet_constants.h" | 32 | #include <gnunet/gnunet_constants.h> |
33 | #include "gnunet_protocols.h" | 33 | #include <gnunet/gnunet_protocols.h> |
34 | #include "gnunet_psycstore_service.h" | 34 | #include "gnunet_psycstore_service.h" |
35 | #include "gnunet_multicast_service.h" | 35 | #include "gnunet_multicast_service.h" |
36 | #include "psycstore.h" | 36 | #include "psycstore.h" |
diff --git a/src/psycstore/test_plugin_psycstore.c b/src/psycstore/test_plugin_psycstore.c index ff4eac8..b074ec1 100644 --- a/src/psycstore/test_plugin_psycstore.c +++ b/src/psycstore/test_plugin_psycstore.c | |||
@@ -28,9 +28,9 @@ | |||
28 | 28 | ||
29 | #include <inttypes.h> | 29 | #include <inttypes.h> |
30 | 30 | ||
31 | #include "platform.h" | 31 | #include <gnunet/platform.h> |
32 | #include "gnunet_util_lib.h" | 32 | #include <gnunet/gnunet_util_lib.h> |
33 | #include "gnunet_testing_lib.h" | 33 | #include <gnunet/gnunet_testing_lib.h> |
34 | #include "gnunet_psycstore_plugin.h" | 34 | #include "gnunet_psycstore_plugin.h" |
35 | #include "gnunet_psycstore_service.h" | 35 | #include "gnunet_psycstore_service.h" |
36 | #include "gnunet_multicast_service.h" | 36 | #include "gnunet_multicast_service.h" |
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c index ca50904..76494a8 100644 --- a/src/psycstore/test_psycstore.c +++ b/src/psycstore/test_psycstore.c | |||
@@ -27,10 +27,10 @@ | |||
27 | 27 | ||
28 | #include <inttypes.h> | 28 | #include <inttypes.h> |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include <gnunet/platform.h> |
31 | #include "gnunet_util_lib.h" | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | #include "gnunet_common.h" | 32 | #include <gnunet/gnunet_common.h> |
33 | #include "gnunet_testing_lib.h" | 33 | #include <gnunet/gnunet_testing_lib.h> |
34 | #include "gnunet_psycstore_service.h" | 34 | #include "gnunet_psycstore_service.h" |
35 | 35 | ||
36 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 36 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |