diff options
author | Richard Hughes <richard@hughsie.com> | 2020-01-21 10:11:56 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-01-21 10:33:11 +0000 |
commit | 050707179012e4ce3a24886b008537c99c77809f (patch) | |
tree | 26e3d3ae96ea7b8213e30e31669c4a9fa3bf6423 /gusb/gusb-interface.h | |
parent | dfaec95d34f6f066d191cc286192c8c09b4686a8 (diff) | |
download | gusb-050707179012e4ce3a24886b008537c99c77809f.tar.gz |
Use '#pragma once' to reduce boilerplate
Diffstat (limited to 'gusb/gusb-interface.h')
-rw-r--r-- | gusb/gusb-interface.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gusb/gusb-interface.h b/gusb/gusb-interface.h index 02f8501..00592e3 100644 --- a/gusb/gusb-interface.h +++ b/gusb/gusb-interface.h @@ -6,8 +6,7 @@ * SPDX-License-Identifier: LGPL-2.1+ */ -#ifndef __GUSB_INTERFACE_H__ -#define __GUSB_INTERFACE_H__ +#pragma once #include <glib-object.h> #include <gio/gio.h> @@ -29,5 +28,3 @@ GBytes *g_usb_interface_get_extra (GUsbInterface *interface); GPtrArray *g_usb_interface_get_endpoints (GUsbInterface *interface); G_END_DECLS - -#endif /* __GUSB_INTERFACE_H__ */ |