summaryrefslogtreecommitdiff
path: root/gusb/gusb.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2020-01-21 10:11:56 +0000
committerRichard Hughes <richard@hughsie.com>2020-01-21 10:33:11 +0000
commit050707179012e4ce3a24886b008537c99c77809f (patch)
tree26e3d3ae96ea7b8213e30e31669c4a9fa3bf6423 /gusb/gusb.h
parentdfaec95d34f6f066d191cc286192c8c09b4686a8 (diff)
downloadgusb-050707179012e4ce3a24886b008537c99c77809f.tar.gz
Use '#pragma once' to reduce boilerplate
Diffstat (limited to 'gusb/gusb.h')
-rw-r--r--gusb/gusb.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gusb/gusb.h b/gusb/gusb.h
index cf5afad..e547285 100644
--- a/gusb/gusb.h
+++ b/gusb/gusb.h
@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef __GUSB_H__
-#define __GUSB_H__
+#pragma once
#define __GUSB_INSIDE__
@@ -21,6 +20,3 @@
#include <gusb/gusb-util.h>
#undef __GUSB_INSIDE__
-
-#endif /* __GUSB_H__ */
-