当前位置: 技术问答>linux和unix
警告问题
来源: 互联网 发布时间:2017-02-13
本文导语: 我编译代码时报这样的警告: In file include from demux.c:56: ipsec_interface.h:8:warning:'struct spd_data' declared inside parameter list ipsec_interface.h:8:warning:its scope is only this definition or declaration, which is probably not what you...
我编译代码时报这样的警告:
In file include from demux.c:56:
ipsec_interface.h:8:warning:'struct spd_data' declared inside parameter list
ipsec_interface.h:8:warning:its scope is only this definition or declaration,
which is probably not what you want
我不知道这们的警告怎么修改。
我ipsec_interface.h :8是:
extern int setup_ipsec_spd_SDD(struct spd_data* spd, int op);
请问大家这样的警告怎么修改?指点一下!谢谢!
In file include from demux.c:56:
ipsec_interface.h:8:warning:'struct spd_data' declared inside parameter list
ipsec_interface.h:8:warning:its scope is only this definition or declaration,
which is probably not what you want
我不知道这们的警告怎么修改。
我ipsec_interface.h :8是:
extern int setup_ipsec_spd_SDD(struct spd_data* spd, int op);
请问大家这样的警告怎么修改?指点一下!谢谢!
|
那你要不要先包含那个头文件呢
|
struct spd_data
这个是在哪儿定义的?
这个是在哪儿定义的?