=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/news/xrn", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for xrn-10.11 rm -f mesg_str.tmp /usr/bin/nawk -f ./mesg_str.awk ./mesg_strings.c > mesg_str.tmp + cmp -s mesg_str.tmp mesg_strings.h + rm -f mesg_strings.h + mv mesg_str.tmp mesg_strings.h /opt/pkg/bin/gmake all-am gmake[1]: Entering directory '/home/pbulk/work/news/xrn/work/xrn-10.11' gcc -DPACKAGE_NAME=\"xrn\" -DPACKAGE_TARNAME=\"xrn\" -DPACKAGE_VERSION=\"10.11\" -DPACKAGE_STRING=\"xrn\ 10.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xrn\" -DVERSION=\"10.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DYYTEXT_POINTER=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_INT_P=8 -DHAVE_POSIX_REGCOMP=1 -DHAVE_MKSTEMP=1 -DHAVE_STRTOK=1 -DHAVE_UNISTD_H=1 -DXRN_LANG_english=1 -DCONFIG_H_IS_OK=1 -DXRN_APP_CLASS=\"XRn\" -DXRN=1 -DXRNAPPDIR=\"/opt/pkg/etc/X11/app-defaults\" -I. -I/opt/pkg/include -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wno-unused-result -MT xrn-avl.o -MD -MP -MF .deps/xrn-avl.Tpo -c -o xrn-avl.o `test -f 'avl.c' || echo './'`avl.c gcc -DPACKAGE_NAME=\"xrn\" -DPACKAGE_TARNAME=\"xrn\" -DPACKAGE_VERSION=\"10.11\" -DPACKAGE_STRING=\"xrn\ 10.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xrn\" -DVERSION=\"10.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DYYTEXT_POINTER=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_INT_P=8 -DHAVE_POSIX_REGCOMP=1 -DHAVE_MKSTEMP=1 -DHAVE_STRTOK=1 -DHAVE_UNISTD_H=1 -DXRN_LANG_english=1 -DCONFIG_H_IS_OK=1 -DXRN_APP_CLASS=\"XRn\" -DXRN=1 -DXRNAPPDIR=\"/opt/pkg/etc/X11/app-defaults\" -I. -I/opt/pkg/include -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wno-unused-result -MT xrn-compose.o -MD -MP -MF .deps/xrn-compose.Tpo -c -o xrn-compose.o `test -f 'compose.c' || echo './'`compose.c In file included from avl.c:28: utils.h:60:12: error: conflicting types for 'gethostname'; have 'int(void)' 60 | extern int gethostname(); | ^~~~~~~~~~~ In file included from utils.h:51: /usr/include/unistd.h:353:12: note: previous declaration of 'gethostname' with type 'int(char *, int)' 353 | extern int gethostname(char *, int); | ^~~~~~~~~~~ utils.h:68:12: error: conflicting types for 'printf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ In file included from /usr/include/stdio.h:83, from utils.h:44: /usr/include/iso/stdio_iso.h:208:17: note: previous declaration of 'printf' with type 'int(const char *, ...)' 208 | extern int printf(const char *_RESTRICT_KYWD, ...); | ^~~~~~ utils.h:68:22: error: conflicting types for 'fprintf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~~ /usr/include/iso/stdio_iso.h:204:17: note: previous declaration of 'fprintf' with type 'int(FILE *, const char *, ...)' 204 | extern int fprintf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^~~~~~~ utils.h:68:33: error: conflicting types for 'fputc'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:223:17: note: previous declaration of 'fputc' with type 'int(int, FILE *)' 223 | extern int fputc(int, FILE *); | ^~~~~ utils.h:68:42: error: conflicting types for 'fputs'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:224:17: note: previous declaration of 'fputs' with type 'int(const char *, FILE *)' 224 | extern int fputs(const char *_RESTRICT_KYWD, FILE *_RESTRICT_KYWD); | ^~~~~ utils.h:68:51: error: conflicting types for 'fread'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:245:17: note: previous declaration of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, FILE * restrict)'} 245 | extern size_t fread(void *_RESTRICT_KYWD, size_t, size_t, | ^~~~~ utils.h:68:60: error: conflicting types for 'fwrite'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:247:17: note: previous declaration of 'fwrite' with type 'size_t(const void *, long unsigned int, long unsigned int, FILE *)' {aka 'long unsigned int(const void *, long unsigned int, long unsigned int, FILE *)'} 247 | extern size_t fwrite(const void *_RESTRICT_KYWD, size_t, size_t, | ^~~~~~ utils.h:68:70: error: conflicting types for 'sscanf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:214:17: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 214 | extern int sscanf(const char *_RESTRICT_KYWD, | ^~~~~~ utils.h:69:12: error: conflicting types for 'fgetc'; have 'int(void)' 69 | extern int fgetc(); | ^~~~~ /usr/include/iso/stdio_iso.h:221:17: note: previous declaration of 'fgetc' with type 'int(FILE *)' 221 | extern int fgetc(FILE *); | ^~~~~ utils.h:70:12: error: conflicting types for 'fclose'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:195:17: note: previous declaration of 'fclose' with type 'int(FILE *)' 195 | extern int fclose(FILE *); | ^~~~~~ utils.h:70:22: error: conflicting types for 'vfprintf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~~~ /usr/include/iso/stdio_iso.h:216:17: note: previous declaration of 'vfprintf' with type 'int(FILE *, const char *, __va_list_tag *)' 216 | extern int vfprintf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^~~~~~~~ utils.h:70:34: error: conflicting types for 'vsprintf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~~~ /usr/include/iso/stdio_iso.h:219:17: note: previous declaration of 'vsprintf' with type 'int(char *, const char *, __va_list_tag *)' 219 | extern int vsprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^~~~~~~~ utils.h:70:46: error: conflicting types for 'puts'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~ /usr/include/iso/stdio_iso.h:243:17: note: previous declaration of 'puts' with type 'int(const char *)' 243 | extern int puts(const char *); | ^~~~ utils.h:70:54: error: conflicting types for 'fscanf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:206:17: note: previous declaration of 'fscanf' with type 'int(FILE *, const char *, ...)' 206 | extern int fscanf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^~~~~~ utils.h:71:23: error: conflicting types for 'rewind'; have 'int(void)' 71 | extern int _flsbuf(), rewind(), fseek(); | ^~~~~~ /usr/include/iso/stdio_iso.h:255:17: note: previous declaration of 'rewind' with type 'void(FILE *)' 255 | extern void rewind(FILE *); | ^~~~~~ utils.h:71:33: error: conflicting types for 'fseek'; have 'int(void)' 71 | extern int _flsbuf(), rewind(), fseek(); | ^~~~~ /usr/include/iso/stdio_iso.h:253:17: note: previous declaration of 'fseek' with type 'int(FILE *, long int, int)' 253 | extern int fseek(FILE *, long, int); | ^~~~~ utils.h:72:12: warning: conflicting types for built-in function 'toupper'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 72 | extern int toupper(), tolower(); | ^~~~~~~ utils.h:66:1: note: 'toupper' is declared in header '' 65 | #include +++ |+#include 66 | utils.h:72:23: warning: conflicting types for built-in function 'tolower'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 72 | extern int toupper(), tolower(); | ^~~~~~~ utils.h:72:23: note: 'tolower' is declared in header '' utils.h:73:15: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 73 | extern time_t time(); | ^~~~ In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from utils.h:45: /usr/include/iso/time_iso.h:100:15: note: previous declaration of 'time' with type 'time_t(time_t *)' {aka 'long int(long int *)'} 100 | extern time_t time(time_t *); | ^~~~ utils.h:75:12: error: conflicting types for 'system'; have 'int(void)' 75 | extern int system(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from utils.h:55: /usr/include/iso/stdlib_iso.h:160:12: note: previous declaration of 'system' with type 'int(const char *)' 160 | extern int system(const char *); | ^~~~~~ utils.h:76:12: error: conflicting types for 'read'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~ /usr/include/unistd.h:469:16: note: previous declaration of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'long int(int, void *, long unsigned int)'} 469 | extern ssize_t read(int, void *, size_t); | ^~~~ utils.h:76:20: error: conflicting types for 'close'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~ /usr/include/unistd.h:256:12: note: previous declaration of 'close' with type 'int(int)' 256 | extern int close(int); | ^~~~~ utils.h:76:29: error: conflicting types for 'fchmod'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~~ In file included from utils.h:46: /usr/include/sys/stat.h:486:12: note: previous declaration of 'fchmod' with type 'int(int, mode_t)' {aka 'int(int, unsigned int)'} 486 | extern int fchmod(int, mode_t); | ^~~~~~ utils.h:76:39: error: conflicting types for 'rename'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~~ /usr/include/unistd.h:480:12: note: previous declaration of 'rename' with type 'int(const char *, const char *)' 480 | extern int rename(const char *, const char *); | ^~~~~~ utils.h:77:12: error: conflicting types for 'putenv'; have 'int(void)' 77 | extern int putenv(); | ^~~~~~ /usr/include/stdlib.h:162:12: note: previous declaration of 'putenv' with type 'int(char *)' 162 | extern int putenv(char *); | ^~~~~~ utils.h:78:12: error: conflicting types for 'strcasecmp'; have 'int(void)' 78 | extern int strcasecmp(), strncasecmp(); | ^~~~~~~~~~ In file included from utils.h:48: /usr/include/string.h:133:12: note: previous declaration of 'strcasecmp' with type 'int(const char *, const char *)' 133 | extern int strcasecmp(const char *, const char *); | ^~~~~~~~~~ utils.h:78:26: error: conflicting types for 'strncasecmp'; have 'int(void)' 78 | extern int strcasecmp(), strncasecmp(); | ^~~~~~~~~~~ /usr/include/string.h:134:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)' 134 | extern int strncasecmp(const char *, const char *, size_t); | ^~~~~~~~~~~ utils.h:79:13: error: conflicting types for 'bzero'; have 'void(void)' 79 | extern void bzero(), bcopy(); | ^~~~~ In file included from utils.h:65: /usr/include/strings.h:45:13: note: previous declaration of 'bzero' with type 'void(void *, long unsigned int)' 45 | extern void bzero(void *, size_t); | ^~~~~ utils.h:79:22: error: conflicting types for 'bcopy'; have 'void(void)' 79 | extern void bzero(), bcopy(); | ^~~~~ /usr/include/strings.h:44:13: note: previous declaration of 'bcopy' with type 'void(const void *, void *, long unsigned int)' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~ In file included from compose.c:34: utils.h:60:12: error: conflicting types for 'gethostname'; have 'int(void)' 60 | extern int gethostname(); | ^~~~~~~~~~~ In file included from utils.h:51: /usr/include/unistd.h:353:12: note: previous declaration of 'gethostname' with type 'int(char *, int)' 353 | extern int gethostname(char *, int); | ^~~~~~~~~~~ utils.h:68:12: error: conflicting types for 'printf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ In file included from /usr/include/stdio.h:83, from compose.c:30: /usr/include/iso/stdio_iso.h:208:17: note: previous declaration of 'printf' with type 'int(const char *, ...)' 208 | extern int printf(const char *_RESTRICT_KYWD, ...); | ^~~~~~ utils.h:68:22: error: conflicting types for 'fprintf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~~ /usr/include/iso/stdio_iso.h:204:17: note: previous declaration of 'fprintf' with type 'int(FILE *, const char *, ...)' 204 | extern int fprintf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^~~~~~~ utils.h:68:33: error: conflicting types for 'fputc'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:223:17: note: previous declaration of 'fputc' with type 'int(int, FILE *)' 223 | extern int fputc(int, FILE *); | ^~~~~ utils.h:68:42: error: conflicting types for 'fputs'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:224:17: note: previous declaration of 'fputs' with type 'int(const char *, FILE *)' 224 | extern int fputs(const char *_RESTRICT_KYWD, FILE *_RESTRICT_KYWD); | ^~~~~ utils.h:68:51: error: conflicting types for 'fread'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ /usr/include/iso/stdio_iso.h:245:17: note: previous declaration of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, FILE * restrict)'} 245 | extern size_t fread(void *_RESTRICT_KYWD, size_t, size_t, | ^~~~~ utils.h:68:60: error: conflicting types for 'fwrite'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:247:17: note: previous declaration of 'fwrite' with type 'size_t(const void *, long unsigned int, long unsigned int, FILE *)' {aka 'long unsigned int(const void *, long unsigned int, long unsigned int, FILE *)'} 247 | extern size_t fwrite(const void *_RESTRICT_KYWD, size_t, size_t, | ^~~~~~ utils.h:68:70: error: conflicting types for 'sscanf'; have 'int(void)' 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:214:17: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 214 | extern int sscanf(const char *_RESTRICT_KYWD, | ^~~~~~ utils.h:69:12: error: conflicting types for 'fgetc'; have 'int(void)' 69 | extern int fgetc(); | ^~~~~ /usr/include/iso/stdio_iso.h:221:17: note: previous declaration of 'fgetc' with type 'int(FILE *)' 221 | extern int fgetc(FILE *); | ^~~~~ utils.h:70:12: error: conflicting types for 'fclose'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:195:17: note: previous declaration of 'fclose' with type 'int(FILE *)' 195 | extern int fclose(FILE *); | ^~~~~~ utils.h:70:22: error: conflicting types for 'vfprintf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~~~ /usr/include/iso/stdio_iso.h:216:17: note: previous declaration of 'vfprintf' with type 'int(FILE *, const char *, __va_list_tag *)' 216 | extern int vfprintf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^~~~~~~~ utils.h:70:34: error: conflicting types for 'vsprintf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~~~ /usr/include/iso/stdio_iso.h:219:17: note: previous declaration of 'vsprintf' with type 'int(char *, const char *, __va_list_tag *)' 219 | extern int vsprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^~~~~~~~ utils.h:70:46: error: conflicting types for 'puts'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~ /usr/include/iso/stdio_iso.h:243:17: note: previous declaration of 'puts' with type 'int(const char *)' 243 | extern int puts(const char *); | ^~~~ utils.h:70:54: error: conflicting types for 'fscanf'; have 'int(void)' 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ /usr/include/iso/stdio_iso.h:206:17: note: previous declaration of 'fscanf' with type 'int(FILE *, const char *, ...)' 206 | extern int fscanf(FILE *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^~~~~~ utils.h:71:23: error: conflicting types for 'rewind'; have 'int(void)' 71 | extern int _flsbuf(), rewind(), fseek(); | ^~~~~~ /usr/include/iso/stdio_iso.h:255:17: note: previous declaration of 'rewind' with type 'void(FILE *)' 255 | extern void rewind(FILE *); | ^~~~~~ utils.h:71:33: error: conflicting types for 'fseek'; have 'int(void)' 71 | extern int _flsbuf(), rewind(), fseek(); | ^~~~~ /usr/include/iso/stdio_iso.h:253:17: note: previous declaration of 'fseek' with type 'int(FILE *, long int, int)' 253 | extern int fseek(FILE *, long, int); | ^~~~~ utils.h:72:12: warning: conflicting types for built-in function 'toupper'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 72 | extern int toupper(), tolower(); | ^~~~~~~ utils.h:66:1: note: 'toupper' is declared in header '' 65 | #include +++ |+#include 66 | utils.h:72:23: warning: conflicting types for built-in function 'tolower'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 72 | extern int toupper(), tolower(); | ^~~~~~~ utils.h:72:23: note: 'tolower' is declared in header '' utils.h:73:15: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 73 | extern time_t time(); | ^~~~ In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from utils.h:45: /usr/include/iso/time_iso.h:100:15: note: previous declaration of 'time' with type 'time_t(time_t *)' {aka 'long int(long int *)'} 100 | extern time_t time(time_t *); | ^~~~ utils.h:75:12: error: conflicting types for 'system'; have 'int(void)' 75 | extern int system(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from utils.h:55: /usr/include/iso/stdlib_iso.h:160:12: note: previous declaration of 'system' with type 'int(const char *)' 160 | extern int system(const char *); | ^~~~~~ utils.h:76:12: error: conflicting types for 'read'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~ /usr/include/unistd.h:469:16: note: previous declaration of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'long int(int, void *, long unsigned int)'} 469 | extern ssize_t read(int, void *, size_t); | ^~~~ utils.h:76:20: error: conflicting types for 'close'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~ /usr/include/unistd.h:256:12: note: previous declaration of 'close' with type 'int(int)' 256 | extern int close(int); | ^~~~~ utils.h:76:29: error: conflicting types for 'fchmod'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~~ In file included from utils.h:46: /usr/include/sys/stat.h:486:12: note: previous declaration of 'fchmod' with type 'int(int, mode_t)' {aka 'int(int, unsigned int)'} 486 | extern int fchmod(int, mode_t); | ^~~~~~ utils.h:76:39: error: conflicting types for 'rename'; have 'int(void)' 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~~ /usr/include/unistd.h:480:12: note: previous declaration of 'rename' with type 'int(const char *, const char *)' 480 | extern int rename(const char *, const char *); | ^~~~~~ utils.h:77:12: error: conflicting types for 'putenv'; have 'int(void)' 77 | extern int putenv(); | ^~~~~~ /usr/include/stdlib.h:162:12: note: previous declaration of 'putenv' with type 'int(char *)' 162 | extern int putenv(char *); | ^~~~~~ utils.h:78:12: error: conflicting types for 'strcasecmp'; have 'int(void)' 78 | extern int strcasecmp(), strncasecmp(); | ^~~~~~~~~~ In file included from utils.h:48: /usr/include/string.h:133:12: note: previous declaration of 'strcasecmp' with type 'int(const char *, const char *)' 133 | extern int strcasecmp(const char *, const char *); | ^~~~~~~~~~ utils.h:78:26: error: conflicting types for 'strncasecmp'; have 'int(void)' 78 | extern int strcasecmp(), strncasecmp(); | ^~~~~~~~~~~ /usr/include/string.h:134:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)' 134 | extern int strncasecmp(const char *, const char *, size_t); | ^~~~~~~~~~~ utils.h:79:13: error: conflicting types for 'bzero'; have 'void(void)' 79 | extern void bzero(), bcopy(); | ^~~~~ In file included from utils.h:65: /usr/include/strings.h:45:13: note: previous declaration of 'bzero' with type 'void(void *, long unsigned int)' 45 | extern void bzero(void *, size_t); | ^~~~~ utils.h:79:22: error: conflicting types for 'bcopy'; have 'void(void)' 79 | extern void bzero(), bcopy(); | ^~~~~ /usr/include/strings.h:44:13: note: previous declaration of 'bcopy' with type 'void(const void *, void *, long unsigned int)' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~ avl.c: In function 'avl_init_table': avl.c:72:12: warning: old-style function definition [-Wold-style-definition] 72 | avl_tree * avl_init_table(compar) | ^~~~~~~~~~~~~~ avl.c:73:11: error: argument 'compar' doesn't match prototype 73 | int (*compar)(); | ^~~~~~ In file included from avl.c:29: avl.h:61:18: error: prototype declaration 61 | extern avl_tree *avl_init_table _ARGUMENTS((int (*)(const char*,const char*))); | ^~~~~~~~~~~~~~ avl.c: In function 'avl_lookup': avl.c:84:5: warning: old-style function definition [-Wold-style-definition] 84 | int avl_lookup(tree, key, value_p) | ^~~~~~~~~~ avl.c:59:15: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 59 | ((compare == avl_numcmp) ? \ | ^~ avl.c:94:16: note: in expansion of macro 'COMPARE' 94 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c:61:10: error: too many arguments to function 'compare'; expected 0, have 2 61 | (*compare)(key, nodekey)) | ~^~~~~~~~~ avl.c:94:16: note: in expansion of macro 'COMPARE' 94 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c: In function 'avl_insert': avl.c:105:5: warning: old-style function definition [-Wold-style-definition] 105 | int avl_insert(tree, key, value) | ^~~~~~~~~~ avl.c:59:15: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 59 | ((compare == avl_numcmp) ? \ | ^~ avl.c:122:16: note: in expansion of macro 'COMPARE' 122 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c:61:10: error: too many arguments to function 'compare'; expected 0, have 2 61 | (*compare)(key, nodekey)) | ~^~~~~~~~~ avl.c:122:16: note: in expansion of macro 'COMPARE' 122 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c: In function 'avl_delete': avl.c:138:5: warning: old-style function definition [-Wold-style-definition] 138 | int avl_delete(tree, key_p, value_p) | ^~~~~~~~~~ avl.c:59:15: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 59 | ((compare == avl_numcmp) ? \ | ^~ avl.c:153:16: note: in expansion of macro 'COMPARE' 153 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c:61:10: error: too many arguments to function 'compare'; expected 0, have 2 61 | (*compare)(key, nodekey)) | ~^~~~~~~~~ avl.c:153:16: note: in expansion of macro 'COMPARE' 153 | diff = COMPARE(key, node->key, compare); | ^~~~~~~ avl.c: In function 'avl_record_gen_forward': avl.c:185:13: warning: old-style function definition [-Wold-style-definition] 185 | static void avl_record_gen_forward(node, gen) | ^~~~~~~~~~~~~~~~~~~~~~ avl.c: In function 'avl_record_gen_backward': avl.c:198:13: warning: old-style function definition [-Wold-style-definition] 198 | static void avl_record_gen_backward(node, gen) | ^~~~~~~~~~~~~~~~~~~~~~~ avl.c: In function 'avl_init_gen': avl.c:209:17: warning: old-style function definition [-Wold-style-definition] 209 | avl_generator * avl_init_gen(tree, dir) | ^~~~~~~~~~~~ avl.c: In function 'avl_gen': avl.c:232:5: warning: old-style function definition [-Wold-style-definition] 232 | int avl_gen(gen, key_p, value_p) | ^~~~~~~ avl.c: In function 'avl_free_gen': avl.c:249:6: warning: old-style function definition [-Wold-style-definition] 249 | void avl_free_gen(gen) | ^~~~~~~~~~~~ avl.c: In function 'find_rightmost': avl.c:256:19: warning: old-style function definition [-Wold-style-definition] 256 | static avl_node * find_rightmost(node_p) | ^~~~~~~~~~~~~~ avl.c: In function 'do_rebalance': avl.c:275:13: warning: old-style function definition [-Wold-style-definition] 275 | static void do_rebalance(stack_nodep, stack_n) | ^~~~~~~~~~~~ avl.c: In function 'rotate_left': avl.c:301:13: warning: old-style function definition [-Wold-style-definition] 301 | static void rotate_left(node_p) | ^~~~~~~~~~~ avl.c: In function 'rotate_right': avl.c:323:13: warning: old-style function definition [-Wold-style-definition] 323 | static void rotate_right(node_p) | ^~~~~~~~~~~~ avl.c: In function 'avl_walk_forward': avl.c:348:13: warning: old-style function definition [-Wold-style-definition] 348 | static void avl_walk_forward(node, func) | ^~~~~~~~~~~~~~~~ avl.c:353:38: error: passing argument 2 of 'avl_walk_forward' from incompatible pointer type [-Wincompatible-pointer-types] 353 | avl_walk_forward(node->left, func); | ^~~~ | | | void (*)(void) avl.c:350:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 350 | void (*func)(); | ^~~~ avl.c:354:10: error: too many arguments to function 'func'; expected 0, have 2 354 | (*func)(node->key, node->value); | ~^~~~~~ ~~~~~~~~~ avl.c:355:39: error: passing argument 2 of 'avl_walk_forward' from incompatible pointer type [-Wincompatible-pointer-types] 355 | avl_walk_forward(node->right, func); | ^~~~ | | | void (*)(void) avl.c:350:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 350 | void (*func)(); | ^~~~ avl.c: In function 'avl_walk_backward': avl.c:362:13: warning: old-style function definition [-Wold-style-definition] 362 | static void avl_walk_backward(node, func) | ^~~~~~~~~~~~~~~~~ avl.c:367:40: error: passing argument 2 of 'avl_walk_backward' from incompatible pointer type [-Wincompatible-pointer-types] 367 | avl_walk_backward(node->right, func); | ^~~~ | | | void (*)(void) avl.c:364:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 364 | void (*func)(); | ^~~~ avl.c:368:10: error: too many arguments to function 'func'; expected 0, have 2 368 | (*func)(node->key, node->value); | ~^~~~~~ ~~~~~~~~~ avl.c:369:39: error: passing argument 2 of 'avl_walk_backward' from incompatible pointer type [-Wincompatible-pointer-types] 369 | avl_walk_backward(node->left, func); | ^~~~ | | | void (*)(void) avl.c:364:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 364 | void (*func)(); | ^~~~ avl.c: In function 'avl_foreach': avl.c:373:6: warning: old-style function definition [-Wold-style-definition] 373 | void avl_foreach(tree, func, direction) | ^~~~~~~~~~~ avl.c:375:12: error: argument 'func' doesn't match prototype 375 | void (*func)(); | ^~~~ avl.h:69:13: error: prototype declaration 69 | extern void avl_foreach _ARGUMENTS((avl_tree *,void (*)(char *,char *),int)); | ^~~~~~~~~~~ avl.c:379:38: error: passing argument 2 of 'avl_walk_forward' from incompatible pointer type [-Wincompatible-pointer-types] 379 | avl_walk_forward(tree->root, func); | ^~~~ | | | void (*)(void) avl.c:350:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 350 | void (*func)(); | ^~~~ avl.c:381:39: error: passing argument 2 of 'avl_walk_backward' from incompatible pointer type [-Wincompatible-pointer-types] 381 | avl_walk_backward(tree->root, func); | ^~~~ | | | void (*)(void) avl.c:364:12: note: expected 'void (*)(char *, char *)' but argument is of type 'void (*)(void)' 364 | void (*func)(); | ^~~~ avl.c: In function 'free_entry': avl.c:388:13: warning: old-style function definition [-Wold-style-definition] 388 | static void free_entry(node, key_free, value_free) | ^~~~~~~~~~ avl.c:394:32: error: passing argument 2 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 394 | free_entry(node->left, key_free, value_free); | ^~~~~~~~ | | | void (*)(void) avl.c:390:12: note: expected 'void (*)(char *)' but argument is of type 'void (*)(void)' 390 | void (*key_free)(); | ^~~~~~~~ avl.c:394:42: error: passing argument 3 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 394 | free_entry(node->left, key_free, value_free); | ^~~~~~~~~~ | | | void (*)(void) avl.c:391:12: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 391 | void (*value_free)(); | ^~~~~~~~~~ avl.c:395:33: error: passing argument 2 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 395 | free_entry(node->right, key_free, value_free); | ^~~~~~~~ | | | void (*)(void) avl.c:390:12: note: expected 'void (*)(char *)' but argument is of type 'void (*)(void)' 390 | void (*key_free)(); | ^~~~~~~~ avl.c:395:43: error: passing argument 3 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 395 | free_entry(node->right, key_free, value_free); | ^~~~~~~~~~ | | | void (*)(void) avl.c:391:12: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 391 | void (*value_free)(); | ^~~~~~~~~~ avl.c:396:29: error: too many arguments to function 'key_free'; expected 0, have 1 396 | if (key_free != 0) (*key_free)(node->key); | ~^~~~~~~~~~ ~~~~~~~~~ avl.c:397:31: error: too many arguments to function 'value_free'; expected 0, have 1 397 | if (value_free != 0) (*value_free)(node->value); | ~^~~~~~~~~~~~ ~~~~~~~~~~~ avl.c: In function 'avl_free_table': avl.c:402:6: warning: old-style function definition [-Wold-style-definition] 402 | void avl_free_table(tree, key_free, value_free) | ^~~~~~~~~~~~~~ avl.c:404:12: error: argument 'key_free' doesn't match prototype 404 | void (*key_free)(); | ^~~~~~~~ avl.h:72:13: error: prototype declaration 72 | extern void avl_free_table _ARGUMENTS((avl_tree *,void (*)(char *), | ^~~~~~~~~~~~~~ avl.c:405:12: error: argument 'value_free' doesn't match prototype 405 | void (*value_free)(); | ^~~~~~~~~~ avl.h:72:13: error: prototype declaration 72 | extern void avl_free_table _ARGUMENTS((avl_tree *,void (*)(char *), | ^~~~~~~~~~~~~~ avl.c:407:28: error: passing argument 2 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 407 | free_entry(tree->root, key_free, value_free); | ^~~~~~~~ | | | void (*)(void) avl.c:390:12: note: expected 'void (*)(char *)' but argument is of type 'void (*)(void)' 390 | void (*key_free)(); | ^~~~~~~~ avl.c:407:38: error: passing argument 3 of 'free_entry' from incompatible pointer type [-Wincompatible-pointer-types] 407 | free_entry(tree->root, key_free, value_free); | ^~~~~~~~~~ | | | void (*)(void) avl.c:391:12: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 391 | void (*value_free)(); | ^~~~~~~~~~ avl.c: In function 'avl_count': avl.c:412:5: warning: old-style function definition [-Wold-style-definition] 412 | int avl_count(tree) | ^~~~~~~~~ avl.c: In function 'new_node': avl.c:418:19: warning: old-style function definition [-Wold-style-definition] 418 | static avl_node * new_node(key, value) | ^~~~~~~~ avl.c: In function 'avl_numcmp': avl.c:432:5: warning: old-style function definition [-Wold-style-definition] 432 | int avl_numcmp(x, y) | ^~~~~~~~~~ avl.c: In function 'avl_check_tree': avl.c:438:5: warning: old-style function definition [-Wold-style-definition] 438 | int avl_check_tree(tree) | ^~~~~~~~~~~~~~ avl.c:442:42: error: passing argument 2 of 'do_check_tree' from incompatible pointer type [-Wincompatible-pointer-types] 442 | (void) do_check_tree(tree->root, tree->compar, &error); | ~~~~^~~~~~~~ | | | int (*)(void) avl.c:68:50: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 68 | static int do_check_tree _ARGUMENTS((avl_node *, int (*)(char *, char *), | ^~~~~~~~~~~~~~~~~~~~~~~ utils.h:134:29: note: in definition of macro '_ARGUMENTS' 134 | #define _ARGUMENTS(arglist) arglist | ^~~~~~~ avl.c: In function 'do_check_tree': avl.c:446:12: warning: old-style function definition [-Wold-style-definition] 446 | static int do_check_tree(node, compar, error) | ^~~~~~~~~~~~~ avl.c:457:43: error: passing argument 2 of 'do_check_tree' from incompatible pointer type [-Wincompatible-pointer-types] 457 | r_height = do_check_tree(node->right, compar, error); | ^~~~~~ | | | int (*)(void) avl.c:448:11: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 448 | int (*compar)(); | ^~~~~~ avl.c:458:42: error: passing argument 2 of 'do_check_tree' from incompatible pointer type [-Wincompatible-pointer-types] 458 | l_height = do_check_tree(node->left, compar, error); | ^~~~~~ | | | int (*)(void) avl.c:448:11: note: expected 'int (*)(char *, char *)' but argument is of type 'int (*)(void)' 448 | int (*compar)(); | ^~~~~~ avl.c:464:16: error: too many arguments to function 'printf'; expected 0, have 4 464 | (void) printf("Bad height for %p: computed=%d stored=%d\n", | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:68:12: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ avl.c:470:16: error: too many arguments to function 'printf'; expected 0, have 3 470 | (void) printf("Out of balance at node %p, balance = %d\n", | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:68:12: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ avl.c:476:22: error: too many arguments to function 'compar'; expected 0, have 2 476 | (*compar)(node->left->key, node->key) > 0) { | ~^~~~~~~~ ~~~~~~~~~~~~~~~ avl.c:477:16: error: too many arguments to function 'printf'; expected 0, have 3 477 | (void) printf("Bad ordering between %p and %p", | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:68:12: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ avl.c:483:22: error: too many arguments to function 'compar'; expected 0, have 2 483 | (*compar)(node->key, node->right->key) > 0) { | ~^~~~~~~~ ~~~~~~~~~ avl.c:484:16: error: too many arguments to function 'printf'; expected 0, have 3 484 | (void) printf("Bad ordering between %p and %p", | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.h:68:12: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ In file included from /usr/include/ctype.h:36, from compose.c:36: /usr/include/iso/ctype_iso.h:106:12: error: conflicting types for 'tolower'; have 'int(int)' 106 | extern int tolower(int); | ^~~~~~~ utils.h:72:23: note: previous declaration of 'tolower' with type 'int(void)' 72 | extern int toupper(), tolower(); | ^~~~~~~ /usr/include/iso/ctype_iso.h:107:12: error: conflicting types for 'toupper'; have 'int(int)' 107 | extern int toupper(int); | ^~~~~~~ utils.h:72:12: note: previous declaration of 'toupper' with type 'int(void)' 72 | extern int toupper(), tolower(); | ^~~~~~~ gmake[1]: *** [Makefile:547: xrn-avl.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... compose.c: In function 'compAbortCore': compose.c:203:8: warning: old-style function definition [-Wold-style-definition] 203 | BUTTON(compAbort,abort); | ^~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:203:1: note: in expansion of macro 'BUTTON' 203 | BUTTON(compAbort,abort); | ^~~~~~ compose.c: In function 'compAbortAction': compose.c:203:8: warning: old-style function definition [-Wold-style-definition] 203 | BUTTON(compAbort,abort); | ^~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:203:1: note: in expansion of macro 'BUTTON' 203 | BUTTON(compAbort,abort); | ^~~~~~ compose.c: In function 'compAbortButton': compose.c:203:8: warning: old-style function definition [-Wold-style-definition] 203 | BUTTON(compAbort,abort); | ^~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:203:1: note: in expansion of macro 'BUTTON' 203 | BUTTON(compAbort,abort); | ^~~~~~ compose.c: In function 'compSaveCore': compose.c:204:8: warning: old-style function definition [-Wold-style-definition] 204 | BUTTON(compSave,save); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:204:1: note: in expansion of macro 'BUTTON' 204 | BUTTON(compSave,save); | ^~~~~~ compose.c: In function 'compSaveAction': compose.c:204:8: warning: old-style function definition [-Wold-style-definition] 204 | BUTTON(compSave,save); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:204:1: note: in expansion of macro 'BUTTON' 204 | BUTTON(compSave,save); | ^~~~~~ compose.c: In function 'compSaveButton': compose.c:204:8: warning: old-style function definition [-Wold-style-definition] 204 | BUTTON(compSave,save); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:204:1: note: in expansion of macro 'BUTTON' 204 | BUTTON(compSave,save); | ^~~~~~ compose.c: In function 'compSwitchFollowupCore': compose.c:205:8: warning: old-style function definition [-Wold-style-definition] 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:205:1: note: in expansion of macro 'BUTTON' 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~ compose.c: In function 'compSwitchFollowupAction': compose.c:205:8: warning: old-style function definition [-Wold-style-definition] 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:205:1: note: in expansion of macro 'BUTTON' 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~ compose.c: In function 'compSwitchFollowupButton': compose.c:205:8: warning: old-style function definition [-Wold-style-definition] 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:205:1: note: in expansion of macro 'BUTTON' 205 | BUTTON(compSwitchFollowup,switch to followup); | ^~~~~~ compose.c: In function 'compSwitchReplyCore': compose.c:206:8: warning: old-style function definition [-Wold-style-definition] 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:206:1: note: in expansion of macro 'BUTTON' 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~ compose.c: In function 'compSwitchReplyAction': compose.c:206:8: warning: old-style function definition [-Wold-style-definition] 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:206:1: note: in expansion of macro 'BUTTON' 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~ compose.c: In function 'compSwitchReplyButton': compose.c:206:8: warning: old-style function definition [-Wold-style-definition] 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:206:1: note: in expansion of macro 'BUTTON' 206 | BUTTON(compSwitchReply,switch to reply); | ^~~~~~ compose.c: In function 'compSwitchBothCore': compose.c:207:8: warning: old-style function definition [-Wold-style-definition] 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:207:1: note: in expansion of macro 'BUTTON' 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~ compose.c: In function 'compSwitchBothAction': compose.c:207:8: warning: old-style function definition [-Wold-style-definition] 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:207:1: note: in expansion of macro 'BUTTON' 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~ compose.c: In function 'compSwitchBothButton': compose.c:207:8: warning: old-style function definition [-Wold-style-definition] 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:207:1: note: in expansion of macro 'BUTTON' 207 | BUTTON(compSwitchBoth,switch to followup/reply); | ^~~~~~ compose.c: In function 'compSendCore': compose.c:208:8: warning: old-style function definition [-Wold-style-definition] 208 | BUTTON(compSend,send); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:208:1: note: in expansion of macro 'BUTTON' 208 | BUTTON(compSend,send); | ^~~~~~ compose.c: In function 'compSendAction': compose.c:208:8: warning: old-style function definition [-Wold-style-definition] 208 | BUTTON(compSend,send); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:208:1: note: in expansion of macro 'BUTTON' 208 | BUTTON(compSend,send); | ^~~~~~ compose.c: In function 'compSendButton': compose.c:208:8: warning: old-style function definition [-Wold-style-definition] 208 | BUTTON(compSend,send); | ^~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:208:1: note: in expansion of macro 'BUTTON' 208 | BUTTON(compSend,send); | ^~~~~~ compose.c: In function 'compIncludeArticleCore': compose.c:209:8: warning: old-style function definition [-Wold-style-definition] 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:209:1: note: in expansion of macro 'BUTTON' 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~ compose.c: In function 'compIncludeArticleAction': compose.c:209:8: warning: old-style function definition [-Wold-style-definition] 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:209:1: note: in expansion of macro 'BUTTON' 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~ compose.c: In function 'compIncludeArticleButton': compose.c:209:8: warning: old-style function definition [-Wold-style-definition] 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:209:1: note: in expansion of macro 'BUTTON' 209 | BUTTON(compIncludeArticle,include article); | ^~~~~~ compose.c: In function 'compIncludeFileCore': compose.c:210:8: warning: old-style function definition [-Wold-style-definition] 210 | BUTTON(compIncludeFile,include file); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:210:1: note: in expansion of macro 'BUTTON' 210 | BUTTON(compIncludeFile,include file); | ^~~~~~ compose.c: In function 'compIncludeFileAction': compose.c:210:8: warning: old-style function definition [-Wold-style-definition] 210 | BUTTON(compIncludeFile,include file); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:210:1: note: in expansion of macro 'BUTTON' 210 | BUTTON(compIncludeFile,include file); | ^~~~~~ compose.c: In function 'compIncludeFileButton': compose.c:210:8: warning: old-style function definition [-Wold-style-definition] 210 | BUTTON(compIncludeFile,include file); | ^~~~~~~~~~~~~~~ utils.h:283:21: note: in definition of macro 'CONCAT' 283 | #define CONCAT(a,b) a##b | ^ butdefs.h:98:24: note: in expansion of macro '_BUTTON' 98 | #define BUTTON(nm,lbl) _BUTTON(nm,lbl,inCommand,inCommand = 1,inCommand = 0) | ^~~~~~~ compose.c:210:1: note: in expansion of macro 'BUTTON' 210 | BUTTON(compIncludeFile,include file); | ^~~~~~ compose.c: In function 'getHeader': compose.c:311:12: warning: old-style function definition [-Wold-style-definition] 311 | static int getHeader(article, Header) | ^~~~~~~~~ compose.c:434:12: error: too many arguments to function 'gethostname'; expected 0, have 2 434 | (void) gethostname(real_host, sizeof(real_host)); | ^~~~~~~~~~~ ~~~~~~~~~ utils.h:60:12: note: declared here 60 | extern int gethostname(); | ^~~~~~~~~~~ compose.c: In function 'fieldExists': compose.c:590:12: warning: old-style function definition [-Wold-style-definition] 590 | static int fieldExists(fieldName, last_field) | ^~~~~~~~~~~ compose.c: In function 'fieldIsMultiple': compose.c:631:16: warning: old-style function definition [-Wold-style-definition] 631 | static Boolean fieldIsMultiple(fieldName) | ^~~~~~~~~~~~~~~ compose.c: In function 'addField': compose.c:650:13: warning: old-style function definition [-Wold-style-definition] 650 | static void addField(field) | ^~~~~~~~ compose.c: In function 'fieldBounds': compose.c:665:16: warning: old-style function definition [-Wold-style-definition] 665 | static Boolean fieldBounds(fieldName, left, right) | ^~~~~~~~~~~ compose.c: In function 'stripField': compose.c:697:13: warning: old-style function definition [-Wold-style-definition] 697 | static void stripField(fieldName) | ^~~~~~~~~~ compose.c: In function 'returnField': compose.c:723:13: warning: old-style function definition [-Wold-style-definition] 723 | static void returnField(fieldName, out, msg_size, msg_total_size) | ^~~~~~~~~~~ compose.c: In function 'freeHeader': compose.c:767:13: warning: old-style function definition [-Wold-style-definition] 767 | static void freeHeader(Header) | ^~~~~~~~~~ compose.c: In function 'buildSubject': compose.c:800:13: warning: old-style function definition [-Wold-style-definition] 800 | static void buildSubject(Header, msg, msg_size, msg_total_size) | ^~~~~~~~~~~~ compose.c: In function 'buildReplyTo': compose.c:904:13: warning: old-style function definition [-Wold-style-definition] 904 | static void buildReplyTo(msg, msg_size, msg_total_size) | ^~~~~~~~~~~~ compose.c: In function 'buildReferences': compose.c:927:13: warning: old-style function definition [-Wold-style-definition] 927 | static void buildReferences(Header, msg, msg_size, msg_total_size) | ^~~~~~~~~~~~~~~ compose.c: In function 'buildPath': compose.c:955:13: warning: old-style function definition [-Wold-style-definition] 955 | static void buildPath(Header, msg, msg_size, msg_total_size) | ^~~~~~~~~ compose.c: In function 'buildNewsgroups': compose.c:983:12: warning: old-style function definition [-Wold-style-definition] 983 | static int buildNewsgroups(Header, msg, msg_size, msg_total_size) | ^~~~~~~~~~~~~~~ compose.c: In function 'buildDistribution': compose.c:1023:13: warning: old-style function definition [-Wold-style-definition] 1023 | static void buildDistribution(Header, msg, msg_size, msg_total_size) | ^~~~~~~~~~~~~~~~~ compose.c: In function 'compAbortFunction': compose.c:1134:6: warning: old-style function definition [-Wold-style-definition] 1134 | void compAbortFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~ compose.c: In function 'saveMessage': compose.c:1146:13: warning: old-style function definition [-Wold-style-definition] 1146 | static void saveMessage(fname, msg) | ^~~~~~~~~~~ compose.c:1172:16: error: too many arguments to function 'time'; expected 0, have 1 1172 | (void) time(&clock); | ^~~~ ~~~~~~ utils.h:73:15: note: declared here 73 | extern time_t time(); | ^~~~ compose.c:1173:15: error: too many arguments to function 'fprintf'; expected 0, have 4 1173 | ret = fprintf(fp, "From %s %s", user, ctime(&clock)); | ^~~~~~~ ~~ utils.h:68:22: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~~ compose.c:1182:21: error: too many arguments to function 'fputc'; expected 0, have 2 1182 | if (fputc('>', fp) == EOF) { | ^~~~~ ~~~ utils.h:68:33: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:1187:21: error: too many arguments to function 'fputc'; expected 0, have 2 1187 | if (fputc(*msg, fp) == EOF) { | ^~~~~ ~~~~ utils.h:68:33: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:1197:13: error: too many arguments to function 'fputs'; expected 0, have 2 1197 | if (fputs("\n\n", fp) == EOF) { | ^~~~~ ~~~~~~ utils.h:68:42: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:1202:16: error: too many arguments to function 'fclose'; expected 0, have 1 1202 | (void) fclose(fp); | ^~~~~~ ~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c: In function 'compSaveFunction': compose.c:1211:6: warning: old-style function definition [-Wold-style-definition] 1211 | void compSaveFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~ compose.c: In function 'saveDeadLetter': compose.c:1224:13: warning: old-style function definition [-Wold-style-definition] 1224 | static void saveDeadLetter(msg) | ^~~~~~~~~~~~~~ compose.c: In function 'newsgroupsStatusUnion': compose.c:1239:22: warning: old-style function definition [-Wold-style-definition] 1239 | static unsigned long newsgroupsStatusUnion(newsgroups) | ^~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'compSendFunction': compose.c:1301:6: warning: old-style function definition [-Wold-style-definition] 1301 | void compSendFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~ compose.c:1472:21: error: too many arguments to function 'system'; expected 0, have 1 1472 | if (system(verify_command)) { | ^~~~~~ ~~~~~~~~~~~~~~ utils.h:75:12: note: declared here 75 | extern int system(); | ^~~~~~ compose.c: In function 'getIncludedArticleText': compose.c:1950:18: error: too many arguments to function 'fclose'; expected 0, have 1 1950 | (void) fclose(infile); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c: In function 'includeArticleText3': compose.c:1978:13: warning: old-style function definition [-Wold-style-definition] 1978 | static void includeArticleText3(message) | ^~~~~~~~~~~~~~~~~~~ compose.c: In function 'compIncludeArticleFunction': compose.c:1998:6: warning: old-style function definition [-Wold-style-definition] 1998 | void compIncludeArticleFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'includeHandler': compose.c:2022:13: warning: old-style function definition [-Wold-style-definition] 2022 | static void includeHandler(widget, client_data, call_data) | ^~~~~~~~~~~~~~ compose.c:2045:16: error: too many arguments to function 'fclose'; expected 0, have 1 2045 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c:2049:28: error: too many arguments to function 'fread'; expected 0, have 4 2049 | while ((num_read = fread(message + total_read, sizeof(*message), | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ utils.h:68:51: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:2053:16: error: too many arguments to function 'fclose'; expected 0, have 1 2053 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c: In function 'compIncludeFileFunction': compose.c:2069:6: warning: old-style function definition [-Wold-style-definition] 2069 | void compIncludeFileFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~~~~~~~ compose.c:2076:22: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct _WidgetRec *, void *, void *)' [-Wincompatible-pointer-types] 2076 | {ABORT_STRING, includeHandler, (XtPointer) XRNinclude_ABORT}, | ^~~~~~~~~~~~~~ compose.c:2076:22: note: (near initialization for 'args[0].handler') compose.c:2022:13: note: 'includeHandler' declared here 2022 | static void includeHandler(widget, client_data, call_data) | ^~~~~~~~~~~~~~ compose.c:2077:22: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct _WidgetRec *, void *, void *)' [-Wincompatible-pointer-types] 2077 | {DOIT_STRING, includeHandler, (XtPointer) XRNinclude_DOIT}, | ^~~~~~~~~~~~~~ compose.c:2077:22: note: (near initialization for 'args[1].handler') compose.c:2022:13: note: 'includeHandler' declared here 2022 | static void includeHandler(widget, client_data, call_data) | ^~~~~~~~~~~~~~ compose.c: In function 'processMessage': compose.c:2092:6: warning: old-style function definition [-Wold-style-definition] 2092 | void processMessage(closure, source, id) | ^~~~~~~~~~~~~~ compose.c:2106:5: error: too many arguments to function 'read'; expected 0, have 3 2106 | read(inchannel,buffer,1); | ^~~~ ~~~~~~~~~ utils.h:76:12: note: declared here 76 | extern int read(), close(), fchmod(), rename(); | ^~~~ compose.c:2164:16: error: too many arguments to function 'fclose'; expected 0, have 1 2164 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c:2173:16: error: too many arguments to function 'fclose'; expected 0, have 1 2173 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c:2182:16: error: too many arguments to function 'fclose'; expected 0, have 1 2182 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c:2190:12: error: too many arguments to function 'fread'; expected 0, have 4 2190 | (void) fread(ptr, sizeof(char), buf.st_size, filefp); | ^~~~~ ~~~ utils.h:68:51: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:2192:12: error: too many arguments to function 'fclose'; expected 0, have 1 2192 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c: In function 'catch_sigchld': compose.c:2227:19: warning: old-style function definition [-Wold-style-definition] 2227 | static RETSIGTYPE catch_sigchld(signo) | ^~~~~~~~~~~~~ compose.c: In function 'Call_Editor': compose.c:2293:20: error: too many arguments to function 'fwrite'; expected 0, have 4 2293 | (void) fwrite(header, sizeof(char), utStrlen(header), filefp); | ^~~~~~ ~~~~~~ utils.h:68:60: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~ compose.c:2302:16: error: too many arguments to function 'fclose'; expected 0, have 1 2302 | (void) fclose(filefp); | ^~~~~~ ~~~~~~ utils.h:70:12: note: declared here 70 | extern int fclose(), vfprintf(), vsprintf(), puts(), fscanf(), _filbuf(); | ^~~~~~ compose.c:2365:24: error: too many arguments to function 'close'; expected 0, have 1 2365 | (void) close(i); | ^~~~~ ~ utils.h:76:20: note: declared here 76 | extern int read(), close(), fchmod(), rename(); | ^~~~~ compose.c:2368:18: error: too many arguments to function 'fprintf'; expected 0, have 3 2368 | (void) fprintf(stderr, ERROR_EXEC_FAILED_MSG, buffer); | ^~~~~~~ ~~~~~~ utils.h:68:22: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~~~ compose.c: In function 'composePane': compose.c:2419:12: warning: old-style function definition [-Wold-style-definition] 2419 | static int composePane(titleString, header, point) | ^~~~~~~~~~~ compose.c: In function 'compose_buttons': compose.c:2523:13: warning: old-style function definition [-Wold-style-definition] 2523 | static void compose_buttons(box, first_time) | ^~~~~~~~~~~~~~~ compose.c: In function 'signatureFile': compose.c:2667:24: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 2667 | close_func = xrn_pclose; | ^ /usr/include/stdio.h:327:17: note: 'pclose' declared here 327 | extern int pclose(FILE *); | ^~~~~~ compose.c:2689:13: error: too many arguments to function 'fread'; expected 0, have 4 2689 | count = fread(&info[4], sizeof(char), sizeof(info) - 4, infofp); | ^~~~~ ~~~~~~~~ utils.h:68:51: note: declared here 68 | extern int printf(), fprintf(), fputc(), fputs(), fread(), fwrite(), sscanf(); | ^~~~~ compose.c:2703:13: error: too many arguments to function 'close_func'; expected 0, have 1 2703 | (void) (*close_func)(infofp); | ~^~~~~~~~~~~~ ~~~~~~ compose.c: In function 'update_headers': compose.c:2721:14: warning: old-style function definition [-Wold-style-definition] 2721 | static char *update_headers(Header, first_time, followup, reply) | ^~~~~~~~~~~~~~ compose.c: In function 'followup_or_reply_title': compose.c:2833:14: warning: old-style function definition [-Wold-style-definition] 2833 | static char *followup_or_reply_title(Header, followup, reply) | ^~~~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'followup_or_reply': compose.c:2849:13: warning: old-style function definition [-Wold-style-definition] 2849 | static void followup_or_reply(followup, reply) | ^~~~~~~~~~~~~~~~~ compose.c: In function 'switch_message_type': compose.c:2921:13: warning: old-style function definition [-Wold-style-definition] 2921 | static void switch_message_type(Header) | ^~~~~~~~~~~~~~~~~~~ compose.c: In function 'post_or_mail': compose.c:3124:6: warning: old-style function definition [-Wold-style-definition] 3124 | void post_or_mail(ingroupp, post, mail) | ^~~~~~~~~~~~ compose.c: In function 'addressMatches': compose.c:3248:16: warning: old-style function definition [-Wold-style-definition] 3248 | static Boolean addressMatches(art_line, user, host) | ^~~~~~~~~~~~~~ compose.c: In function 'trim_references': compose.c:3412:12: warning: old-style function definition [-Wold-style-definition] 3412 | static int trim_references(refs) | ^~~~~~~~~~~~~~~ compose.c: In function 'compSwitchFollowupFunction': compose.c:3494:6: warning: old-style function definition [-Wold-style-definition] 3494 | void compSwitchFollowupFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'compSwitchReplyFunction': compose.c:3504:6: warning: old-style function definition [-Wold-style-definition] 3504 | void compSwitchReplyFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'compSwitchBothFunction': compose.c:3514:6: warning: old-style function definition [-Wold-style-definition] 3514 | void compSwitchBothFunction(widget, event, string, count) | ^~~~~~~~~~~~~~~~~~~~~~ compose.c: In function 'check_quoted_text': compose.c:3543:12: warning: old-style function definition [-Wold-style-definition] 3543 | static int check_quoted_text(article) | ^~~~~~~~~~~~~~~~~ compose.c: In function 'insert_courtesy_tag': compose.c:3585:14: warning: old-style function definition [-Wold-style-definition] 3585 | static char *insert_courtesy_tag(message) | ^~~~~~~~~~~~~~~~~~~ compose.c: In function 'IsValidAddressField': compose.c:3640:16: warning: old-style function definition [-Wold-style-definition] 3640 | static Boolean IsValidAddressField(value_in) | ^~~~~~~~~~~~~~~~~~~ compose.c: In function 'check_address': compose.c:3714:16: warning: old-style function definition [-Wold-style-definition] 3714 | static Boolean check_address(address) | ^~~~~~~~~~~~~ gmake[1]: *** [Makefile:561: xrn-compose.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/news/xrn/work/xrn-10.11' gmake: *** [Makefile:390: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/xrn *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/xrn