Re: [PATCH] stringlist: fix cpp macro in header

2013-01-09 Thread Sascha Hauer
On Tue, Jan 08, 2013 at 04:13:43PM +0100, Steffen Trumtrar wrote: > Both include/string.h and include/stringlist.h define the c preprocessor macro > __STRING_H. This leads to a compile time error, in case both files are > (indirectly) included. > > Rename the macro to __STRINGLIST_H in stringlist.

[PATCH] stringlist: fix cpp macro in header

2013-01-08 Thread Steffen Trumtrar
Both include/string.h and include/stringlist.h define the c preprocessor macro __STRING_H. This leads to a compile time error, in case both files are (indirectly) included. Rename the macro to __STRINGLIST_H in stringlist.h. Signed-off-by: Steffen Trumtrar --- include/stringlist.h |6 +++---