+ 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,
                 from gram.y:44:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from gram.y:44:
../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,
                 from gram.y:44:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from gram.y:44:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from gram.y:44:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from gram.y:44:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from gram.y:44:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from gram.y:44:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from gram.y:44:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from gram.y:44:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from gram.y:44:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from gram.y:44:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from gram.y:44:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from gram.y:44:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from gram.y:44:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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'
In file included from gram.y:44:
../include/defs.h:444:5: note: previous declaration of 'yylex' was here
  444 | int yylex(void);
      |     ^~~~~
gram.y: In function 'yylex':
gram.y:258:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  258 |   if (c == EOF)
      |      ^
gram.y:260:2: note: here
  260 |  case '\n':
      |  ^~~~
gram.y:356:14: 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:12: 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:6: 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:11: 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,
                 from rdist.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from rdist.c:34:
../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,
                 from rdist.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from rdist.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from rdist.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from rdist.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from rdist.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from rdist.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from rdist.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from rdist.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from rdist.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from rdist.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from rdist.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from rdist.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from rdist.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from client.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from client.c:34:
../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,
                 from client.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from client.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from client.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from client.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from client.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from client.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from client.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from client.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from client.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from client.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from client.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from client.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from client.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
client.c: In function 'sendfile':
client.c:443:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  443 |  (void) signal(SIGALRM, sighandler);
      |  ^
client.c: In function 'rmchk':
client.c:602:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  602 |    finish();
      |    ^~~~~~~~
client.c:604:3: note: here
  604 |   default:
      |   ^~~~~~~
client.c: In function 'sendlink':
client.c:793:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  793 |    finish();
      |    ^~~~~~~~
client.c:795:3: note: here
  795 |   default:
      |   ^~~~~~~
client.c: In function 'update':
client.c:880:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  880 |    finish();
      |    ^~~~~~~~
client.c:882:3: 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,
                 from child.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from child.c:34:
../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,
                 from child.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from child.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from child.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from child.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from child.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from child.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from child.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from child.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from child.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from child.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from child.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from child.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from child.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
child.c: In function 'reap':
child.c:331:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  331 |  (void) signal(SIGCHLD, reap);
      |  ^
child.c: In function 'spawn':
child.c:517:3: 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,
                 from docmd.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from docmd.c:34:
../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,
                 from docmd.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from docmd.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from docmd.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from docmd.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from docmd.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from docmd.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from docmd.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from docmd.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from docmd.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from docmd.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from docmd.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from docmd.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from docmd.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
docmd.c: In function 'remotecmd':
docmd.c:282:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  282 |  (void) signal(SIGALRM, sighandler);
      |  ^
docmd.c:305:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  305 |   (void) signal(SIGPIPE, sighandler);
      |   ^
docmd.c: In function 'doarrow':
docmd.c:600:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  600 |   (void) signal(SIGPIPE, cleanup);
      |   ^
docmd.c: In function 'docmds':
docmd.c:979:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  979 |  (void) signal(SIGHUP, sighandler);
      |  ^
docmd.c:980:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  980 |  (void) signal(SIGINT, sighandler);
      |  ^
docmd.c:981:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  981 |  (void) signal(SIGQUIT, sighandler);
      |  ^
docmd.c:982:2: 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,
                 from distopt.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from distopt.c:34:
../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,
                 from distopt.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from distopt.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from distopt.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from distopt.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from distopt.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from distopt.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from distopt.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from distopt.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from distopt.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from distopt.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from distopt.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from distopt.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from distopt.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from expand.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from expand.c:34:
../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,
                 from expand.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from expand.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from expand.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from expand.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from expand.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from expand.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from expand.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from expand.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from expand.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from expand.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from expand.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from expand.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from expand.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from lookup.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from lookup.c:34:
../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,
                 from lookup.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from lookup.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from lookup.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from lookup.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from lookup.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from lookup.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from lookup.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from lookup.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from lookup.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from lookup.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from lookup.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from lookup.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from lookup.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from isexec.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from isexec.c:34:
../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,
                 from isexec.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from isexec.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from isexec.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from isexec.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from isexec.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from isexec.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from isexec.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from isexec.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from isexec.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from isexec.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from isexec.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from isexec.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from isexec.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from signal.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from signal.c:34:
../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,
                 from signal.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from signal.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from signal.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from signal.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from signal.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from signal.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from signal.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from signal.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from signal.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from signal.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from signal.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from signal.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from signal.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from rshrcmd.c:6:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from rshrcmd.c:6:
../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,
                 from rshrcmd.c:6:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from rshrcmd.c:6:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from rshrcmd.c:6:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from rshrcmd.c:6:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from rshrcmd.c:6:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from rshrcmd.c:6:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from rshrcmd.c:6:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from rshrcmd.c:6:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from rshrcmd.c:6:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from rshrcmd.c:6:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from rshrcmd.c:6:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from rshrcmd.c:6:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from rshrcmd.c:6:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from common.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from common.c:34:
../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,
                 from common.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from common.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from common.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from common.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from common.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from common.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from common.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from common.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from common.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from common.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from common.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from common.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from common.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
common.c: In function 'remmore':
common.c:357:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  357 |  (void) signal(SIGALRM, sighandler);
      |  ^
common.c: In function 'readrem':
common.c:446:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  446 |   (void) signal(SIGALRM, sighandler);
      |   ^
common.c: In function 'readremz':
common.c:477:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  477 |  (void) signal(SIGALRM, sighandler);
      |  ^
common.c: In function 'response':
common.c:604:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  604 |   n++;
      |   ~^~
common.c:607:2: 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,
                 from message.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from message.c:34:
../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,
                 from message.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from message.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from message.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from message.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from message.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from message.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from message.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from message.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from message.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from message.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from message.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from message.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from message.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
message.c: In function 'msgsendstdout':
message.c:373:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  373 |    if (flags != MT_DEBUG)
      |       ^
message.c:375:3: 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,
                 from setargs.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from setargs.c:34:
../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,
                 from setargs.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from setargs.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from setargs.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from setargs.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from setargs.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from setargs.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from setargs.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from setargs.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from setargs.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from setargs.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from setargs.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from setargs.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from setargs.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from zopen.c:38:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from zopen.c:38:
../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,
                 from zopen.c:38:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from zopen.c:38:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from zopen.c:38:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from zopen.c:38:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from zopen.c:38:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from zopen.c:38:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from zopen.c:38:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from zopen.c:38:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from zopen.c:38:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from zopen.c:38:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from zopen.c:38:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from zopen.c:38:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from zopen.c:38:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  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,
                 from regex.c:34:
/usr/include/stdlib.h:305:13: note: previous declaration of 'setprogname' was here
  305 | extern void setprogname(const char *);
      |             ^~~~~~~~~~~
In file included from regex.c:34:
../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,
                 from regex.c:34:
/usr/include/iso/stdio_c99.h:84:12: note: previous declaration of 'vsnprintf' was here
   84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~~
In file included from regex.c:34:
../include/defs.h:553:5: warning: redundant redeclaration of 'snprintf' [-Wredundant-decls]
  553 | int snprintf(char *, size_t, const char *, ...)
      |     ^~~~~~~~
In file included from /usr/include/stdio.h:151,
                 from ../include/defs.h:43,
                 from regex.c:34:
/usr/include/iso/stdio_c99.h:82:12: note: previous declaration of 'snprintf' was here
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |            ^~~~~~~~
In file included from ../include/defs.h:563,
                 from regex.c:34:
./vis.h:76:7: warning: redundant redeclaration of 'vis' [-Wredundant-decls]
   76 | char *vis(char *, int, int, int);
      |       ^~~
In file included from regex.c:34:
../include/defs.h:544:7: note: previous declaration of 'vis' was here
  544 | char *vis(char *, int, int, int );
      |       ^~~
In file included from ../include/defs.h:563,
                 from regex.c:34:
./vis.h:77:5: warning: redundant redeclaration of 'strvis' [-Wredundant-decls]
   77 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from regex.c:34:
../include/defs.h:545:5: note: previous declaration of 'strvis' was here
  545 | int strvis(char *, const char *, int);
      |     ^~~~~~
In file included from ../include/defs.h:563,
                 from regex.c:34:
./vis.h:78:5: warning: redundant redeclaration of 'strvisx' [-Wredundant-decls]
   78 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from regex.c:34:
../include/defs.h:546:5: note: previous declaration of 'strvisx' was here
  546 | int strvisx(char *, const char *, size_t, int);
      |     ^~~~~~~
In file included from ../include/defs.h:563,
                 from regex.c:34:
./vis.h:79:5: warning: redundant redeclaration of 'strunvis' [-Wredundant-decls]
   79 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from regex.c:34:
../include/defs.h:539:5: note: previous declaration of 'strunvis' was here
  539 | int strunvis(char *, const char *);
      |     ^~~~~~~~
In file included from ../include/defs.h:563,
                 from regex.c:34:
./vis.h:80:5: warning: redundant redeclaration of 'unvis' [-Wredundant-decls]
   80 | int unvis(char *, int, int *, int);
      |     ^~~~~
In file included from regex.c:34:
../include/defs.h:538:5: note: previous declaration of 'unvis' was here
  538 | int unvis(char *, int, int *, int );
      |     ^~~~~
regex.c: In function 're_comp':
regex.c:148:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  148 |  static char *retoolong = "Regular expression too long";
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:154:11: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  154 |    return "No previous regular expression";
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:168:12: 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:13: 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:13: 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:13: 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'
  421 | cclass(char *set, char c, int af)
      | ^~~~~~
In file included from regex.c:34:
../include/defs.h:489:5: note: previous declaration of 'cclass' was here
  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-trunk/net/rdist6
*** Error code 1

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