+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/freerdist-0.94nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/freerdist-0.94nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for freerdist-0.94nb1
Making "all" in "src"
yacc -d gram.y
mv y.tab.c gram.c
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c gram.c
In file included from gram.y:44:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
y.tab.c:125:23: warning: redundant redeclaration of 'yylex' [-Wredundant-decls]
y.tab.c:130:5: note: in expansion of macro 'YYLEX_DECL'
../include/defs.h:444:5: note: previous declaration of 'yylex' with type 'int(void)'
  444 | int yylex(void);
      |     ^~~~~
gram.y: In function 'yylex':
gram.y:258:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  258 |                 if (c == EOF)
      |                    ^
gram.y:260:9: note: here
  260 |         case '\n':
      |         ^~~~
gram.y:356:49: warning: '%s' directive output may be truncated writing up to 3499 bytes into a region of size 1002 [-Wformat-truncation=]
  355 |                                 (void) snprintf(ebuf, sizeof(ebuf),
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  356 |                                                 "Bad distfile options \"%s\".",
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  357 |                                                 &yytext[2]);
      |                                                 ~~~~~~~~~~~
gram.y:355:40: note: 'snprintf' output between 25 and 3524 bytes into a destination of size 1024
  355 |                                 (void) snprintf(ebuf, sizeof(ebuf),
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  356 |                                                 "Bad distfile options \"%s\".",
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  357 |                                                 &yytext[2]);
      |                                                 ~~~~~~~~~~~
gram.y:381:41: warning: '%s' directive output may be truncated writing up to 3499 bytes into a region of size 1008 [-Wformat-truncation=]
  381 |                                         "Unknown option \"%s\".", yytext);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~
gram.y:380:32: note: 'snprintf' output between 19 and 3518 bytes into a destination of size 1024
  380 |                         (void) snprintf(ebuf, sizeof(ebuf),
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  381 |                                         "Unknown option \"%s\".", yytext);
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c rdist.c
In file included from rdist.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c client.c
In file included from client.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
client.c: In function 'sendfile':
client.c:443:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  443 |         (void) signal(SIGALRM, sighandler);
      |         ^
client.c: In function 'install':
client.c:1321:29: warning: the comparison will always evaluate as 'false' for the pointer operand in 'rname + 1' must not be NULL [-Waddress]
 1321 |                     rname+1 == NULL ||
      |                             ^~
client.c: In function 'rmchk':
client.c:602:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  602 |                         finish();
      |                         ^~~~~~~~
client.c:604:17: note: here
  604 |                 default:
      |                 ^~~~~~~
client.c: In function 'sendlink':
client.c:793:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  793 |                         finish();
      |                         ^~~~~~~~
client.c:795:17: note: here
  795 |                 default:
      |                 ^~~~~~~
client.c: In function 'update':
client.c:880:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  880 |                         finish();
      |                         ^~~~~~~~
client.c:882:17: note: here
  882 |                 case C_NOTEMSG:
      |                 ^~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c child.c
In file included from child.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
child.c: In function 'reap':
child.c:331:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  331 |         (void) signal(SIGCHLD, reap);
      |         ^
child.c: In function 'spawn':
child.c:517:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  517 |                 (void) signal(SIGCHLD, reap);
      |                 ^
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c docmd.c
In file included from docmd.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
docmd.c: In function 'remotecmd':
docmd.c:282:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  282 |         (void) signal(SIGALRM, sighandler);
      |         ^
docmd.c:305:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  305 |                 (void) signal(SIGPIPE, sighandler);
      |                 ^
docmd.c: In function 'doarrow':
docmd.c:600:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  600 |                 (void) signal(SIGPIPE, cleanup);
      |                 ^
docmd.c: In function 'docmds':
docmd.c:979:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  979 |         (void) signal(SIGHUP, sighandler);
      |         ^
docmd.c:980:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  980 |         (void) signal(SIGINT, sighandler);
      |         ^
docmd.c:981:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  981 |         (void) signal(SIGQUIT, sighandler);
      |         ^
docmd.c:982:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  982 |         (void) signal(SIGTERM, sighandler);
      |         ^
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c distopt.c
In file included from distopt.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c expand.c
In file included from expand.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c lookup.c
In file included from lookup.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c isexec.c
In file included from isexec.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
isexec.c: In function '_isexec':
isexec.c:141:12: warning: old-style function definition [-Wold-style-definition]
  141 | static int _isexec(fd)
      |            ^~~~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c signal.c
In file included from signal.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c rshrcmd.c
In file included from rshrcmd.c:6:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c common.c
In file included from common.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
common.c: In function 'remmore':
common.c:357:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  357 |         (void) signal(SIGALRM, sighandler);
      |         ^
common.c: In function 'readrem':
common.c:446:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  446 |                 (void) signal(SIGALRM, sighandler);
      |                 ^
common.c: In function 'readremz':
common.c:477:9: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  477 |         (void) signal(SIGALRM, sighandler);
      |         ^
common.c: In function 'response':
common.c:604:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  604 |                 n++;
      |                 ~^~
common.c:607:9: note: here
  607 |         case C_ERRMSG:  /* Normal error message */
      |         ^~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c message.c
In file included from message.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
message.c: In function 'msgsendstdout':
message.c:373:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  373 |                         if (flags != MT_DEBUG)
      |                            ^
message.c:375:17: note: here
  375 |                 case MT_NOTICE:
      |                 ^~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c setargs.c
In file included from setargs.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c zopen.c
In file included from zopen.c:38:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
gcc -g -DOS_H=\"os-sunos5.h\"   -I. -I../include -I../config    -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length  -c regex.c
In file included from regex.c:34:
../include/defs.h:509:6: warning: redundant redeclaration of 'setprogname' [-Wredundant-decls]
  509 | void setprogname(const char *);
      |      ^~~~~~~~~~~
In file included from ../include/defs.h:42:
/usr/include/stdlib.h:306:13: note: previous declaration of 'setprogname' with type 'void(const char *)'
  306 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
../include/defs.h:551:5: warning: redundant redeclaration of 'vsnprintf' [-Wredundant-decls]
  551 | int vsnprintf(char *, size_t, const char *, va_list)
      |     ^~~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' with type 'int(char *, size_t,  const char *, __va_list_tag *)' {aka 'int(char *, long unsigned int,  const char *, __va_list_tag *)'}
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' with type 'int(char *, size_t,  const char *, ...)' {aka 'int(char *, long unsigned int,  const char *, ...)'}
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563:
./vis.h:76:10: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char    *vis(char *, int, int, int);
      |          ^~~
../include/defs.h:544:7: note: previous declaration of 'vis' with type 'char *(char *, int,  int,  int)'
  544 | char *vis(char *, int, int, int );
      |       ^~~
./vis.h:77:9: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int     strvis(char *, const char *, int);
      |         ^~~~~~
../include/defs.h:545:5: note: previous declaration of 'strvis' with type 'int(char *, const char *, int)'
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
./vis.h:78:9: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int     strvisx(char *, const char *, size_t, int);
      |         ^~~~~~~
../include/defs.h:546:5: note: previous declaration of 'strvisx' with type 'int(char *, const char *, size_t,  int)' {aka 'int(char *, const char *, long unsigned int,  int)'}
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
./vis.h:79:9: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int     strunvis(char *, const char *);
      |         ^~~~~~~~
../include/defs.h:539:5: note: previous declaration of 'strunvis' with type 'int(char *, const char *)'
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
./vis.h:80:9: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int     unvis(char *, int, int *, int);
      |         ^~~~~
../include/defs.h:538:5: note: previous declaration of 'unvis' with type 'int(char *, int,  int *, int)'
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
regex.c: In function 're_comp':
regex.c:148:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  148 |         static  char    *retoolong = "Regular expression too long";
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:154:32: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  154 |                         return "No previous regular expression";
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:168:40: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  168 |                                 comerr("unmatched \\(");
      |                                        ^~~~~~~~~~~~~~~
regex.c:150:56: note: in definition of macro 'comerr'
  150 | #define comerr(msg) {expbuf[0] = 0; numbra = 0; return msg; }
      |                                                        ^~~
regex.c:203:48: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  203 |                                         comerr("missing ]");
      |                                                ^~~~~~~~~~~
regex.c:150:56: note: in definition of macro 'comerr'
  150 | #define comerr(msg) {expbuf[0] = 0; numbra = 0; return msg; }
      |                                                        ^~~
regex.c:229:48: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  229 |                                         comerr("too many \\(\\) pairs");
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~
regex.c:150:56: note: in definition of macro 'comerr'
  150 | #define comerr(msg) {expbuf[0] = 0; numbra = 0; return msg; }
      |                                                        ^~~
regex.c:237:48: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  237 |                                         comerr("unmatched \\)");
      |                                                ^~~~~~~~~~~~~~~
regex.c:150:56: note: in definition of macro 'comerr'
  150 | #define comerr(msg) {expbuf[0] = 0; numbra = 0; return msg; }
      |                                                        ^~~
regex.c: At top level:
regex.c:421:1: error: conflicting types for 'cclass'; have 'int(char *, char,  int)'
  421 | cclass(char *set, char c, int af)
      | ^~~~~~
../include/defs.h:489:5: note: previous declaration of 'cclass' with type 'int(char *, int,  int)'
  489 | int cclass(char *, int , int);
      |     ^~~~~~
*** Error code 1

Stop.
make[2]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/src
*** [all] Error code 1

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/src
1 error

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/src
Making "all" in "config"
A failure has been detected in another branch of the parallel make

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/config
Making "all" in "doc"
A failure has been detected in another branch of the parallel make

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/doc
Making "all" in "support"
A failure has been detected in another branch of the parallel make

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/support
Making "all" in "mf"
A failure has been detected in another branch of the parallel make

make[1]: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94/mf
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94
1 error

bmake: stopped in /home/pbulk/build/net/rdist6/work/freerdist-0.94
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/rdist6
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/rdist6