summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-node-private.h')
-rw-r--r--libappstream-glib/as-node-private.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libappstream-glib/as-node-private.h b/libappstream-glib/as-node-private.h
index a15be13..ed25c8d 100644
--- a/libappstream-glib/as-node-private.h
+++ b/libappstream-glib/as-node-private.h
@@ -5,13 +5,12 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
+#pragma once
+
#if !defined (__APPSTREAM_GLIB_PRIVATE_H) && !defined (AS_COMPILATION)
#error "Only <appstream-glib.h> can be included directly."
#endif
-#ifndef __AS_NODE_PRIVATE_H
-#define __AS_NODE_PRIVATE_H
-
#include "as-app.h"
#include "as-node.h"
#include "as-ref-string.h"
@@ -57,6 +56,3 @@ AsRefString *as_node_get_attribute_as_refstr (const AsNode *node,
G_DEFINE_AUTOPTR_CLEANUP_FUNC(AsNodeContext, as_node_context_free)
G_END_DECLS
-
-#endif /* __AS_NODE_PRIVATE_H */
-