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

Nick Schermer noreply at xfce.org
Sun Jun 19 17:16:03 CEST 2011


Updating branch refs/heads/xfce-4.8
         to 27cbe3c91763cb25bbcb511a1cf74f07d68c86ba (commit)
       from f242aee9c5be2feb5d1b929ef625d9d67c33ca42 (commit)

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

    Fix "empty declaration" compiler warnings.
    
    (cherry picked from commit 7878770baf8a4d28e0844b151da1d397c036b9bf)

 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 abef5f4..79cbeb6 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 afead80..0a79013 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 ceb4df2..ee39656 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 0b2ba7a..498c738 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 f29910d..fa50395 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 da4680a..a9b1786 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 cb3c0f6..f6f4d63 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