[glib] glib-unix.h: Add G_BEGIN/END_DECLS



commit 5d9f05eef147f17d71e38c9fba2e3f622c9ed21b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 12 10:26:31 2011 -0500

    glib-unix.h: Add G_BEGIN/END_DECLS
    
    The omission was pointed out in bug 663880.

 glib/glib-unix.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/glib/glib-unix.h b/glib/glib-unix.h
index 9642b5c..7be37f0 100644
--- a/glib/glib-unix.h
+++ b/glib/glib-unix.h
@@ -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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]