summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-profile.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2019-02-09 09:15:31 +0000
committerRichard Hughes <richard@hughsie.com>2019-02-09 09:20:29 +0000
commit33af24b609805fdc82a5a13c563764a5bd06a878 (patch)
tree14084c6ea2c8b020f4d6385d2ae261cb1afadb7f /libappstream-glib/as-profile.h
parentc2e35aae910a7b2ab0bdbad1401b0183be105e52 (diff)
downloadappstream-glib-wip/hughsie/pragma-once.tar.gz
Use '#pragma once' to avoid a lot of boilerplatewip/hughsie/pragma-once
Diffstat (limited to 'libappstream-glib/as-profile.h')
-rw-r--r--libappstream-glib/as-profile.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-glib/as-profile.h b/libappstream-glib/as-profile.h
index b82b72f..d6c93d9 100644
--- a/libappstream-glib/as-profile.h
+++ b/libappstream-glib/as-profile.h
@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef __AS_PROFILE_H
-#define __AS_PROFILE_H
+#pragma once
#include <glib-object.h>
@@ -44,5 +43,3 @@ void as_profile_task_free (AsProfileTask *ptask);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(AsProfileTask, as_profile_task_free)
G_END_DECLS
-
-#endif /* __AS_PROFILE_H */