summaryrefslogtreecommitdiff
path: root/gusb/gusb-version.h.in
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-version.h.in
parentdfaec95d34f6f066d191cc286192c8c09b4686a8 (diff)
downloadgusb-050707179012e4ce3a24886b008537c99c77809f.tar.gz
Use '#pragma once' to reduce boilerplate
Diffstat (limited to 'gusb/gusb-version.h.in')
-rw-r--r--gusb/gusb-version.h.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/gusb/gusb-version.h.in b/gusb/gusb-version.h.in
index b8a5639..cbede81 100644
--- a/gusb/gusb-version.h.in
+++ b/gusb/gusb-version.h.in
@@ -17,8 +17,7 @@
#error "Only <gusb.h> can be included directly."
#endif
-#ifndef __GUSB_VERSION_H
-#define __GUSB_VERSION_H
+#pragma once
#include <glib.h>
@@ -56,5 +55,3 @@
G_USB_MICRO_VERSION >= (micro)))
const gchar *g_usb_version_string (void);
-
-#endif /* __GUSB_VERSION_H */