error: function declaration isn’t a prototype [-Werror=strict-prototypes]
int show_fb_to_ui()
警告原因是show_fb_to_ui函数参数没有时候,需要设置为void。
修改方法一:
int show_fb_to_ui(void)
修改方法二:
更改编译选项 -Werror=strict-prototypes
error: function declaration isn’t a prototype [-Werror=strict-prototypes]
int show_fb_to_ui()
警告原因是show_fb_to_ui函数参数没有时候,需要设置为void。
修改方法一:
int show_fb_to_ui(void)
修改方法二:
更改编译选项 -Werror=strict-prototypes