[Xfce4-commits] <libxfce4util:master> Fix "empty declaration" compiler warnings.

Nick Schermer noreply at xfce.org
Sun Mar 27 14:08:01 CEST 2011


Updating branch refs/heads/master
         to 7878770baf8a4d28e0844b151da1d397c036b9bf (commit)
       from 78e3a88f25fbb2708b8e68c073ab8c3d738f8dc9 (commit)

commit 7878770baf8a4d28e0844b151da1d397c036b9bf
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Mar 27 14:06:24 2011 +0200

    Fix "empty declaration" compiler warnings.

 libxfce4util/libxfce4util-config.h.in |    4 ++--
 libxfce4util/libxfce4util-private.h   |    4 ++--
 libxfce4util/xfce-generics.h          |    4 ++--
 libxfce4util/xfce-kiosk.h             |    4 ++--
 libxfce4util/xfce-license.h           |    4 ++--
 libxfce4util/xfce-private.h           |    4 ++--
 libxfce4util/xfce-rc.h                |    4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/libxfce4util/libxfce4util-config.h.in b/libxfce4util/libxfce4util-config.h.in
index 44c422d..5d42580 100644
--- a/libxfce4util/libxfce4util-config.h.in
+++ b/libxfce4util/libxfce4util-config.h.in
@@ -28,7 +28,7 @@
 
 #include <glib.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 #define LIBXFCE4UTIL_MAJOR_VERSION	@LIBXFCE4UTIL_VERSION_MAJOR@
 #define LIBXFCE4UTIL_MINOR_VERSION	@LIBXFCE4UTIL_VERSION_MINOR@
@@ -55,6 +55,6 @@ extern const guint libxfce4util_micro_version;
 #endif /* __GNUC__ */
 #endif /* !defined(G_GNUC_WARN_UNUSED_RESULT) */
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif	/* !__LIBXFCE4UTIL_CONFIG_H__ */
diff --git a/libxfce4util/libxfce4util-private.h b/libxfce4util/libxfce4util-private.h
index 9e26d99..2bbeeca 100644
--- a/libxfce4util/libxfce4util-private.h
+++ b/libxfce4util/libxfce4util-private.h
@@ -28,10 +28,10 @@
 
 #include <libxfce4util/libxfce4util.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 G_GNUC_INTERNAL void _xfce_i18n_init (void);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__LIBXFCE4UTIL_PRIVATE_H__ */
diff --git a/libxfce4util/xfce-generics.h b/libxfce4util/xfce-generics.h
index c49e702..b668ef0 100644
--- a/libxfce4util/xfce-generics.h
+++ b/libxfce4util/xfce-generics.h
@@ -28,7 +28,7 @@
 
 #include <glib.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 #define XFCE_GENERIC_STACK(Type)                                            \
   struct                                                                    \
@@ -112,6 +112,6 @@ xfce_stack_alloc (gsize element_size)
     }                                                                       \
   G_STMT_END
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_GENERICS_H__ */
diff --git a/libxfce4util/xfce-kiosk.h b/libxfce4util/xfce-kiosk.h
index 25d9d8c..8b56243 100644
--- a/libxfce4util/xfce-kiosk.h
+++ b/libxfce4util/xfce-kiosk.h
@@ -28,7 +28,7 @@
 
 #include <glib.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 #define XFCE_KIOSK(obj) ((XfceKiosk *)(obj))
 
@@ -40,6 +40,6 @@ gboolean   xfce_kiosk_query (const XfceKiosk *kiosk,
                              const gchar     *capability);
 void       xfce_kiosk_free  (XfceKiosk       *kiosk);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_KIOSK_H__ */
diff --git a/libxfce4util/xfce-license.h b/libxfce4util/xfce-license.h
index 9c014f7..169c63b 100644
--- a/libxfce4util/xfce-license.h
+++ b/libxfce4util/xfce-license.h
@@ -26,7 +26,7 @@
 #ifndef __XFCE_LICENSE_H__
 #define __XFCE_LICENSE_H__
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 /**
  * XfceLicenseTextType:
@@ -49,6 +49,6 @@ const gchar *xfce_get_license_text (XfceLicenseTextType license_type) G_GNUC_PUR
 #define XFCE_LICENSE_GPL  (xfce_get_license_text (XFCE_LICENSE_TEXT_GPL))
 #define XFCE_LICENSE_LGPL (xfce_get_license_text (XFCE_LICENSE_TEXT_LGPL))
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_LICENSE_H__ */
diff --git a/libxfce4util/xfce-private.h b/libxfce4util/xfce-private.h
index 8970b66..7899d2d 100644
--- a/libxfce4util/xfce-private.h
+++ b/libxfce4util/xfce-private.h
@@ -28,7 +28,7 @@
 
 #include <glib-object.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 /* support macros for debugging */
 #ifndef NDEBUG
@@ -82,7 +82,7 @@ G_BEGIN_DECLS;
 #define g_value_get_object(v)   (((const GValue *) (v))->data[0].v_pointer)
 #endif
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_RC_H__ */
 
diff --git a/libxfce4util/xfce-rc.h b/libxfce4util/xfce-rc.h
index 62d7aa9..6f97ada 100644
--- a/libxfce4util/xfce-rc.h
+++ b/libxfce4util/xfce-rc.h
@@ -28,7 +28,7 @@
 
 #include <libxfce4util/xfce-resource.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 typedef struct _XfceRc XfceRc;
 
@@ -99,7 +99,7 @@ void         xfce_rc_write_list_entry        (XfceRc       *rc,
                                               gchar       **value,
                                               const gchar  *separator);
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__XFCE_RC_H__ */
 



More information about the Xfce4-commits mailing list