summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian J. Tarricone <brian@tarricone.org>2009-09-04 20:47:12 -0700
committerBrian J. Tarricone <brian@tarricone.org>2009-09-04 20:47:12 -0700
commit4f0429938ac8892894f0117a5b1cdafd0dab6c91 (patch)
treee30d3964049d624b15e8ab485f383631bb17c884
parent3417ffd7ad5c8127eb3bf011b818d67d72837726 (diff)
downloadxfconf-4f0429938ac8892894f0117a5b1cdafd0dab6c91.tar.gz
fix compilation with Sun cc (bug 5477)
-rw-r--r--common/xfconf-gvaluefuncs.h16
-rw-r--r--xfconfd/xfconf-locking-utils.h2
2 files changed, 9 insertions, 9 deletions
diff --git a/common/xfconf-gvaluefuncs.h b/common/xfconf-gvaluefuncs.h
index da67ee1..fff9580 100644
--- a/common/xfconf-gvaluefuncs.h
+++ b/common/xfconf-gvaluefuncs.h
@@ -24,18 +24,18 @@
G_BEGIN_DECLS
-GType _xfconf_gtype_from_string(const gchar *type) G_GNUC_INTERNAL;
-G_CONST_RETURN gchar *_xfconf_string_from_gtype(GType gtype) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL GType _xfconf_gtype_from_string(const gchar *type);
+G_GNUC_INTERNAL G_CONST_RETURN gchar *_xfconf_string_from_gtype(GType gtype);
-gboolean _xfconf_gvalue_from_string(GValue *value,
- const gchar *str) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL gboolean _xfconf_gvalue_from_string(GValue *value,
+ const gchar *str);
-gchar *_xfconf_string_from_gvalue(GValue *value) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL gchar *_xfconf_string_from_gvalue(GValue *value);
-gboolean _xfconf_gvalue_is_equal(const GValue *value1,
- const GValue *value2) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL gboolean _xfconf_gvalue_is_equal(const GValue *value1,
+ const GValue *value2);
-void _xfconf_gvalue_free(GValue *value) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL void _xfconf_gvalue_free(GValue *value);
G_END_DECLS
diff --git a/xfconfd/xfconf-locking-utils.h b/xfconfd/xfconf-locking-utils.h
index e969f47..68757a5 100644
--- a/xfconfd/xfconf-locking-utils.h
+++ b/xfconfd/xfconf-locking-utils.h
@@ -26,7 +26,7 @@ G_BEGIN_DECLS
#define XFCONF_DBUS_TYPE_G_DOUBLE_ARRAY (dbus_g_type_get_collection("GArray", G_TYPE_DOUBLE))
-gboolean xfconf_user_is_in_list(const gchar *list) G_GNUC_INTERNAL;
+G_GNUC_INTERNAL gboolean xfconf_user_is_in_list(const gchar *list);
G_END_DECLS