00001 #include <grass/gis.h> 00002 00003 void G_newlines_to_spaces( char *s) 00004 { 00005 while (*s) 00006 { 00007 if (*s == '\n') *s = ' '; 00008 s++; 00009 } 00010 }