[gdk-pixbuf/ebassi/gi-docgen: 2/6] Fix inclusion guards for gdk-pixbuf-features.h
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/ebassi/gi-docgen: 2/6] Fix inclusion guards for gdk-pixbuf-features.h
- Date: Sat, 20 Mar 2021 23:02:59 +0000 (UTC)
commit d623c99120619b90abddae73fc44b6ae2489bf8b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Mar 20 19:15:15 2021 +0000
Fix inclusion guards for gdk-pixbuf-features.h
Use the idiomatic form:
#ifndef __FOO_H__
#define __FOO_H__
...
#endif /* __FOO_H__ */
gdk-pixbuf/gdk-pixbuf-features.h.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-features.h.in b/gdk-pixbuf/gdk-pixbuf-features.h.in
index 4fdb6bffa..7efdc0e39 100644
--- a/gdk-pixbuf/gdk-pixbuf-features.h.in
+++ b/gdk-pixbuf/gdk-pixbuf-features.h.in
@@ -1,10 +1,10 @@
+#ifndef __GDK_PIXBUF_FEATURES_H__
+#define __GDK_PIXBUF_FEATURES_H__
+
#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined
(GDK_PIXBUF_COMPILATION)
#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
#endif
-#ifndef GDK_PIXBUF_FEATURES_H
-#define GDK_PIXBUF_FEATURES_H 1
-
#include <glib.h>
/**
@@ -120,4 +120,4 @@ GDK_PIXBUF_VAR const guint gdk_pixbuf_minor_version;
GDK_PIXBUF_VAR const guint gdk_pixbuf_micro_version;
GDK_PIXBUF_VAR const char *gdk_pixbuf_version;
-#endif /* GDK_PIXBUF_FEATURES_H */
+#endif /* __GDK_PIXBUF_FEATURES_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]