aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/uapi
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:30:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:41:39 +0200
commitf45345b7723f09c94a829d90689d052c864f5b86 (patch)
treea697ef14c4903691878a7abb401def97bf505cba /src/uapi
parentglobal: satisfy bitshift pedantry (diff)
downloadwireguard-monolithic-historical-f45345b7723f09c94a829d90689d052c864f5b86.tar.xz
wireguard-monolithic-historical-f45345b7723f09c94a829d90689d052c864f5b86.zip
global: use _WG prefix for include guards
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
Diffstat (limited to 'src/uapi')
-rw-r--r--src/uapi/wireguard.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uapi/wireguard.h b/src/uapi/wireguard.h
index 5274c44..e776f7c 100644
--- a/src/uapi/wireguard.h
+++ b/src/uapi/wireguard.h
@@ -136,8 +136,8 @@
* If an error occurs, NLMSG_ERROR will reply containing an errno.
*/
-#ifndef UAPI_WIREGUARD_H
-#define UAPI_WIREGUARD_H
+#ifndef _WG_UAPI_WIREGUARD_H
+#define _WG_UAPI_WIREGUARD_H
#define WG_GENL_NAME "wireguard"
#define WG_GENL_VERSION 1
@@ -196,4 +196,4 @@ enum wgallowedip_attribute {
};
#define WGALLOWEDIP_A_MAX (__WGALLOWEDIP_A_LAST - 1)
-#endif
+#endif /* _WG_UAPI_WIREGUARD_H */