diff options
author | Christian Grothoff <christian@grothoff.org> | 2005-07-05 21:49:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2005-07-05 21:49:41 +0000 |
commit | 5ac898744af4702fa78ca55b79d6ce33e78210ae (patch) | |
tree | db9eab1e5cec013b47e0b2f9190a0dd8b5016a3b /src | |
parent | eeed54d9886a6f04bf175f9698034f4a34b3e77e (diff) | |
download | gnunet-gtk-5ac898744af4702fa78ca55b79d6ce33e78210ae.tar.gz gnunet-gtk-5ac898744af4702fa78ca55b79d6ce33e78210ae.zip |
working around libtool, glibc, pthread limiations
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/about/about.c | 2 | ||||
-rw-r--r-- | src/plugins/daemon/daemon.c | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/about/about.c b/src/plugins/about/about.c index 0dcf032e..0b05f3e2 100644 --- a/src/plugins/about/about.c +++ b/src/plugins/about/about.c | |||
@@ -47,7 +47,7 @@ void on_about_clicked(GtkWidget *dummy, | |||
47 | g_object_unref(axml); | 47 | g_object_unref(axml); |
48 | } | 48 | } |
49 | 49 | ||
50 | void __attribute__ ((constructor)) about_ltdl_init(void) { | 50 | void init_about() { |
51 | GtkWidget * tab; | 51 | GtkWidget * tab; |
52 | 52 | ||
53 | tab | 53 | tab |
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c index df265a79..e6b1d833 100644 --- a/src/plugins/daemon/daemon.c +++ b/src/plugins/daemon/daemon.c | |||
@@ -130,7 +130,7 @@ void on_stopDaemon_clicked(GtkWidget * widget, | |||
130 | cronCheckDaemon(NULL); | 130 | cronCheckDaemon(NULL); |
131 | } | 131 | } |
132 | 132 | ||
133 | void __attribute__ ((constructor)) daemon_ltdl_init(void) { | 133 | void init_daemon() { |
134 | GtkWidget * tab; | 134 | GtkWidget * tab; |
135 | 135 | ||
136 | tab | 136 | tab |
@@ -144,13 +144,10 @@ void __attribute__ ((constructor)) daemon_ltdl_init(void) { | |||
144 | NULL); | 144 | NULL); |
145 | } | 145 | } |
146 | 146 | ||
147 | void __attribute__ ((destructor)) daemon_ltdl_fini(void) { | 147 | void done_daemon() { |
148 | delCronJob(&cronCheckDaemon, | 148 | delCronJob(&cronCheckDaemon, |
149 | 15 * cronSECONDS, | 149 | 15 * cronSECONDS, |
150 | NULL); | 150 | NULL); |
151 | } | 151 | } |
152 | 152 | ||
153 | |||
154 | |||
155 | |||
156 | /* end of daemon.c */ | 153 | /* end of daemon.c */ |