summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-release.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-release.h')
-rw-r--r--libappstream-glib/as-release.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-release.h b/libappstream-glib/as-release.h
index c6d1c30..87e10f3 100644
--- a/libappstream-glib/as-release.h
+++ b/libappstream-glib/as-release.h
@@ -6,13 +6,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_RELEASE_H
-#define __AS_RELEASE_H
-
#include <glib-object.h>
#include "as-checksum.h"
@@ -133,5 +132,3 @@ void as_release_set_url (AsRelease *release,
const gchar *url);
G_END_DECLS
-
-#endif /* __AS_RELEASE_H */