summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-task.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 17:33:43 +0000
commit87b7483e79c2dd416fc06d291a784530fa613dbd (patch)
tree14084c6ea2c8b020f4d6385d2ae261cb1afadb7f /libappstream-builder/asb-task.h
parentbfd968046dbaf2580b0c9b7a073ea4caf43fd833 (diff)
downloadappstream-glib-87b7483e79c2dd416fc06d291a784530fa613dbd.tar.gz
Use '#pragma once' to avoid a lot of boilerplate
Diffstat (limited to 'libappstream-builder/asb-task.h')
-rw-r--r--libappstream-builder/asb-task.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-builder/asb-task.h b/libappstream-builder/asb-task.h
index 257d342..37134f2 100644
--- a/libappstream-builder/asb-task.h
+++ b/libappstream-builder/asb-task.h
@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef ASB_TASK_H
-#define ASB_TASK_H
+#pragma once
#include <glib-object.h>
@@ -39,5 +38,3 @@ void asb_task_set_package (AsbTask *task,
AsbPackage *pkg);
G_END_DECLS
-
-#endif /* ASB_TASK_H */