avoid multiple definitions for free_pnode()
This commit is contained in:
parent
6b9ec33f27
commit
a123453295
|
|
@ -11,7 +11,9 @@
|
|||
#include <wordlist.h>
|
||||
|
||||
struct pnode * ft_getpnames(wordlist *wl, bool check);
|
||||
#ifndef free_pnode
|
||||
#define free_pnode(ptr) free_pnode_x(ptr); ptr=NULL;
|
||||
#endif
|
||||
void free_pnode_x(struct pnode *t);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue