From a1234532958df534380f790ddd0c52ddff173aac Mon Sep 17 00:00:00 2001 From: danmc Date: Thu, 12 Oct 2006 02:51:13 +0000 Subject: [PATCH] avoid multiple definitions for free_pnode() --- src/frontend/parse.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/parse.h b/src/frontend/parse.h index 06ada8412..44aa3a544 100644 --- a/src/frontend/parse.h +++ b/src/frontend/parse.h @@ -11,7 +11,9 @@ #include 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);