diff options
author | Richard Hughes <richard@hughsie.com> | 2019-02-09 09:15:31 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-02-09 17:33:43 +0000 |
commit | 87b7483e79c2dd416fc06d291a784530fa613dbd (patch) | |
tree | 14084c6ea2c8b020f4d6385d2ae261cb1afadb7f /libappstream-builder/asb-plugin.h | |
parent | bfd968046dbaf2580b0c9b7a073ea4caf43fd833 (diff) | |
download | appstream-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.h | 5 |
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 */ |