summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-tag.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-tag.h')
-rw-r--r--libappstream-glib/as-tag.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-tag.h b/libappstream-glib/as-tag.h
index b5488f1..16b8cf2 100644
--- a/libappstream-glib/as-tag.h
+++ b/libappstream-glib/as-tag.h
@@ -5,13 +5,12 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
+#pragma once
+
#if !defined (__APPSTREAM_GLIB_H) && !defined (AS_COMPILATION)
#error "Only <appstream-glib.h> can be included directly."
#endif
-#ifndef __AS_TAG_H
-#define __AS_TAG_H
-
#include <glib.h>
G_BEGIN_DECLS
@@ -181,5 +180,3 @@ AsTag as_tag_from_string_full (const gchar *tag,
const gchar *as_tag_to_string (AsTag tag);
G_END_DECLS
-
-#endif /* __AS_TAG_H */