History

gtp: #define _UAPI_LINUX_GTP_H_ and not _UAPI_LINUX_GTP_H__

Fix clang build warning: ./include/uapi/linux/gtp.h:1:9: warning: '_UAPI_LINUX_GTP_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] fix by defining _UAPI_LINUX_GTP_H_ and not _UAPI_LINUX_GTP_H__

Colin Ian King committed 10 years ago

Commit 7b01b8e1 parent 9f647a61 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/gtp.h+1−1
@@ -1,5 +1,5 @@
1#ifndef _UAPI_LINUX_GTP_H_1#ifndef _UAPI_LINUX_GTP_H_
2#define _UAPI_LINUX_GTP_H__2#define _UAPI_LINUX_GTP_H_
3 3
4enum gtp_genl_cmds {4enum gtp_genl_cmds {
5 GTP_CMD_NEWPDP,5 GTP_CMD_NEWPDP,