summaryrefslogtreecommitdiff
path: root/gusb/gusb-endpoint.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-endpoint.h
parentdfaec95d34f6f066d191cc286192c8c09b4686a8 (diff)
downloadgusb-050707179012e4ce3a24886b008537c99c77809f.tar.gz
Use '#pragma once' to reduce boilerplate
Diffstat (limited to 'gusb/gusb-endpoint.h')
-rw-r--r--gusb/gusb-endpoint.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gusb/gusb-endpoint.h b/gusb/gusb-endpoint.h
index 21cbcb1..b6d32ee 100644
--- a/gusb/gusb-endpoint.h
+++ b/gusb/gusb-endpoint.h
@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef __GUSB_ENDPOINT_H__
-#define __GUSB_ENDPOINT_H__
+#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@@ -28,5 +27,3 @@ GUsbDeviceDirection g_usb_endpoint_get_direction (GUsbEndpoint *endpoint);
GBytes * g_usb_endpoint_get_extra (GUsbEndpoint *endpoint);
G_END_DECLS
-
-#endif /* __GUSB_ENDPOINT_H__ */