diff options
author | Richard Hughes <richard@hughsie.com> | 2019-02-09 09:15:31 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-02-09 09:20:29 +0000 |
commit | 33af24b609805fdc82a5a13c563764a5bd06a878 (patch) | |
tree | 14084c6ea2c8b020f4d6385d2ae261cb1afadb7f /libappstream-builder/asb-package-cab.h | |
parent | c2e35aae910a7b2ab0bdbad1401b0183be105e52 (diff) | |
download | appstream-glib-wip/hughsie/pragma-once.tar.gz |
Use '#pragma once' to avoid a lot of boilerplatewip/hughsie/pragma-once
Diffstat (limited to 'libappstream-builder/asb-package-cab.h')
-rw-r--r-- | libappstream-builder/asb-package-cab.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-builder/asb-package-cab.h b/libappstream-builder/asb-package-cab.h index b0f8301..e495d66 100644 --- a/libappstream-builder/asb-package-cab.h +++ b/libappstream-builder/asb-package-cab.h @@ -5,8 +5,7 @@ * SPDX-License-Identifier: LGPL-2.1+ */ -#ifndef ASB_PACKAGE_CAB_H -#define ASB_PACKAGE_CAB_H +#pragma once #include <glib-object.h> @@ -28,5 +27,3 @@ struct _AsbPackageCabClass AsbPackage *asb_package_cab_new (void); G_END_DECLS - -#endif /* ASB_PACKAGE_CAB_H */ |