diff options
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r-- | libappstream-glib/as-node.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h index 6609947..0b58ad1 100644 --- a/libappstream-glib/as-node.h +++ b/libappstream-glib/as-node.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_NODE_H -#define __AS_NODE_H - #include <gio/gio.h> #include <glib-object.h> #include <stdarg.h> @@ -194,6 +193,3 @@ void as_node_insert_hash (GNode *parent, G_DEFINE_AUTOPTR_CLEANUP_FUNC(AsNode, as_node_unref) G_END_DECLS - -#endif /* __AS_NODE_H */ - |