projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faebf0f
)
glib-unix.h: Add G_BEGIN/END_DECLS
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Nov 2011 15:26:31 +0000
(10:26 -0500)
committer
Matthias 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
patch
|
blob
|
history
diff --git
a/glib/glib-unix.h
b/glib/glib-unix.h
index 9642b5c8ed5c584c43df61a8fafa7e0966260da1..7be37f0609e64dcdaffce1d5634d4d110fce1cfd 100644
(file)
--- 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__ */