summaryrefslogtreecommitdiffhomepage
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
commit323636085e1a6c063818a697b30e074578db258e (patch)
tree6b77529769ae29e1deb5523edd3bddc7f03583e5 /src/uapi
parent452dc76c606d47dc248f846f1202d708a7245f5e (diff)
global: use _WG prefix for include guards
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.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 */