日期:2014-05-16  浏览次数:20788 次

警告问题
我编译代码时报这样的警告:

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
这个是在哪儿定义的?
------解决方案--------------------
那你要不要先包含那个头文件呢