c函数同名矛盾如何解决
在my_list.h和list.h存在同名函数问题,static inline void list_add (struct list_head *new_entry, struct list_head *head) -->list.h
extern LIST *list_add(LIST *root,LIST * element); -->list.h
编译错误提示如下
/usr/local/mysql/include/my_list.h:30:14: error: conflicting types for ‘list_add’
/usr/include/libcomm/list.h:68:1: note: previous definition of ‘list_add’ was here
如果才能保持2个文件同名而不矛盾呢?或者有什么别的解决办法。