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