aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2001-03-30 02:07:13 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2001-03-30 02:07:13 +0800
commit6d9167de80e9e01d8281354a5cebcbbe442be2e6 (patch)
tree21fce762038f694b456d3737038c84eee26b3314 /e-util/e-msgport.c
parent93bd9285904ca669609abab498b1d406395452c9 (diff)
downloadgsoc2013-evolution-6d9167de80e9e01d8281354a5cebcbbe442be2e6.tar.gz
gsoc2013-evolution-6d9167de80e9e01d8281354a5cebcbbe442be2e6.tar.zst
gsoc2013-evolution-6d9167de80e9e01d8281354a5cebcbbe442be2e6.zip
Remove #include <glib.h> Shuffle some headers. Remove #include
2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-utils.h: Remove #include <glib.h> * e-dialog-widgets.c: Shuffle some headers. * e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h> * e-gtk-utils.c: #include <gtk/gtksignal.h> * e-gtk-utils.h: Replace #include <gtk/gtk.h> * e-gui-utils.c: Replace #include <gnome.h> * e-html-utils.c: Shuffle headers. * e-iterator.c: Replace #include <gtk/gtk.h> * e-iterator.h: Replace #include <gtk/gtk.h> * e-list-iterator.c: Remove #include <gtk/gtk.h> * e-list-iterator.h: Replace #include <gtk/gtk.h> * e-list.c: Remove #include <gtk/gtk.h> * e-list.h: Replace #include <gtk/gtk.h> * e-memory.c: #include <string.h> and <stdlib.h> * e-msgport.c: Move around some includes. s/%d/%ld/g in a printf() call to fix a warning. * e-pilot-map.c: #include <string.h>. Replace #include <gnome.h> * e-pilot-util.c: Remove #include <gnome.h> * e-sexp.c: Remove #include <glib.h> * e-sexp.h: Replace #include <gtk/gtk.h> * e-time-utils.c: #include <string.h> * md5-utils.c: Shuffle headers. * test-ename-western-gtk.c: Replace #include <gnome.h> * test-ename-western.c: Same here. svn path=/trunk/; revision=9016
Diffstat (limited to 'e-util/e-msgport.c')
-rw-r--r--e-util/e-msgport.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/e-util/e-msgport.c b/e-util/e-msgport.c
index eb6e07e24f..d7e3e02776 100644
--- a/e-util/e-msgport.c
+++ b/e-util/e-msgport.c
@@ -1,18 +1,17 @@
-
-#include <glib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
-
#include <stdio.h>
-#include "e-msgport.h"
-
#include <pthread.h>
+#include <glib.h>
+
+#include "e-msgport.h"
+
#define m(x) /* msgport debug */
#define t(x) /* thread debug */
@@ -357,7 +356,7 @@ void e_thread_destroy(EThread *e)
info = e->id_list->data;
if (!info->busy) {
e->id_list = g_list_remove(e->id_list, info);
- printf("cleaning up pool thread %d\n", info->id);
+ printf("cleaning up pool thread %ld\n", info->id);
pthread_mutex_unlock(&e->mutex);
if (pthread_cancel(info->id) == 0)
pthread_join(info->id, 0);