summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-28 05:02:30 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-28 05:02:30 +0000
commit08e5183b36d184ce131bc6a9c70ac7d7698bc8dd (patch)
tree91fab386cd586ab16faa9585c0f67ac966eb4129 /gmodule
parent98d552e0cd0479ec373055eefc11716d2927936e (diff)
Clean up includes.
2006-12-28 Matthias Clasen <mclasen@redhat.com> * gmodule.c: Clean up includes.
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/ChangeLog10
-rw-r--r--gmodule/gmodule.c26
2 files changed, 20 insertions, 16 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog
index 819cb23fd..fcfa4aec8 100644
--- a/gmodule/ChangeLog
+++ b/gmodule/ChangeLog
@@ -1,8 +1,12 @@
+2006-12-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gmodule.c: Clean up includes.
+
2006-12-13 Matthias Clasen <mclasen@redhat.com>
- * gmodule.c (g_module_open):
- * gmodule-dl.c (_g_module_symbol): Handle valid symbols
- that are NULL correctly. (#385388, Felix Kater)
+ * gmodule.c (g_module_open):
+ * gmodule-dl.c (_g_module_symbol): Handle valid symbols
+ that are NULL correctly. (#385388, Felix Kater)
Mon Sep 11 14:58:56 2006 Tim Janik <timj@imendio.com>
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 75c4e709b..65966a496 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -28,24 +28,24 @@
* MT safe
*/
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-#include "gstdio.h"
-#include "gmodule.h"
-#include "gmoduleconf.h"
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
+#include <config.h>
+
+#include <errno.h>
+#include <string.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#ifdef HAVE_UNISTD_H
-# include <unistd.h>
+#include <unistd.h>
#endif
#if defined (G_OS_WIN32)
-# include <io.h> /* For open() and close() prototypes. */
+#include <io.h> /* For open() and close() prototypes. */
#endif
+#include "gstdio.h"
+#include "gmodule.h"
+#include "gmoduleconf.h"
+
/* We maintain a list of modules, so we can reference count them.
* That's needed because some platforms don't support refernce counts on
* modules e.g. the shl_* implementation of HP-UX