[libgxps] Fix compiler warnings



commit 525f0c64e51b95276a672430a2950eb7318a2563
Author: Wolfgang Stöggl <c72578 yahoo de>
Date:   Sat Sep 11 09:47:03 2021 +0200

    Fix compiler warnings
    
    Move multiple comment block with SECTION:gxps-version
    after the header guard.
    
    - Fixes the following warning (6x):
      libgxps/gxps-version.h:19: Warning: GXPS: multiple comment blocks
      documenting 'SECTION:gxps-version:' identifier
      (already seen at gxps-version.h:19).

 libgxps/gxps-version.h.in | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libgxps/gxps-version.h.in b/libgxps/gxps-version.h.in
index d82e102..d7e78cc 100644
--- a/libgxps/gxps-version.h.in
+++ b/libgxps/gxps-version.h.in
@@ -16,6 +16,13 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#if !defined (__GXPS_H_INSIDE__) && !defined (GXPS_COMPILATION)
+#error "Only <libgxps/gxps.h> can be included directly."
+#endif
+
+#ifndef __GXPS_VERSION_H__
+#define __GXPS_VERSION_H__
+
 /**
  * SECTION:gxps-version
  * @Short_description: Variables and functions to check the GXPS version
@@ -26,13 +33,6 @@
  * use the features described here.
  */
 
-#if !defined (__GXPS_H_INSIDE__) && !defined (GXPS_COMPILATION)
-#error "Only <libgxps/gxps.h> can be included directly."
-#endif
-
-#ifndef __GXPS_VERSION_H__
-#define __GXPS_VERSION_H__
-
 /**
  * GXPS_MAJOR_VERSION:
  *


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