[Lcdproc] [PATCH] use strchr() instead of index() in machine_Linux.c
Peter Marschall
peter@adpm.de
Sun Dec 31 16:20:03 2006
Hi Guillaume,
> The index() function is deprecated and requires #include <strings.h>.
> clients/lcdproc/machine_Linux.c don't include strings.h and uses index().
> The patch fix this by replacing index() with strchr().
> BTW it also fix the cross-compilation with the geexbox toolchain.
Thanks for the patch.
I committed it to LCDproc CVS MAIN, so that it should be in tonight's
nightly tar ball.
Regards
Peter
--
Peter Marschall
peter@adpm.de