mkdir -p /c/Users/landamar/grass_packager/grass841/addons/r.le.patch/bin
mkdir -p /c/Users/landamar/grass_packager/grass841/addons/r.le.patch/etc
mkdir -p /c/Users/landamar/grass_packager/grass841/addons/r.le.patch/docs/html
mkdir -p /c/Users/landamar/grass_packager/grass841/addons/r.le.patch/docs/man
mkdir -p /c/Users/landamar/grass_packager/grass841/addons/r.le.patch/docs/man/man1
test -d OBJ.x86_64-w64-mingw32 || mkdir -p OBJ.x86_64-w64-mingw32
x86_64-w64-mingw32-gcc -I/c/osgeo4w/include -g -O2  -I/c/osgeo4w/include -I/usr/src/grass841/dist.x86_64-w64-mingw32/include -I/usr/src/grass841/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass841/dist.x86_64-w64-mingw32/include -I/usr/src/grass841/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass8-addons/src/raster/r.le.patch\" -o OBJ.x86_64-w64-mingw32/driver.o -c driver.c
driver.c: In function 'open_files':
driver.c:142:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  142 |         fp = fopen0("r.le.out/a1-4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
In file included from driver.c:21:
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:149:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  149 |         fp = fopen0("r.le.out/a5.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:159:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  159 |         fp = fopen0("r.le.out/a6.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:169:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  169 |         fp = fopen0("r.le.out/a7.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:175:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  175 |         fp = fopen0("r.le.out/a8.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:181:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  181 |         fp = fopen0("r.le.out/s1-2.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:188:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  188 |         fp = fopen0("r.le.out/s3.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:198:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  198 |         fp = fopen0("r.le.out/s4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:208:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  208 |         fp = fopen0("r.le.out/s5.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:220:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  220 |         fp = fopen0("r.le.out/s6.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:231:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  231 |         fp = fopen0("r.le.out/s7-8.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:238:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  238 |         fp = fopen0("r.le.out/c1-4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:245:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  245 |         fp = fopen0("r.le.out/c5.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:255:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  255 |         fp = fopen0("r.le.out/c6.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:265:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  265 |         fp = fopen0("r.le.out/c7.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:275:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  275 |         fp = fopen0("r.le.out/c8.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:285:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  285 |         fp = fopen0("r.le.out/c9c.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:293:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  293 |         fp = fopen0("r.le.out/c9e.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:304:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  304 |         fp = fopen0("r.le.out/c10c.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:312:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  312 |         fp = fopen0("r.le.out/c10e.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:323:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  323 |         fp = fopen0("r.le.out/h1-2.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:329:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  329 |         fp = fopen0("r.le.out/h3.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:339:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  339 |         fp = fopen0("r.le.out/h4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:349:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  349 |         fp = fopen0("r.le.out/h5.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:359:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  359 |         fp = fopen0("r.le.out/h6.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:372:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  372 |         fp = fopen0("r.le.out/n1-4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:379:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  379 |         fp = fopen0("r.le.out/p1-3.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:386:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  386 |         fp = fopen0("r.le.out/p4.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:396:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  396 |         fp = fopen0("r.le.out/p5.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:406:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  406 |         fp = fopen0("r.le.out/p6.out", "w");
      |              ^~~~~~ ~~~~~~~~~~~~~~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:417:14: error: too many arguments to function 'fopen0'; expected 0, have 2
  417 |         fp = fopen0(path, "w");
      |              ^~~~~~ ~~~~
patch.h:113:7: note: declared here
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c: At top level:
driver.c:431:7: error: conflicting types for 'fopen0'; have 'FILE *(char *, char *)' {aka 'struct _iobuf *(char *, char *)'}
  431 | FILE *fopen0(char *name, char *flag)
      |       ^~~~~~
patch.h:113:7: note: previous declaration of 'fopen0' with type 'FILE *(void)' {aka 'struct _iobuf *(void)'}
  113 | FILE *fopen0();
      |       ^~~~~~
driver.c:449:7: error: conflicting types for 'fopen1'; have 'FILE *(char *, char *)' {aka 'struct _iobuf *(char *, char *)'}
  449 | FILE *fopen1(char *name, char *flag)
      |       ^~~~~~
patch.h:114:7: note: previous declaration of 'fopen1' with type 'FILE *(void)' {aka 'struct _iobuf *(void)'}
  114 | FILE *fopen1();
      |       ^~~~~~
driver.c:477:7: error: conflicting types for 'fopen2'; have 'FILE *(char *, char *)' {aka 'struct _iobuf *(char *, char *)'}
  477 | FILE *fopen2(char *name, char *flag)
      |       ^~~~~~
patch.h:115:7: note: previous declaration of 'fopen2' with type 'FILE *(void)' {aka 'struct _iobuf *(void)'}
  115 | FILE *fopen2();
      |       ^~~~~~
driver.c: In function 'mv_driver':
driver.c:845:5: error: too many arguments to function 'read_mwind'; expected 0, have 7
  845 |     read_mwind(&u_w, &u_l, &nc, &nr, &x0, &y0, &radius);
      |     ^~~~~~~~~~ ~~~~
patch.h:103:6: note: declared here
  103 | void read_mwind();
      |      ^~~~~~~~~~
driver.c:958:17: error: too many arguments to function 'meter'; expected 0, have 3
  958 |                 meter(nr * nc, (i * nc + (j + 1)), d);
      |                 ^~~~~ ~~~~~~~
patch.h:112:6: note: declared here
  112 | void meter();
      |      ^~~~~
driver.c:978:17: error: too many arguments to function 'meter'; expected 0, have 3
  978 |                 meter(nr * nc, (i * nc + (j + 1)), d);
      |                 ^~~~~ ~~~~~~~
patch.h:112:6: note: declared here
  112 | void meter();
      |      ^~~~~
driver.c:1933:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 1933 |     time(&finished_time);
      |          ^~~~~~~~~~~~~~
      |          |
      |          long int *
In file included from patch.h:27:
C:/msys64/mingw64/include/time.h:250:31: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  250 | time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time64);
      |                       ~~~~~~~~^~~~~
driver.c:1935:31: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
 1935 |             asctime(localtime(&finished_time)));
      |                               ^~~~~~~~~~~~~~
      |                               |
      |                               long int *
C:/msys64/mingw64/include/time.h:255:46: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *'
  255 | struct tm *__CRTDECL localtime(const time_t *_Time) __MINGW_ASM_CALL(_localtime64);
      |                                ~~~~~~~~~~~~~~^~~~~
driver.c:1953:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1953 |         set_colors("a1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1959:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1959 |         set_colors("a2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1965:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1965 |         set_colors("a3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1971:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1971 |         set_colors("a4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1977:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1977 |         set_colors("a5");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1983:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1983 |         set_colors("a6");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1989:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1989 |         set_colors("a7");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:1995:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 1995 |         set_colors("a8");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2001:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2001 |         set_colors("s1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2007:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2007 |         set_colors("s2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2013:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2013 |         set_colors("s3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2019:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2019 |         set_colors("s4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2025:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2025 |         set_colors("s5");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2031:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2031 |         set_colors("s6");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2037:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2037 |         set_colors("s7");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2043:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2043 |         set_colors("s8");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2049:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2049 |         set_colors("c1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2055:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2055 |         set_colors("c2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2061:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2061 |         set_colors("c3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2067:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2067 |         set_colors("c4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2073:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2073 |         set_colors("c5");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2079:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2079 |         set_colors("c6");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2085:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2085 |         set_colors("c7");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2091:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2091 |         set_colors("c8");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2097:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2097 |         set_colors("c9");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2103:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2103 |         set_colors("c10");
      |         ^~~~~~~~~~ ~~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2109:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2109 |         set_colors("h1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2115:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2115 |         set_colors("h2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2121:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2121 |         set_colors("h3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2127:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2127 |         set_colors("h4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2133:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2133 |         set_colors("h5");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2139:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2139 |         set_colors("h6");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2145:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2145 |         set_colors("n1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2151:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2151 |         set_colors("n2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2157:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2157 |         set_colors("n3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2163:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2163 |         set_colors("n4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2169:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2169 |         set_colors("p1");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2175:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2175 |         set_colors("p2");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2181:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2181 |         set_colors("p3");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2187:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2187 |         set_colors("p4");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2193:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2193 |         set_colors("p5");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2199:9: error: too many arguments to function 'set_colors'; expected 0, have 1
 2199 |         set_colors("p6");
      |         ^~~~~~~~~~ ~~~~
patch.h:104:6: note: declared here
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c: At top level:
driver.c:2212:6: error: conflicting types for 'set_colors'; have 'void(char *)'
 2212 | void set_colors(char *name)
      |      ^~~~~~~~~~
patch.h:104:6: note: previous declaration of 'set_colors' with type 'void(void)'
  104 | void set_colors();
      |      ^~~~~~~~~~
driver.c:2225:6: error: conflicting types for 'read_mwind'; have 'void(int *, int *, int *, int *, int *, int *, float *)'
 2225 | void read_mwind(int *uw, int *ul, int *nc, int *nr, int *x0, int *y0,
      |      ^~~~~~~~~~
patch.h:103:6: note: previous declaration of 'read_mwind' with type 'void(void)'
  103 | void read_mwind();
      |      ^~~~~~~~~~
driver.c:2260:6: error: conflicting types for 'meter'; have 'void(int,  int,  int)'
 2260 | void meter(int n, int i, int div)
      |      ^~~~~
patch.h:112:6: note: previous declaration of 'meter' with type 'void(void)'
  112 | void meter();
      |      ^~~~~
driver.c: In function 'meter':
driver.c:2270:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 2270 |         time(&start);
      |              ^~~~~~
      |              |
      |              long int *
C:/msys64/mingw64/include/time.h:250:31: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  250 | time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time64);
      |                       ~~~~~~~~^~~~~
driver.c:2284:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
 2284 |         time(&current_time);
      |              ^~~~~~~~~~~~~
      |              |
      |              long int *
C:/msys64/mingw64/include/time.h:250:31: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
  250 | time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time64);
      |                       ~~~~~~~~^~~~~
driver.c:2289:41: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
 2289 |         strncpy(done, asctime(localtime(&complete)), 24);
      |                                         ^~~~~~~~~
      |                                         |
      |                                         long int *
C:/msys64/mingw64/include/time.h:255:46: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *'
  255 | struct tm *__CRTDECL localtime(const time_t *_Time) __MINGW_ASM_CALL(_localtime64);
      |                                ~~~~~~~~~~~~~~^~~~~
driver.c: In function 'get_para':
driver.c:2340:13: error: too many arguments to function 'read_para'; expected 0, have 4
 2340 |             read_para("recl_tb", i + 1, tmp, &counter);
      |             ^~~~~~~~~ ~~~~~~~~~
patch.h:98:6: note: declared here
   98 | void read_para();
      |      ^~~~~~~~~
driver.c:2380:9: error: too many arguments to function 'read_line'; expected 0, have 6
 2380 |         read_line("size", 1, -999, NULL, size_cl, &size_cl_no);
      |         ^~~~~~~~~ ~~~~~~
patch.h:96:6: note: declared here
   96 | void read_line();
      |      ^~~~~~~~~
driver.c:2388:9: error: too many arguments to function 'read_line'; expected 0, have 6
 2388 |         read_line("shape_PA", 1, -999, NULL, shape_PA, &shape_cl_no);
      |         ^~~~~~~~~ ~~~~~~~~~~
patch.h:96:6: note: declared here
   96 | void read_line();
      |      ^~~~~~~~~
driver.c:2393:9: error: too many arguments to function 'read_line'; expected 0, have 6
 2393 |         read_line("shape_CPA", 1, -999, NULL, shape_CPA, &shape_cl_no);
      |         ^~~~~~~~~ ~~~~~~~~~~~
patch.h:96:6: note: declared here
   96 | void read_line();
      |      ^~~~~~~~~
driver.c:2398:9: error: too many arguments to function 'read_line'; expected 0, have 6
 2398 |         read_line("shape_RCC", 1, -999, NULL, shape_RCC, &shape_cl_no);
      |         ^~~~~~~~~ ~~~~~~~~~~~
patch.h:96:6: note: declared here
   96 | void read_line();
      |      ^~~~~~~~~
driver.c: At top level:
driver.c:2430:6: error: conflicting types for 'read_para'; have 'void(char *, int,  float *, int *)'
 2430 | void read_para(char *name, int line, float *value, int *count)
      |      ^~~~~~~~~
patch.h:98:6: note: previous declaration of 'read_para' with type 'void(void)'
   98 | void read_para();
      |      ^~~~~~~~~
driver.c:2501:6: error: conflicting types for 'read_line'; have 'void(char *, int,  int,  int *, int *, int *)'
 2501 | void read_line(char *name, int line, int n, int *value, int *fvalue,
      |      ^~~~~~~~~
patch.h:96:6: note: previous declaration of 'read_line' with type 'void(void)'
   96 | void read_line();
      |      ^~~~~~~~~
make: *** [/c/msys64/usr/src/grass841/include/Make/Compile.make:32: OBJ.x86_64-w64-mingw32/driver.o] Error 1
