提交 7b01b8e8 编写于 作者: C Colin Ian King 提交者: David S. Miller

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__
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Acked-by: NPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9f647a6d
#ifndef _UAPI_LINUX_GTP_H_ #ifndef _UAPI_LINUX_GTP_H_
#define _UAPI_LINUX_GTP_H__ #define _UAPI_LINUX_GTP_H_
enum gtp_genl_cmds { enum gtp_genl_cmds {
GTP_CMD_NEWPDP, GTP_CMD_NEWPDP,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册