avoid multiple definitions for free_pnode()

This commit is contained in:
danmc 2006-10-12 02:51:13 +00:00
parent 6b9ec33f27
commit a123453295
1 changed files with 2 additions and 0 deletions

View File

@ -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);