summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-agreement-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-agreement-private.h')
-rw-r--r--libappstream-glib/as-agreement-private.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-agreement-private.h b/libappstream-glib/as-agreement-private.h
index e5df83d..ebefb66 100644
--- a/libappstream-glib/as-agreement-private.h
+++ b/libappstream-glib/as-agreement-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_AGREEMENT_PRIVATE_H
-#define __AS_AGREEMENT_PRIVATE_H
-
#include <glib-object.h>
#include "as-agreement.h"
@@ -28,5 +27,3 @@ gboolean as_agreement_node_parse (AsAgreement *agreement,
GError **error);
G_END_DECLS
-
-#endif /* __AS_AGREEMENT_PRIVATE_H */