[eog/friemann/krifa75-pragma-once: 15/35] EogMetadataReader: Replace include guard with #pragma once
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/friemann/krifa75-pragma-once: 15/35] EogMetadataReader: Replace include guard with #pragma once
- Date: Sat, 9 Jul 2022 18:20:42 +0000 (UTC)
commit d6a437078929d764e429c71c0701e8d1ceec5415
Author: Krifa75 <yahiaoui fakhri gmail com>
Date: Sat Jul 9 19:38:33 2022 +0200
EogMetadataReader: Replace include guard with #pragma once
src/eog-metadata-reader-jpg.h | 5 +----
src/eog-metadata-reader-png.h | 5 +----
src/eog-metadata-reader.h | 5 +----
3 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/src/eog-metadata-reader-jpg.h b/src/eog-metadata-reader-jpg.h
index 7a849234..54665596 100644
--- a/src/eog-metadata-reader-jpg.h
+++ b/src/eog-metadata-reader-jpg.h
@@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef _EOG_METADATA_READER_JPG_H_
-#define _EOG_METADATA_READER_JPG_H_
+#pragma once
G_BEGIN_DECLS
@@ -51,5 +50,3 @@ G_GNUC_INTERNAL
GType eog_metadata_reader_jpg_get_type (void) G_GNUC_CONST;
G_END_DECLS
-
-#endif /* _EOG_METADATA_READER_JPG_H_ */
diff --git a/src/eog-metadata-reader-png.h b/src/eog-metadata-reader-png.h
index 8832c2fc..dcea1ede 100644
--- a/src/eog-metadata-reader-png.h
+++ b/src/eog-metadata-reader-png.h
@@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef _EOG_METADATA_READER_PNG_H_
-#define _EOG_METADATA_READER_PNG_H_
+#pragma once
G_BEGIN_DECLS
@@ -51,5 +50,3 @@ G_GNUC_INTERNAL
GType eog_metadata_reader_png_get_type (void) G_GNUC_CONST;
G_END_DECLS
-
-#endif /* _EOG_METADATA_READER_PNG_H_ */
diff --git a/src/eog-metadata-reader.h b/src/eog-metadata-reader.h
index f1cd9e4a..b55800f8 100644
--- a/src/eog-metadata-reader.h
+++ b/src/eog-metadata-reader.h
@@ -19,8 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef _EOG_METADATA_READER_H_
-#define _EOG_METADATA_READER_H_
+#pragma once
#include <glib-object.h>
#ifdef HAVE_EXIF
@@ -101,5 +100,3 @@ cmsHPROFILE eog_metadata_reader_get_icc_profile (EogMetadataReader *sel
#endif
G_END_DECLS
-
-#endif /* _EOG_METADATA_READER_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]