glib-unix.h: Add G_BEGIN/END_DECLS
authorMatthias Clasen <mclasen@redhat.com>
Sat, 12 Nov 2011 15:26:31 +0000 (10:26 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 12 Nov 2011 15:32:35 +0000 (10:32 -0500)
The omission was pointed out in bug 663880.

glib/glib-unix.h

index 9642b5c..7be37f0 100644 (file)
@@ -38,6 +38,8 @@
 #error "This header may only be used on UNIX"
 #endif
 
+G_BEGIN_DECLS
+
 /**
  * G_UNIX_ERROR:
  *
@@ -77,4 +79,6 @@ guint    g_unix_signal_add         (gint        signum,
                                     GSourceFunc handler,
                                     gpointer    user_data);
 
-#endif
+G_END_DECLS
+
+#endif  /* __G_UNIX_H__ */