#include #include "globals.h" /*****************************************************************************/ void openfiles (CELL *rowbuf[3]) { long band; /* loop index counting the bands */ char tempstr[100]; char *mapset; /* open input files */ for (band=0; band.", inputfiles[band]); G_fatal_error(tempstr); } if ((fd_input[band] = G_open_cell_old(inputfiles[band],mapset)) < 0) G_fatal_error("Error in opening input file"); } /* open output files */ for (band=0; band