diff options
-rw-r--r-- | src/fs/Makefile.am | 3 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 8 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_main-window-search.c | 8 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 4 | ||||
-rw-r--r-- | src/identity/gnunet-identity-gtk.c | 6 | ||||
-rw-r--r-- | src/lib/animations.c | 4 | ||||
-rw-r--r-- | src/lib/eventloop.c | 9 | ||||
-rw-r--r-- | src/lib/glade.c | 4 | ||||
-rw-r--r-- | src/lib/os_installation.c | 2 | ||||
-rw-r--r-- | src/main/gnunet-gtk.c | 12 | ||||
-rw-r--r-- | src/namestore/Makefile.am | 4 | ||||
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.c | 8 | ||||
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk-flags.c | 2 | ||||
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk.c | 2 | ||||
-rw-r--r-- | src/setup/gnunet-setup-transport.c | 4 | ||||
-rw-r--r-- | src/setup/gnunet-setup.c | 11 | ||||
-rw-r--r-- | src/setup/gnunet-setup.h | 4 |
17 files changed, 29 insertions, 66 deletions
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index f3e49a74..b011d7ca 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -45,11 +45,10 @@ gnunet_fs_gtk_LDADD = \ | |||
45 | gnunet_fs_gtk_LDFLAGS = \ | 45 | gnunet_fs_gtk_LDFLAGS = \ |
46 | -export-dynamic | 46 | -export-dynamic |
47 | 47 | ||
48 | pkgcfgdir= $(prefix)/share/gnunet-gtk/config.d/ | 48 | pkgcfgdir= $(prefix)/share/gnunet/config.d/ |
49 | 49 | ||
50 | pkgcfg_DATA = \ | 50 | pkgcfg_DATA = \ |
51 | gnunet-fs-gtk.conf | 51 | gnunet-fs-gtk.conf |
52 | 52 | ||
53 | EXTRA_DIST = metatypes.c \ | 53 | EXTRA_DIST = metatypes.c \ |
54 | $(pkgcfg_DATA) | 54 | $(pkgcfg_DATA) |
55 | |||
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c index 054fc7bc..58db7609 100644 --- a/src/fs/gnunet-fs-gtk.c +++ b/src/fs/gnunet-fs-gtk.c | |||
@@ -233,11 +233,9 @@ GNUNET_GTK_main_window_configure_event_cb (GtkWidget *main_window, | |||
233 | * Task run on shutdown. | 233 | * Task run on shutdown. |
234 | * | 234 | * |
235 | * @param cls NULL | 235 | * @param cls NULL |
236 | * @param tc scheduler context, unused | ||
237 | */ | 236 | */ |
238 | static void | 237 | static void |
239 | shutdown_task (void *cls, | 238 | shutdown_task (void *cls) |
240 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
241 | { | 239 | { |
242 | struct SearchLookup *sl; | 240 | struct SearchLookup *sl; |
243 | struct PseuLookupContext *lctx; | 241 | struct PseuLookupContext *lctx; |
@@ -678,11 +676,9 @@ handle_sks_zone_identity (void *cls, | |||
678 | * is initialized. Initializes up GTK and Glade. | 676 | * is initialized. Initializes up GTK and Glade. |
679 | * | 677 | * |
680 | * @param cls handle to the main loop (`struct GNUNET_GTK_MainLoop`) | 678 | * @param cls handle to the main loop (`struct GNUNET_GTK_MainLoop`) |
681 | * @param tc scheduler context, unused | ||
682 | */ | 679 | */ |
683 | static void | 680 | static void |
684 | run (void *cls, | 681 | run (void *cls) |
685 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
686 | { | 682 | { |
687 | unsigned long long dl_parallel; | 683 | unsigned long long dl_parallel; |
688 | unsigned long long req_parallel; | 684 | unsigned long long req_parallel; |
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c index 37339c30..3a2273d5 100644 --- a/src/fs/gnunet-fs-gtk_main-window-search.c +++ b/src/fs/gnunet-fs-gtk_main-window-search.c | |||
@@ -84,11 +84,9 @@ abort_search_lookup (struct SearchLookup *sl) | |||
84 | * the GNS namespace times out. | 84 | * the GNS namespace times out. |
85 | * | 85 | * |
86 | * @param cls the 'struct SearchLookup' | 86 | * @param cls the 'struct SearchLookup' |
87 | * @param tc scheduler context | ||
88 | */ | 87 | */ |
89 | static void | 88 | static void |
90 | timeout_search_lookup (void *cls, | 89 | timeout_search_lookup (void *cls) |
91 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
92 | { | 90 | { |
93 | struct SearchLookup *sl = cls; | 91 | struct SearchLookup *sl = cls; |
94 | 92 | ||
@@ -302,11 +300,9 @@ main_window_search_entry_key_press_event_cb (GtkWidget * widget, | |||
302 | * Asynchronously clean up PseuLookupContext. | 300 | * Asynchronously clean up PseuLookupContext. |
303 | * | 301 | * |
304 | * @param cls the `struct PseuLookupContext` to clean up. | 302 | * @param cls the `struct PseuLookupContext` to clean up. |
305 | * @param tc scheduler context | ||
306 | */ | 303 | */ |
307 | static void | 304 | static void |
308 | end_pseu_lookup (void *cls, | 305 | end_pseu_lookup (void *cls) |
309 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
310 | { | 306 | { |
311 | struct PseuLookupContext *lctx = cls; | 307 | struct PseuLookupContext *lctx = cls; |
312 | 308 | ||
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index a171f32c..450083d7 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -1457,11 +1457,9 @@ add_share_items_to_treestore (struct AddDirClientContext *adcc, | |||
1457 | * in a separate task). | 1457 | * in a separate task). |
1458 | * | 1458 | * |
1459 | * @param cls progress dialog context of our window | 1459 | * @param cls progress dialog context of our window |
1460 | * @param tc scheduler context, unused | ||
1461 | */ | 1460 | */ |
1462 | static void | 1461 | static void |
1463 | stop_scanner_task (void *cls, | 1462 | stop_scanner_task (void *cls) |
1464 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
1465 | { | 1463 | { |
1466 | struct AddDirClientContext *adcc = cls; | 1464 | struct AddDirClientContext *adcc = cls; |
1467 | 1465 | ||
diff --git a/src/identity/gnunet-identity-gtk.c b/src/identity/gnunet-identity-gtk.c index ca5668f0..3edb7bb4 100644 --- a/src/identity/gnunet-identity-gtk.c +++ b/src/identity/gnunet-identity-gtk.c | |||
@@ -379,10 +379,9 @@ GNUNET_GTK_namespace_organizer_namespaces_treeview_column_name_text_edited_cb | |||
379 | * Task run on shutdown. | 379 | * Task run on shutdown. |
380 | * | 380 | * |
381 | * @param cls unused | 381 | * @param cls unused |
382 | * @param tc scheduler context, unused | ||
383 | */ | 382 | */ |
384 | static void | 383 | static void |
385 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 384 | shutdown_task (void *cls) |
386 | { | 385 | { |
387 | struct OperationContext *oc; | 386 | struct OperationContext *oc; |
388 | 387 | ||
@@ -496,10 +495,9 @@ add_ego (void *cls, | |||
496 | * is initialized. Initializes up GTK and Glade. | 495 | * is initialized. Initializes up GTK and Glade. |
497 | * | 496 | * |
498 | * @param cls NULL | 497 | * @param cls NULL |
499 | * @param tc schedule context | ||
500 | */ | 498 | */ |
501 | static void | 499 | static void |
502 | run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 500 | run (void *cls) |
503 | { | 501 | { |
504 | GtkWidget *main_window; | 502 | GtkWidget *main_window; |
505 | GtkTreeIter iter; | 503 | GtkTreeIter iter; |
diff --git a/src/lib/animations.c b/src/lib/animations.c index 0f217d1f..16fa883d 100644 --- a/src/lib/animations.c +++ b/src/lib/animations.c | |||
@@ -261,11 +261,9 @@ redraw_tree_view (struct GNUNET_GTK_AnimationTreeViewHandle *atv) | |||
261 | * Task run periodically to advance all of our animations. | 261 | * Task run periodically to advance all of our animations. |
262 | * | 262 | * |
263 | * @param cls closure, unused | 263 | * @param cls closure, unused |
264 | * @param tc scheduler context, unused | ||
265 | */ | 264 | */ |
266 | static void | 265 | static void |
267 | ticker (void *cls, | 266 | ticker (void *cls) |
268 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
269 | { | 267 | { |
270 | struct GNUNET_GTK_AnimationContext *pos; | 268 | struct GNUNET_GTK_AnimationContext *pos; |
271 | struct GNUNET_GTK_AnimationTreeViewHandle *atv; | 269 | struct GNUNET_GTK_AnimationTreeViewHandle *atv; |
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index e42d422d..50b294f8 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -323,10 +323,9 @@ GNUNET_GTK_main_loop_get_args (struct GNUNET_GTK_MainLoop * ml, | |||
323 | * Task to run Gtk events (within a GNUnet scheduler task). | 323 | * Task to run Gtk events (within a GNUnet scheduler task). |
324 | * | 324 | * |
325 | * @param cls the main loop handle | 325 | * @param cls the main loop handle |
326 | * @param tc scheduler context | ||
327 | */ | 326 | */ |
328 | static void | 327 | static void |
329 | dispatch_gtk_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 328 | dispatch_gtk_task (void *cls) |
330 | { | 329 | { |
331 | struct GNUNET_GTK_MainLoop *ml = cls; | 330 | struct GNUNET_GTK_MainLoop *ml = cls; |
332 | 331 | ||
@@ -355,7 +354,7 @@ resize_cached_poll_array (struct GNUNET_GTK_MainLoop *ml, guint new_size) | |||
355 | * Dummy task to keep our scheduler running. | 354 | * Dummy task to keep our scheduler running. |
356 | */ | 355 | */ |
357 | static void | 356 | static void |
358 | keepalive_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 357 | keepalive_task (void *cls) |
359 | { | 358 | { |
360 | struct GNUNET_GTK_MainLoop *ml = cls; | 359 | struct GNUNET_GTK_MainLoop *ml = cls; |
361 | 360 | ||
@@ -854,8 +853,8 @@ run_main_loop (void *cls, char *const *args, const char *cfgfile, | |||
854 | GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); | 853 | GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); |
855 | (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig); | 854 | (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig); |
856 | GNUNET_free (baseconfig); | 855 | GNUNET_free (baseconfig); |
857 | 856 | /* FIXME: this was supposed to search the GTK-IPK, so the logic here is badly broken now */ | |
858 | if (NULL == (ipath2 = GNUNET_GTK_installation_get_path (GNUNET_OS_IPK_DATADIR))) | 857 | if (NULL == (ipath2 = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR))) |
859 | { | 858 | { |
860 | GNUNET_break (0); | 859 | GNUNET_break (0); |
861 | return; | 860 | return; |
diff --git a/src/lib/glade.c b/src/lib/glade.c index 5b508a85..99a9910e 100644 --- a/src/lib/glade.c +++ b/src/lib/glade.c | |||
@@ -35,7 +35,7 @@ GNUNET_GTK_set_icon_search_path () | |||
35 | { | 35 | { |
36 | char *buf; | 36 | char *buf; |
37 | 37 | ||
38 | buf = GNUNET_GTK_installation_get_path (GNUNET_OS_IPK_ICONDIR); | 38 | buf = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_ICONDIR); |
39 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf); | 39 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf); |
40 | GNUNET_free (buf); | 40 | GNUNET_free (buf); |
41 | } | 41 | } |
@@ -53,7 +53,7 @@ GNUNET_GTK_get_data_dir () | |||
53 | static char *dd; | 53 | static char *dd; |
54 | 54 | ||
55 | if (dd == NULL) | 55 | if (dd == NULL) |
56 | dd = GNUNET_GTK_installation_get_path (GNUNET_OS_IPK_DATADIR); | 56 | dd = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR); |
57 | return dd; | 57 | return dd; |
58 | } | 58 | } |
59 | 59 | ||
diff --git a/src/lib/os_installation.c b/src/lib/os_installation.c index 274ba0ad..9b68b097 100644 --- a/src/lib/os_installation.c +++ b/src/lib/os_installation.c | |||
@@ -31,7 +31,7 @@ | |||
31 | */ | 31 | */ |
32 | static const struct GNUNET_OS_ProjectData gtk_pd = { | 32 | static const struct GNUNET_OS_ProjectData gtk_pd = { |
33 | .libname = "libgnunetgtk", | 33 | .libname = "libgnunetgtk", |
34 | .project_dirname = "gnunet-gtk", | 34 | .project_dirname = "gnunet", |
35 | .binary_name = "gnunet-fs-gtk", | 35 | .binary_name = "gnunet-fs-gtk", |
36 | .env_varname = "GNUNET_GTK_PREFIX", | 36 | .env_varname = "GNUNET_GTK_PREFIX", |
37 | .env_varname_alt = "GNUNET_PREFIX", | 37 | .env_varname_alt = "GNUNET_PREFIX", |
diff --git a/src/main/gnunet-gtk.c b/src/main/gnunet-gtk.c index 01b27a62..8d01a718 100644 --- a/src/main/gnunet-gtk.c +++ b/src/main/gnunet-gtk.c | |||
@@ -127,11 +127,9 @@ get_object (const char *name) | |||
127 | * Actual main to tear down the system. | 127 | * Actual main to tear down the system. |
128 | * | 128 | * |
129 | * @param cls the main loop handle | 129 | * @param cls the main loop handle |
130 | * @param tc scheduler context | ||
131 | */ | 130 | */ |
132 | static void | 131 | static void |
133 | cleanup_task (void *cls, | 132 | cleanup_task (void *cls) |
134 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
135 | { | 133 | { |
136 | struct Plug *p; | 134 | struct Plug *p; |
137 | 135 | ||
@@ -213,11 +211,9 @@ start_process (struct Plug *p) | |||
213 | * Restart crashed plugin process. | 211 | * Restart crashed plugin process. |
214 | * | 212 | * |
215 | * @param cls the `struct Plug` of the plugin | 213 | * @param cls the `struct Plug` of the plugin |
216 | * @param tc scheduler context | ||
217 | */ | 214 | */ |
218 | static void | 215 | static void |
219 | restart_process (void *cls, | 216 | restart_process (void *cls) |
220 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
221 | { | 217 | { |
222 | struct Plug *p = cls; | 218 | struct Plug *p = cls; |
223 | 219 | ||
@@ -307,11 +303,9 @@ plug (const char *container, | |||
307 | * Actual main method that sets up the configuration window. | 303 | * Actual main method that sets up the configuration window. |
308 | * | 304 | * |
309 | * @param cls the main loop handle | 305 | * @param cls the main loop handle |
310 | * @param tc scheduler context | ||
311 | */ | 306 | */ |
312 | static void | 307 | static void |
313 | run (void *cls, | 308 | run (void *cls) |
314 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
315 | { | 309 | { |
316 | GtkWidget *main_window; | 310 | GtkWidget *main_window; |
317 | 311 | ||
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index d30cb2a6..e8320eb8 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am | |||
@@ -1,10 +1,8 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | SUBDIRS = . | 2 | SUBDIRS = . |
3 | 3 | ||
4 | # we use libgnunetutil to load plugins, and it | ||
5 | # only looks in /gnunet, not /gnunet-gtk! | ||
6 | plugindir = $(libdir)/gnunet | 4 | plugindir = $(libdir)/gnunet |
7 | pkgcfgdir= $(prefix)/share/gnunet-gtk/config.d/ | 5 | pkgcfgdir= $(prefix)/share/gnunet/config.d/ |
8 | 6 | ||
9 | AM_CPPFLAGS = \ | 7 | AM_CPPFLAGS = \ |
10 | -I$(top_srcdir)/ \ | 8 | -I$(top_srcdir)/ \ |
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index 20da0446..7f686086 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c | |||
@@ -2591,11 +2591,9 @@ gnunet_namestore_gtk_zone_combobox_changed_cb (GtkComboBox *widget, | |||
2591 | * Actual main to tear down the system. | 2591 | * Actual main to tear down the system. |
2592 | * | 2592 | * |
2593 | * @param cls the main loop handle | 2593 | * @param cls the main loop handle |
2594 | * @param tc scheduler context | ||
2595 | */ | 2594 | */ |
2596 | static void | 2595 | static void |
2597 | cleanup_task (void *cls, | 2596 | cleanup_task (void *cls) |
2598 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
2599 | { | 2597 | { |
2600 | struct OperationContext *oc; | 2598 | struct OperationContext *oc; |
2601 | struct MoveOperationContext *moc; | 2599 | struct MoveOperationContext *moc; |
@@ -2775,11 +2773,9 @@ identity_cb (void *cls, | |||
2775 | * Actual main method that sets up the configuration window. | 2773 | * Actual main method that sets up the configuration window. |
2776 | * | 2774 | * |
2777 | * @param cls the main loop handle | 2775 | * @param cls the main loop handle |
2778 | * @param tc scheduler context | ||
2779 | */ | 2776 | */ |
2780 | static void | 2777 | static void |
2781 | run (void *cls, | 2778 | run (void *cls) |
2782 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
2783 | { | 2779 | { |
2784 | gchar *label; | 2780 | gchar *label; |
2785 | GtkLabel *status_label; | 2781 | GtkLabel *status_label; |
diff --git a/src/peerinfo/gnunet-peerinfo-gtk-flags.c b/src/peerinfo/gnunet-peerinfo-gtk-flags.c index 818dc6d5..0a107894 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk-flags.c +++ b/src/peerinfo/gnunet-peerinfo-gtk-flags.c | |||
@@ -99,7 +99,7 @@ GNUNET_PEERINFO_GTK_get_flag (const char *cc) | |||
99 | mcc = GNUNET_strdup (cc); | 99 | mcc = GNUNET_strdup (cc); |
100 | for (i = 0; i < strlen (mcc); i++) | 100 | for (i = 0; i < strlen (mcc); i++) |
101 | mcc[i] = tolower (mcc[i]); | 101 | mcc[i] = tolower (mcc[i]); |
102 | dir = GNUNET_GTK_installation_get_path (GNUNET_OS_IPK_DATADIR); | 102 | dir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR); |
103 | GNUNET_asprintf (&fn, "%sflags%s%s.png", dir, | 103 | GNUNET_asprintf (&fn, "%sflags%s%s.png", dir, |
104 | DIR_SEPARATOR_STR, mcc); | 104 | DIR_SEPARATOR_STR, mcc); |
105 | GNUNET_free (dir); | 105 | GNUNET_free (dir); |
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c index 0cca80f0..c98a1839 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk.c +++ b/src/peerinfo/gnunet-peerinfo-gtk.c | |||
@@ -1465,7 +1465,7 @@ load_led (const char *color) | |||
1465 | char *dir; | 1465 | char *dir; |
1466 | char *fn; | 1466 | char *fn; |
1467 | 1467 | ||
1468 | dir = GNUNET_GTK_installation_get_path (GNUNET_OS_IPK_DATADIR); | 1468 | dir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_DATADIR); |
1469 | GNUNET_asprintf (&fn, "%s%s.png", dir, | 1469 | GNUNET_asprintf (&fn, "%s%s.png", dir, |
1470 | color); | 1470 | color); |
1471 | GNUNET_free (dir); | 1471 | GNUNET_free (dir); |
diff --git a/src/setup/gnunet-setup-transport.c b/src/setup/gnunet-setup-transport.c index 788a2073..c242c50d 100644 --- a/src/setup/gnunet-setup-transport.c +++ b/src/setup/gnunet-setup-transport.c | |||
@@ -197,11 +197,9 @@ result_callback (void *cls, | |||
197 | * Main function for the connection reversal test. | 197 | * Main function for the connection reversal test. |
198 | * | 198 | * |
199 | * @param cls the 'int*' for the result | 199 | * @param cls the 'int*' for the result |
200 | * @param tc scheduler context | ||
201 | */ | 200 | */ |
202 | static void | 201 | static void |
203 | reversal_test (void *cls, | 202 | reversal_test (void *cls) |
204 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
205 | { | 203 | { |
206 | struct GNUNET_SetupAutoContext *ac = cls; | 204 | struct GNUNET_SetupAutoContext *ac = cls; |
207 | 205 | ||
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c index 5a393630..d70f5bf9 100644 --- a/src/setup/gnunet-setup.c +++ b/src/setup/gnunet-setup.c | |||
@@ -364,10 +364,9 @@ write_configuration () | |||
364 | * Method run on shutdown. | 364 | * Method run on shutdown. |
365 | * | 365 | * |
366 | * @param cls the main loop handle | 366 | * @param cls the main loop handle |
367 | * @param tc scheduler context | ||
368 | */ | 367 | */ |
369 | static void | 368 | static void |
370 | cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 369 | cleanup_task (void *cls) |
371 | { | 370 | { |
372 | if (NULL == ml) | 371 | if (NULL == ml) |
373 | { | 372 | { |
@@ -406,11 +405,9 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
406 | * | 405 | * |
407 | * | 406 | * |
408 | * @param cls closure (unused) | 407 | * @param cls closure (unused) |
409 | * @param tc scheduler context (unused) | ||
410 | */ | 408 | */ |
411 | void | 409 | void |
412 | GNUNET_SETUP_restart_namestore (void *cls, | 410 | GNUNET_SETUP_restart_namestore (void *cls) |
413 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
414 | { | 411 | { |
415 | if (GNUNET_OK != write_configuration ()) | 412 | if (GNUNET_OK != write_configuration ()) |
416 | return; /* no point in re-starting namestore ... */ | 413 | return; /* no point in re-starting namestore ... */ |
@@ -584,11 +581,9 @@ autoconfig_finished_cb (void *cls) | |||
584 | * Actual main method that sets up the configuration window. | 581 | * Actual main method that sets up the configuration window. |
585 | * | 582 | * |
586 | * @param cls the main loop handle | 583 | * @param cls the main loop handle |
587 | * @param tc scheduler context | ||
588 | */ | 584 | */ |
589 | static void | 585 | static void |
590 | run (void *cls, | 586 | run (void *cls) |
591 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
592 | { | 587 | { |
593 | GtkWidget *main_window; | 588 | GtkWidget *main_window; |
594 | #ifndef MINGW | 589 | #ifndef MINGW |
diff --git a/src/setup/gnunet-setup.h b/src/setup/gnunet-setup.h index 91a14958..40fd6e2e 100644 --- a/src/setup/gnunet-setup.h +++ b/src/setup/gnunet-setup.h | |||
@@ -65,11 +65,9 @@ GNUNET_SETUP_get_object (const char *name); | |||
65 | * | 65 | * |
66 | * | 66 | * |
67 | * @param cls closure (unused) | 67 | * @param cls closure (unused) |
68 | * @param tc scheduler context (unused) | ||
69 | */ | 68 | */ |
70 | void | 69 | void |
71 | GNUNET_SETUP_restart_namestore (void *cls, | 70 | GNUNET_SETUP_restart_namestore (void *cls); |
72 | const struct GNUNET_SCHEDULER_TaskContext *tc); | ||
73 | 71 | ||
74 | /** | 72 | /** |
75 | * Our configuration. | 73 | * Our configuration. |