summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-plugin.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-plugin.h
parentbfd968046dbaf2580b0c9b7a073ea4caf43fd833 (diff)
downloadappstream-glib-87b7483e79c2dd416fc06d291a784530fa613dbd.tar.gz
Use '#pragma once' to avoid a lot of boilerplate
Diffstat (limited to 'libappstream-builder/asb-plugin.h')
-rw-r--r--libappstream-builder/asb-plugin.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-builder/asb-plugin.h b/libappstream-builder/asb-plugin.h
index 8d22e9c..bfbefa1 100644
--- a/libappstream-builder/asb-plugin.h
+++ b/libappstream-builder/asb-plugin.h
@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef __ASB_PLUGIN_H
-#define __ASB_PLUGIN_H
+#pragma once
#include <glib-object.h>
#include <gmodule.h>
@@ -87,5 +86,3 @@ gboolean asb_plugin_match_glob (const gchar *glob,
const gchar *value);
G_END_DECLS
-
-#endif /* __ASB_PLUGIN_H */