=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/chat/icb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for icb-5.0.9pl1nb7 --- all --- Making in murgil cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c clientserve.c clientserve.c: In function 'clientserve': clientserve.c:43:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 43 | signal(SIGALRM, gotalarm); | ^~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from clientserve.c:5: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ clientserve.c:20:1: note: 'gotalarm' declared here 20 | gotalarm() | ^~~~~~~~ clientserve.c: In function 'sendit': clientserve.c:110:1: warning: old-style function definition [-Wold-style-definition] 110 | sendit(pkt) | ^~~~~~ *** Error code 1 Stop. make[1]: stopped making "default" in /home/pbulk/work/chat/icb/work/icb-5.0.9/murgil Making in tcl cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c panic.c In file included from panic.c:21: ./stdlib.h:44:17: warning: conflicting types for built-in function 'alloca'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 44 | extern void * alloca(); | ^~~~~~ ./stdlib.h:45:17: warning: conflicting types for built-in function 'calloc'; expected 'void *(long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 45 | extern void * calloc(); | ^~~~~~ ./stdlib.h:1:1: note: 'calloc' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:46:17: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 46 | extern void * malloc(); | ^~~~~~ ./stdlib.h:46:17: note: 'malloc' is declared in header '' ./stdlib.h:47:17: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 47 | extern void * realloc(); | ^~~~~~~ ./stdlib.h:47:17: note: 'realloc' is declared in header '' ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: note: 'free' is declared in header '' ./stdlib.h:131:17: warning: conflicting types for built-in function 'abs'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 131 | extern int abs(); | ^~~ ./stdlib.h:131:17: note: 'abs' is declared in header '' ./stdlib.h:133:17: warning: conflicting types for built-in function 'labs'; expected 'long int(long int)' [-Wbuiltin-declaration-mismatch] 133 | extern long int labs(); | ^~~~ ./stdlib.h:133:17: note: 'labs' is declared in header '' ./stdlib.h:145:17: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 145 | extern void exit(); | ^~~~ ./stdlib.h:145:17: note: 'exit' is declared in header '' cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c strerror.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclAssem.c In file included from tclAssem.c:25: ./stdlib.h:44:17: warning: conflicting types for built-in function 'alloca'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 44 | extern void * alloca(); | ^~~~~~ ./stdlib.h:45:17: warning: conflicting types for built-in function 'calloc'; expected 'void *(long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 45 | extern void * calloc(); | ^~~~~~ ./stdlib.h:1:1: note: 'calloc' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:46:17: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 46 | extern void * malloc(); | ^~~~~~ ./stdlib.h:46:17: note: 'malloc' is declared in header '' ./stdlib.h:47:17: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 47 | extern void * realloc(); | ^~~~~~~ ./stdlib.h:47:17: note: 'realloc' is declared in header '' ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: note: 'free' is declared in header '' ./stdlib.h:131:17: warning: conflicting types for built-in function 'abs'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 131 | extern int abs(); | ^~~ ./stdlib.h:131:17: note: 'abs' is declared in header '' ./stdlib.h:133:17: warning: conflicting types for built-in function 'labs'; expected 'long int(long int)' [-Wbuiltin-declaration-mismatch] 133 | extern long int labs(); | ^~~~ ./stdlib.h:133:17: note: 'labs' is declared in header '' ./stdlib.h:145:17: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 145 | extern void exit(); | ^~~~ ./stdlib.h:145:17: note: 'exit' is declared in header '' tclAssem.c: In function 'Tcl_CreateCmdBuf': tclAssem.c:74:24: error: too many arguments to function 'malloc'; expected 0, have 1 74 | cbPtr = (CmdBuf *) malloc(sizeof(CmdBuf)); | ^~~~~~ ~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: declared here 46 | extern void * malloc(); | ^~~~~~ tclAssem.c:75:21: error: too many arguments to function 'malloc'; expected 0, have 1 75 | cbPtr->buffer = malloc(CMD_BUF_SIZE); | ^~~~~~ ./stdlib.h:46:17: note: declared here 46 | extern void * malloc(); | ^~~~~~ tclAssem.c: In function 'Tcl_DeleteCmdBuf': tclAssem.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | Tcl_DeleteCmdBuf(buffer) | ^~~~~~~~~~~~~~~~ tclAssem.c:102:1: error: number of arguments doesn't match prototype 102 | { | ^ In file included from tclInt.h:22, from tclAssem.c:22: tcl.h:109:25: error: prototype declaration 109 | extern void Tcl_DeleteCmdBuf(); | ^~~~~~~~~~~~~~~~ tclAssem.c:105:5: error: too many arguments to function 'free'; expected 0, have 1 105 | free(cbPtr->buffer); | ^~~~ ~~~~~~~~~~~~~ ./stdlib.h:72:17: note: declared here 72 | extern free(); | ^~~~ tclAssem.c:106:5: error: too many arguments to function 'free'; expected 0, have 1 106 | free((char *) cbPtr); | ^~~~ ~~~~~~~~~~~~~~ ./stdlib.h:72:17: note: declared here 72 | extern free(); | ^~~~ tclAssem.c: In function 'Tcl_AssembleCmd': tclAssem.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | Tcl_AssembleCmd(buffer, string) | ^~~~~~~~~~~~~~~ tclAssem.c:146:1: error: number of arguments doesn't match prototype 146 | { | ^ tcl.h:101:25: error: prototype declaration 101 | extern char * Tcl_AssembleCmd(); | ^~~~~~~~~~~~~~~ tclAssem.c:178:18: error: too many arguments to function 'malloc'; expected 0, have 1 178 | newBuf = malloc(newSize); | ^~~~~~ ~~~~~~~ ./stdlib.h:46:17: note: declared here 46 | extern void * malloc(); | ^~~~~~ tclAssem.c:180:9: error: too many arguments to function 'free'; expected 0, have 1 180 | free(cbPtr->buffer); | ^~~~ ~~~~~~~~~~~~~ ./stdlib.h:72:17: note: declared here 72 | extern free(); | ^~~~ tclAssem.c:208:13: error: too many arguments to function 'TclWordEnd'; expected 0, have 2 208 | p = TclWordEnd(p, 0); | ^~~~~~~~~~ ~ tclInt.h:345:25: note: declared here 345 | extern char * TclWordEnd(); | ^~~~~~~~~~ *** Error code 1 Stop. make[1]: stopped making "default" in /home/pbulk/work/chat/icb/work/icb-5.0.9/tcl Making in readline cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses readline.c readline.c:210:14: warning: conflicting types for built-in function 'rindex'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 210 | extern char *rindex (); | ^~~~~~ readline.c:214:14: warning: conflicting types for built-in function 'index'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 214 | extern char *index (); | ^~~~~ readline.c:217:14: error: conflicting types for 'getenv'; have 'char *(void)' 217 | extern char *getenv (); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from readline.c:50: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ readline.c: In function 'readline': readline.c:368:1: warning: old-style function definition [-Wold-style-definition] 368 | readline (prompt) | ^~~~~~~~ readline.c:370:1: error: number of arguments doesn't match prototype 370 | { | ^ In file included from readline.c:51: ../readline/readline.h:192:14: error: prototype declaration 192 | extern char *readline (); | ^~~~~~~~ In file included from ../readline/keymaps.h:6, from ../readline/readline.h:6: readline.c: In function 'readline_internal': ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:502:22: note: in expansion of macro 'savestring' 502 | char *temp = savestring (the_line); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:504:17: error: too many arguments to function 'replace_history_entry'; expected 0, have 3 504 | entry = replace_history_entry (where_history (), the_line, | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ In file included from readline.c:183: history.h:72:20: note: declared here 72 | extern HIST_ENTRY *replace_history_entry (); | ^~~~~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:521:13: note: in expansion of macro 'savestring' 521 | return (savestring (the_line)); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_handle_sigwinch': readline.c:535:1: warning: old-style function definition [-Wold-style-definition] 535 | rl_handle_sigwinch (sig) | ^~~~~~~~~~~~~~~~~~ readline.c:545:16: error: too many arguments to function 'getenv'; expected 0, have 1 545 | term = getenv ("TERM"); | ^~~~~~ ~~~~~~ readline.c:217:14: note: declared here 217 | extern char *getenv (); | ^~~~~~ readline.c:558:6: error: too many arguments to function 'old_sigwinch'; expected 0, have 1 558 | (*old_sigwinch) (sig); | ~^~~~~~~~~~~~~~ ~~~ readline.c: In function 'rl_signal_handler': readline.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_clear_signals': readline.c:662:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 662 | signal (SIGINT, old_int); | ^~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from readline.c:49: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c:663:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 663 | signal (SIGALRM, old_alrm); | ^~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c:666:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 666 | signal (SIGTSTP, old_tstp); | ^~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c:670:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 670 | signal (SIGTTOU, old_ttou); | ^~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c:671:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 671 | signal (SIGTTIN, old_ttin); | ^~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c:675:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 675 | signal (SIGWINCH, old_sigwinch); | ^~~~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ readline.c: In function 'rl_stuff_char': readline.c:703:1: warning: old-style function definition [-Wold-style-definition] 703 | rl_stuff_char (key) | ^~~~~~~~~~~~~ readline.c: In function 'rl_get_char': readline.c:731:1: warning: old-style function definition [-Wold-style-definition] 731 | rl_get_char (key) | ^~~~~~~~~~~ readline.c: In function 'rl_unget_char': readline.c:749:1: warning: old-style function definition [-Wold-style-definition] 749 | rl_unget_char (key) | ^~~~~~~~~~~~~ readline.c: In function 'rl_dispatch': readline.c:864:1: warning: old-style function definition [-Wold-style-definition] 864 | rl_dispatch (key, map) | ^~~~~~~~~~~ readline.c:870:5: error: too many arguments to function 'add_macro_char'; expected 0, have 1 870 | add_macro_char (key); | ^~~~~~~~~~~~~~ ~~~ readline.c:859:13: note: declared here 859 | static void add_macro_char (), with_macro_input (); | ^~~~~~~~~~~~~~ readline.c:900:14: error: too many arguments to function '(map + (sizetype)((long unsigned int)key * 16))->function'; expected 0, have 2 900 | (*map[key].function)(rl_numeric_arg * rl_arg_sign, key); | ~^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../readline/keymaps.h:20:13: note: declared here 20 | Function *function; | ^~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:937:19: note: in expansion of macro 'savestring' 937 | macro = savestring ((char *)map[key].function); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:938:11: error: too many arguments to function 'with_macro_input'; expected 0, have 1 938 | with_macro_input (macro); | ^~~~~~~~~~~~~~~~ ~~~~~ readline.c:859:32: note: declared here 859 | static void add_macro_char (), with_macro_input (); | ^~~~~~~~~~~~~~~~ readline.c: In function 'with_macro_input': readline.c:990:1: warning: old-style function definition [-Wold-style-definition] 990 | with_macro_input (string) | ^~~~~~~~~~~~~~~~ readline.c: In function 'push_executing_macro': readline.c:1021:33: error: too many arguments to function 'xmalloc'; expected 0, have 1 1021 | saver = (struct saved_macro *)xmalloc (sizeof (struct saved_macro)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'add_macro_char': readline.c:1052:1: warning: old-style function definition [-Wold-style-definition] 1052 | add_macro_char (c) | ^~~~~~~~~~~~~~ readline.c:1058:33: error: too many arguments to function 'xmalloc'; expected 0, have 1 1058 | current_macro = (char *)xmalloc (current_macro_size = 25); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:1061:19: error: too many arguments to function 'xrealloc'; expected 0, have 2 1061 | (char *)xrealloc (current_macro, current_macro_size += 25); | ^~~~~~~~ ~~~~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c: In function 'rl_start_kbd_macro': readline.c:1074:1: warning: old-style function definition [-Wold-style-definition] 1074 | rl_start_kbd_macro (ignore1, ignore2) | ^~~~~~~~~~~~~~~~~~ readline.c:1076:1: error: number of arguments doesn't match prototype 1076 | { | ^ ../readline/readline.h:59:1: error: prototype declaration 59 | rl_start_kbd_macro (), rl_end_kbd_macro (), rl_call_last_kbd_macro (); | ^~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:1083:27: note: in expansion of macro 'savestring' 1083 | with_macro_input (savestring (current_macro)); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:1083:9: error: too many arguments to function 'with_macro_input'; expected 0, have 1 1083 | with_macro_input (savestring (current_macro)); | ^~~~~~~~~~~~~~~~ readline.c:990:1: note: declared here 990 | with_macro_input (string) | ^~~~~~~~~~~~~~~~ readline.c: In function 'rl_end_kbd_macro': readline.c:1094:1: warning: old-style function definition [-Wold-style-definition] 1094 | rl_end_kbd_macro (count, ignore) | ^~~~~~~~~~~~~~~~ readline.c:1096:1: error: number of arguments doesn't match prototype 1096 | { | ^ ../readline/readline.h:59:24: error: prototype declaration 59 | rl_start_kbd_macro (), rl_end_kbd_macro (), rl_call_last_kbd_macro (); | ^~~~~~~~~~~~~~~~ readline.c:1105:3: error: too many arguments to function 'rl_call_last_kbd_macro'; expected 0, have 2 1105 | rl_call_last_kbd_macro (--count, 0); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ ../readline/readline.h:59:45: note: declared here 59 | rl_start_kbd_macro (), rl_end_kbd_macro (), rl_call_last_kbd_macro (); | ^~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_call_last_kbd_macro': readline.c:1110:1: warning: old-style function definition [-Wold-style-definition] 1110 | rl_call_last_kbd_macro (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~ readline.c:1112:1: error: number of arguments doesn't match prototype 1112 | { | ^ ../readline/readline.h:59:45: error: prototype declaration 59 | rl_start_kbd_macro (), rl_end_kbd_macro (), rl_call_last_kbd_macro (); | ^~~~~~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:1117:23: note: in expansion of macro 'savestring' 1117 | with_macro_input (savestring (current_macro)); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:1117:5: error: too many arguments to function 'with_macro_input'; expected 0, have 1 1117 | with_macro_input (savestring (current_macro)); | ^~~~~~~~~~~~~~~~ readline.c:990:1: note: declared here 990 | with_macro_input (string) | ^~~~~~~~~~~~~~~~ readline.c: In function 'readline_initialize_everything': readline.c:1173:22: error: too many arguments to function 'getenv'; expected 0, have 1 1173 | running_in_emacs = getenv ("EMACS"); | ^~~~~~ ~~~~~~~ readline.c:217:14: note: declared here 217 | extern char *getenv (); | ^~~~~~ readline.c:1180:15: error: too many arguments to function 'xmalloc'; expected 0, have 1 1180 | (char *)xmalloc (rl_line_buffer_len = DEFAULT_BUFFER_SIZE); | ^~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_digit_argument': readline.c:1313:1: warning: old-style function definition [-Wold-style-definition] 1313 | rl_digit_argument (ignore, key) | ^~~~~~~~~~~~~~~~~ readline.c:1315:1: error: number of arguments doesn't match prototype 1315 | { | ^ ../readline/readline.h:29:3: error: prototype declaration 29 | rl_digit_argument (), rl_universal_argument (), rl_abort (), | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_redisplay': readline.c:1492:30: error: too many arguments to function 'xmalloc'; expected 0, have 1 1492 | visible_line = (char *)xmalloc (line_size); | ^~~~~~~ ~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:1493:32: error: too many arguments to function 'xmalloc'; expected 0, have 1 1493 | invisible_line = (char *)xmalloc (line_size); | ^~~~~~~ ~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:1521:22: error: too many arguments to function 'rindex'; expected 0, have 2 1521 | prompt_this_line = rindex (rl_display_prompt, '\n'); | ^~~~~~ ~~~~~~~~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:1528:9: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1528 | output_some_chars (rl_display_prompt, | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1543:34: error: too many arguments to function 'xrealloc'; expected 0, have 2 1543 | visible_line = (char *)xrealloc (visible_line, line_size); | ^~~~~~~~ ~~~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:1544:36: error: too many arguments to function 'xrealloc'; expected 0, have 2 1544 | invisible_line = (char *)xrealloc (invisible_line, line_size); | ^~~~~~~~ ~~~~~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:1626:19: error: too many arguments to function 'move_cursor_relative'; expected 0, have 2 1626 | move_cursor_relative (0, tt); | ^~~~~~~~~~~~~~~~~~~~ ~ readline.c:1468:13: note: declared here 1468 | static void move_cursor_relative (); | ^~~~~~~~~~~~~~~~~~~~ readline.c:1635:11: error: too many arguments to function 'move_cursor_relative'; expected 0, have 2 1635 | move_cursor_relative (c_pos % screenwidth, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ readline.c:1468:13: note: declared here 1468 | static void move_cursor_relative (); | ^~~~~~~~~~~~~~~~~~~~ readline.c:1670:11: error: too many arguments to function 'move_cursor_relative'; expected 0, have 2 1670 | move_cursor_relative (c_pos - lmargin, &invisible_line[lmargin]); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ readline.c:1468:13: note: declared here 1468 | static void move_cursor_relative (); | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'update_line': readline.c:1746:3: error: too many arguments to function 'move_cursor_relative'; expected 0, have 2 1746 | move_cursor_relative (ofd - old, old); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ readline.c:1468:13: note: declared here 1468 | static void move_cursor_relative (); | ^~~~~~~~~~~~~~~~~~~~ readline.c:1762:15: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1762 | output_some_chars (nfd, (ne - nfd)); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1769:19: error: too many arguments to function 'insert_some_chars'; expected 0, have 2 1769 | insert_some_chars (nfd, lendiff); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:223:8: note: declared here 223 | static insert_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1776:19: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1776 | output_some_chars (nfd, lendiff); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1782:19: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1782 | output_some_chars (&nfd[lendiff], ((nls - nfd) - lendiff)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1789:11: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1789 | output_some_chars (nfd, (ne - nfd)); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1804:15: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1804 | output_some_chars (nfd, (nls - nfd)); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c:1811:11: error: too many arguments to function 'output_some_chars'; expected 0, have 2 1811 | output_some_chars (nfd, (ne - nfd)); | ^~~~~~~~~~~~~~~~~ ~~~ readline.c:1469:13: note: declared here 1469 | static void output_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c: In function 'move_cursor_relative': readline.c:1847:1: warning: old-style function definition [-Wold-style-definition] 1847 | move_cursor_relative (new, data) | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_show_char': readline.c:1922:1: warning: old-style function definition [-Wold-style-definition] 1922 | rl_show_char (c) | ^~~~~~~~~~~~ readline.c: In function 'rl_character_len': readline.c:1946:1: warning: old-style function definition [-Wold-style-definition] 1946 | rl_character_len (c, pos) | ^~~~~~~~~~~~~~~~ readline.c: In function 'rl_message': readline.c:1977:1: warning: old-style function definition [-Wold-style-definition] 1977 | rl_message (string, arg1, arg2) | ^~~~~~~~~~ readline.c: In function 'rl_reset_terminal': readline.c:2033:1: warning: old-style function definition [-Wold-style-definition] 2033 | rl_reset_terminal (terminal_name) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'init_terminal_io': readline.c:2048:42: error: too many arguments to function 'getenv'; expected 0, have 1 2048 | term = terminal_name ? terminal_name : getenv ("TERM"); | ^~~~~~ ~~~~~~ readline.c:217:14: note: declared here 217 | extern char *getenv (); | ^~~~~~ readline.c:2051:34: error: too many arguments to function 'xmalloc'; expected 0, have 1 2051 | term_string_buffer = (char *)xmalloc (2048); | ^~~~~~~ ~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:2054:27: error: too many arguments to function 'xmalloc'; expected 0, have 1 2054 | term_buffer = (char *)xmalloc (2048); | ^~~~~~~ ~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:2078:8: error: too many arguments to function 'tgetstr'; expected 0, have 2 2078 | BC = tgetstr ("pc", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2081:20: error: too many arguments to function 'tgetstr'; expected 0, have 2 2081 | term_backspace = tgetstr ("le", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2083:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2083 | term_cr = tgetstr ("cr", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2084:17: error: too many arguments to function 'tgetstr'; expected 0, have 2 2084 | term_clreol = tgetstr ("ce", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2085:17: error: too many arguments to function 'tgetstr'; expected 0, have 2 2085 | term_clrpag = tgetstr ("cl", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2112:18: error: too many arguments to function 'getenv'; expected 0, have 1 2112 | char *sw = getenv ("COLUMNS"); | ^~~~~~ ~~~~~~~~~ readline.c:217:14: note: declared here 217 | extern char *getenv (); | ^~~~~~ readline.c:2124:18: error: too many arguments to function 'getenv'; expected 0, have 1 2124 | char *sh = getenv ("LINES"); | ^~~~~~ ~~~~~~~ readline.c:217:14: note: declared here 217 | extern char *getenv (); | ^~~~~~ readline.c:2142:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2142 | term_im = tgetstr ("im", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2143:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2143 | term_ei = tgetstr ("ei", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2144:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2144 | term_IC = tgetstr ("IC", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2145:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2145 | term_ic = tgetstr ("ic", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2153:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2153 | term_up = tgetstr ("up", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2154:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2154 | term_dc = tgetstr ("dc", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2155:13: error: too many arguments to function 'tgetstr'; expected 0, have 2 2155 | term_DC = tgetstr ("DC", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c:2157:18: error: too many arguments to function 'tgetstr'; expected 0, have 2 2157 | visible_bell = tgetstr ("vb", &buffer); | ^~~~~~~ ~~~~ readline.c:2041:16: note: declared here 2041 | extern char *tgetstr (); | ^~~~~~~ readline.c: In function 'output_character_function': readline.c:2162:1: warning: old-style function definition [-Wold-style-definition] 2162 | output_character_function (c) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'output_some_chars': readline.c:2170:1: warning: old-style function definition [-Wold-style-definition] 2170 | output_some_chars (string, count) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'delete_chars': readline.c:2187:16: error: too many arguments to function 'tgoto'; expected 0, have 3 2187 | buffer = tgoto (term_DC, 0, count); | ^~~~~ ~~~~~~~ readline.c:2186:13: note: declared here 2186 | char *tgoto (), *buffer; | ^~~~~ readline.c: In function 'insert_some_chars': readline.c:2200:1: warning: old-style function definition [-Wold-style-definition] 2200 | insert_some_chars (string, count) | ^~~~~~~~~~~~~~~~~ readline.c:2208:16: error: too many arguments to function 'tgoto'; expected 0, have 3 2208 | buffer = tgoto (term_IC, 0, count); | ^~~~~ ~~~~~~~ readline.c:2207:13: note: declared here 2207 | char *tgoto (), *buffer; | ^~~~~ readline.c:2210:7: error: too many arguments to function 'output_some_chars'; expected 0, have 2 2210 | output_some_chars (string, count); | ^~~~~~~~~~~~~~~~~ ~~~~~~ readline.c:2170:1: note: declared here 2170 | output_some_chars (string, count) | ^~~~~~~~~~~~~~~~~ readline.c:2229:7: error: too many arguments to function 'output_some_chars'; expected 0, have 2 2229 | output_some_chars (string, count); | ^~~~~~~~~~~~~~~~~ ~~~~~~ readline.c:2170:1: note: declared here 2170 | output_some_chars (string, count) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'backspace': readline.c:2239:1: warning: old-style function definition [-Wold-style-definition] 2239 | backspace (count) | ^~~~~~~~~ readline.c: In function 'clear_to_eol': readline.c:2263:1: warning: old-style function definition [-Wold-style-definition] 2263 | clear_to_eol (count) | ^~~~~~~~~~~~ readline.c: In function 'alphabetic': readline.c:2653:1: warning: old-style function definition [-Wold-style-definition] 2653 | alphabetic (c) | ^~~~~~~~~~ readline.c:2660:13: error: too many arguments to function 'rindex'; expected 0, have 2 2660 | return (rindex (pathname_alphabetic_chars, c) != NULL); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c: In function 'numeric': readline.c:2667:1: warning: old-style function definition [-Wold-style-definition] 2667 | numeric (c) | ^~~~~~~ readline.c: In function 'rl_copy': readline.c:2713:1: warning: old-style function definition [-Wold-style-definition] 2713 | rl_copy (from, to) | ^~~~~~~ readline.c:2728:18: error: too many arguments to function 'xmalloc'; expected 0, have 1 2728 | copy = (char *)xmalloc (1 + length); | ^~~~~~~ ~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_extend_line_buffer': readline.c:2737:1: warning: old-style function definition [-Wold-style-definition] 2737 | rl_extend_line_buffer (len) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:2742:15: error: too many arguments to function 'xrealloc'; expected 0, have 2 2742 | (char *)xrealloc | ^~~~~~~~ 2743 | (rl_line_buffer, rl_line_buffer_len += DEFAULT_BUFFER_SIZE); | ~~~~~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c: In function 'rl_insert_text': readline.c:2758:1: warning: old-style function definition [-Wold-style-definition] 2758 | rl_insert_text (string) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_delete_text': readline.c:2791:1: warning: old-style function definition [-Wold-style-definition] 2791 | rl_delete_text (from, to) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_forward': readline.c:2853:1: warning: old-style function definition [-Wold-style-definition] 2853 | rl_forward (count) | ^~~~~~~~~~ readline.c:2855:1: error: number of arguments doesn't match prototype 2855 | { | ^ ../readline/readline.h:20:3: error: prototype declaration 20 | rl_forward (), ding (), rl_backward (), rl_forced_update_display(), | ^~~~~~~~~~ readline.c:2857:5: error: too many arguments to function 'rl_backward'; expected 0, have 1 2857 | rl_backward (-count); | ^~~~~~~~~~~ ~~~~~~ ../readline/readline.h:20:27: note: declared here 20 | rl_forward (), ding (), rl_backward (), rl_forced_update_display(), | ^~~~~~~~~~~ readline.c: In function 'rl_backward': readline.c:2878:1: warning: old-style function definition [-Wold-style-definition] 2878 | rl_backward (count) | ^~~~~~~~~~~ readline.c:2880:1: error: number of arguments doesn't match prototype 2880 | { | ^ ../readline/readline.h:20:27: error: prototype declaration 20 | rl_forward (), ding (), rl_backward (), rl_forced_update_display(), | ^~~~~~~~~~~ readline.c:2882:5: error: too many arguments to function 'rl_forward'; expected 0, have 1 2882 | rl_forward (-count); | ^~~~~~~~~~ ~~~~~~ readline.c:2853:1: note: declared here 2853 | rl_forward (count) | ^~~~~~~~~~ readline.c: In function 'rl_forward_word': readline.c:2911:1: warning: old-style function definition [-Wold-style-definition] 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c:2913:1: error: number of arguments doesn't match prototype 2913 | { | ^ ../readline/readline.h:26:3: error: prototype declaration 26 | rl_forward_word (), rl_tab_insert (), rl_yank_pop (), rl_yank_nth_arg (), | ^~~~~~~~~~~~~~~ readline.c:2918:7: error: too many arguments to function 'rl_backward_word'; expected 0, have 1 2918 | rl_backward_word (-count); | ^~~~~~~~~~~~~~~~ ~~~~~~ ../readline/readline.h:25:29: note: declared here 25 | rl_yank (), rl_rubout (), rl_backward_word (), rl_kill_word (), | ^~~~~~~~~~~~~~~~ readline.c: In function 'rl_backward_word': readline.c:2950:1: warning: old-style function definition [-Wold-style-definition] 2950 | rl_backward_word (count) | ^~~~~~~~~~~~~~~~ readline.c:2952:1: error: number of arguments doesn't match prototype 2952 | { | ^ ../readline/readline.h:25:29: error: prototype declaration 25 | rl_yank (), rl_rubout (), rl_backward_word (), rl_kill_word (), | ^~~~~~~~~~~~~~~~ readline.c:2957:7: error: too many arguments to function 'rl_forward_word'; expected 0, have 1 2957 | rl_forward_word (-count); | ^~~~~~~~~~~~~~~ ~~~~~~ readline.c:2911:1: note: declared here 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_refresh_line': readline.c:2998:3: error: too many arguments to function 'move_cursor_relative'; expected 0, have 2 2998 | move_cursor_relative (0, the_line); /* XXX is this right */ | ^~~~~~~~~~~~~~~~~~~~ ~ readline.c:1847:1: note: declared here 1847 | move_cursor_relative (new, data) | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_arrow_keys': readline.c:3030:1: warning: old-style function definition [-Wold-style-definition] 3030 | rl_arrow_keys (count, c) | ^~~~~~~~~~~~~ readline.c:3032:1: error: number of arguments doesn't match prototype 3032 | { | ^ ../readline/readline.h:61:12: error: prototype declaration 61 | extern int rl_arrow_keys(), rl_refresh_line (); | ^~~~~~~~~~~~~ readline.c:3040:7: error: too many arguments to function 'rl_get_previous_history'; expected 0, have 1 3040 | rl_get_previous_history (count); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ ../readline/readline.h:22:47: note: declared here 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3044:7: error: too many arguments to function 'rl_get_next_history'; expected 0, have 1 3044 | rl_get_next_history (count); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ ../readline/readline.h:22:23: note: declared here 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~ readline.c:3048:7: error: too many arguments to function 'rl_forward'; expected 0, have 1 3048 | rl_forward (count); | ^~~~~~~~~~ ~~~~~ readline.c:2853:1: note: declared here 2853 | rl_forward (count) | ^~~~~~~~~~ readline.c:3052:7: error: too many arguments to function 'rl_backward'; expected 0, have 1 3052 | rl_backward (count); | ^~~~~~~~~~~ ~~~~~ readline.c:2878:1: note: declared here 2878 | rl_backward (count) | ^~~~~~~~~~~ readline.c: In function 'rl_insert': readline.c:3068:1: warning: old-style function definition [-Wold-style-definition] 3068 | rl_insert (count, c) | ^~~~~~~~~ readline.c:3070:1: error: number of arguments doesn't match prototype 3070 | { | ^ ../readline/readline.h:31:55: error: prototype declaration 31 | rl_end_of_history (), rl_forward_search_history (), rl_insert (), | ^~~~~~~~~ readline.c: In function 'rl_quoted_insert': readline.c:3146:1: warning: old-style function definition [-Wold-style-definition] 3146 | rl_quoted_insert (count) | ^~~~~~~~~~~~~~~~ readline.c:3148:1: error: number of arguments doesn't match prototype 3148 | { | ^ ../readline/readline.h:24:28: error: prototype declaration 24 | rl_unix_line_discard (), rl_quoted_insert (), rl_unix_word_rubout (), | ^~~~~~~~~~~~~~~~ readline.c:3157:3: error: too many arguments to function 'rl_insert'; expected 0, have 2 3157 | rl_insert (count, c); | ^~~~~~~~~ ~~~~~ readline.c:3068:1: note: declared here 3068 | rl_insert (count, c) | ^~~~~~~~~ readline.c: In function 'rl_tab_insert': readline.c:3162:1: warning: old-style function definition [-Wold-style-definition] 3162 | rl_tab_insert (count) | ^~~~~~~~~~~~~ readline.c:3164:1: error: number of arguments doesn't match prototype 3164 | { | ^ ../readline/readline.h:26:23: error: prototype declaration 26 | rl_forward_word (), rl_tab_insert (), rl_yank_pop (), rl_yank_nth_arg (), | ^~~~~~~~~~~~~ readline.c:3165:3: error: too many arguments to function 'rl_insert'; expected 0, have 2 3165 | rl_insert (count, '\t'); | ^~~~~~~~~ ~~~~~ readline.c:3068:1: note: declared here 3068 | rl_insert (count, c) | ^~~~~~~~~ readline.c: In function 'rl_newline': readline.c:3171:1: warning: old-style function definition [-Wold-style-definition] 3171 | rl_newline (count, key) | ^~~~~~~~~~ readline.c:3173:1: error: number of arguments doesn't match prototype 3173 | { | ^ ../readline/readline.h:21:3: error: prototype declaration 21 | rl_newline (), rl_kill_line (), rl_redraw(), | ^~~~~~~~~~ readline.c: In function 'rl_do_lowercase_version': readline.c:3213:1: warning: old-style function definition [-Wold-style-definition] 3213 | rl_do_lowercase_version (ignore1, ignore2) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3215:1: error: number of arguments doesn't match prototype 3215 | { | ^ ../readline/readline.h:28:47: error: prototype declaration 28 | rl_complete (), rl_possible_completions (), rl_do_lowercase_version (), | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_rubout': readline.c:3219:1: warning: old-style function definition [-Wold-style-definition] 3219 | rl_rubout (count) | ^~~~~~~~~ readline.c:3221:1: error: number of arguments doesn't match prototype 3221 | { | ^ ../readline/readline.h:25:15: error: prototype declaration 25 | rl_yank (), rl_rubout (), rl_backward_word (), rl_kill_word (), | ^~~~~~~~~ readline.c:3224:7: error: too many arguments to function 'rl_delete'; expected 0, have 1 3224 | rl_delete (-count); | ^~~~~~~~~ ~~~~~~ ../readline/readline.h:19:38: note: declared here 19 | rl_beg_of_line (), rl_backward (), rl_delete (), rl_end_of_line (), | ^~~~~~~~~ readline.c:3238:7: error: too many arguments to function 'rl_backward'; expected 0, have 1 3238 | rl_backward (count); | ^~~~~~~~~~~ ~~~~~ readline.c:2878:1: note: declared here 2878 | rl_backward (count) | ^~~~~~~~~~~ readline.c: In function 'rl_delete': readline.c:3262:1: warning: old-style function definition [-Wold-style-definition] 3262 | rl_delete (count, invoking_key) | ^~~~~~~~~ readline.c:3264:1: error: number of arguments doesn't match prototype 3264 | { | ^ ../readline/readline.h:19:38: error: prototype declaration 19 | rl_beg_of_line (), rl_backward (), rl_delete (), rl_end_of_line (), | ^~~~~~~~~ readline.c:3267:7: error: too many arguments to function 'rl_rubout'; expected 0, have 1 3267 | rl_rubout (-count); | ^~~~~~~~~ ~~~~~~ readline.c:3219:1: note: declared here 3219 | rl_rubout (count) | ^~~~~~~~~ readline.c:3280:7: error: too many arguments to function 'rl_forward'; expected 0, have 1 3280 | rl_forward (count); | ^~~~~~~~~~ ~~~~~ readline.c:2853:1: note: declared here 2853 | rl_forward (count) | ^~~~~~~~~~ readline.c: In function 'rl_upcase_word': readline.c:3352:1: warning: old-style function definition [-Wold-style-definition] 3352 | rl_upcase_word (count) | ^~~~~~~~~~~~~~ readline.c:3354:1: error: number of arguments doesn't match prototype 3354 | { | ^ ../readline/readline.h:32:3: error: prototype declaration 32 | rl_upcase_word (), rl_downcase_word (), rl_capitalize_word (), | ^~~~~~~~~~~~~~ readline.c: In function 'rl_downcase_word': readline.c:3359:1: warning: old-style function definition [-Wold-style-definition] 3359 | rl_downcase_word (count) | ^~~~~~~~~~~~~~~~ readline.c:3361:1: error: number of arguments doesn't match prototype 3361 | { | ^ ../readline/readline.h:32:22: error: prototype declaration 32 | rl_upcase_word (), rl_downcase_word (), rl_capitalize_word (), | ^~~~~~~~~~~~~~~~ readline.c: In function 'rl_capitalize_word': readline.c:3366:1: warning: old-style function definition [-Wold-style-definition] 3366 | rl_capitalize_word (count) | ^~~~~~~~~~~~~~~~~~ readline.c:3368:1: error: number of arguments doesn't match prototype 3368 | { | ^ ../readline/readline.h:32:43: error: prototype declaration 32 | rl_upcase_word (), rl_downcase_word (), rl_capitalize_word (), | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_change_case': readline.c:3377:1: warning: old-style function definition [-Wold-style-definition] 3377 | rl_change_case (count, op) | ^~~~~~~~~~~~~~ readline.c:3383:3: error: too many arguments to function 'rl_forward_word'; expected 0, have 1 3383 | rl_forward_word (count); | ^~~~~~~~~~~~~~~ ~~~~~ readline.c:2911:1: note: declared here 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_transpose_words': readline.c:3436:1: warning: old-style function definition [-Wold-style-definition] 3436 | rl_transpose_words (count) | ^~~~~~~~~~~~~~~~~~ readline.c:3438:1: error: number of arguments doesn't match prototype 3438 | { | ^ ../readline/readline.h:27:55: error: prototype declaration 27 | rl_backward_kill_word (), rl_backward_kill_line (), rl_transpose_words (), | ^~~~~~~~~~~~~~~~~~ readline.c:3446:3: error: too many arguments to function 'rl_forward_word'; expected 0, have 1 3446 | rl_forward_word (count); | ^~~~~~~~~~~~~~~ ~~~~~ readline.c:2911:1: note: declared here 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c:3448:3: error: too many arguments to function 'rl_backward_word'; expected 0, have 1 3448 | rl_backward_word (1); | ^~~~~~~~~~~~~~~~ ~ readline.c:2950:1: note: declared here 2950 | rl_backward_word (count) | ^~~~~~~~~~~~~~~~ readline.c:3450:3: error: too many arguments to function 'rl_backward_word'; expected 0, have 1 3450 | rl_backward_word (count); | ^~~~~~~~~~~~~~~~ ~~~~~ readline.c:2950:1: note: declared here 2950 | rl_backward_word (count) | ^~~~~~~~~~~~~~~~ readline.c:3452:3: error: too many arguments to function 'rl_forward_word'; expected 0, have 1 3452 | rl_forward_word (1); | ^~~~~~~~~~~~~~~ ~ readline.c:2911:1: note: declared here 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_transpose_chars': readline.c:3493:1: warning: old-style function definition [-Wold-style-definition] 3493 | rl_transpose_chars (count) | ^~~~~~~~~~~~~~~~~~ readline.c:3495:1: error: number of arguments doesn't match prototype 3495 | { | ^ ../readline/readline.h:23:54: error: prototype declaration 23 | rl_quoted_insert (), rl_reverse_search_history (), rl_transpose_chars (), | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_restart_output': readline.c:3541:1: warning: old-style function definition [-Wold-style-definition] 3541 | rl_restart_output (count, key) | ^~~~~~~~~~~~~~~~~ readline.c:3543:1: error: number of arguments doesn't match prototype 3543 | { | ^ ../readline/readline.h:33:3: error: prototype declaration 33 | rl_restart_output (), rl_re_read_init_file (), rl_dump_functions (); | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_stop_output': readline.c:3563:1: warning: old-style function definition [-Wold-style-definition] 3563 | rl_stop_output (count, key) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_complete': readline.c:3612:1: warning: old-style function definition [-Wold-style-definition] 3612 | rl_complete (ignore, invoking_key) | ^~~~~~~~~~~ readline.c:3614:1: error: number of arguments doesn't match prototype 3614 | { | ^ ../readline/readline.h:28:3: error: prototype declaration 28 | rl_complete (), rl_possible_completions (), rl_do_lowercase_version (), | ^~~~~~~~~~~ readline.c: In function 'rl_complete_internal': readline.c:3683:1: warning: old-style function definition [-Wold-style-definition] 3683 | rl_complete_internal (what_to_do) | ^~~~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:3693:25: note: in expansion of macro 'savestring' 3693 | saved_line_buffer = savestring (the_line); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:3711:15: error: too many arguments to function 'rindex'; expected 0, have 2 3711 | !rindex (rl_completer_word_break_characters, the_line[rl_point])); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3714:11: error: too many arguments to function 'rindex'; expected 0, have 2 3714 | if (rindex (rl_completer_word_break_characters, the_line[rl_point])) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3718:15: error: too many arguments to function 'rindex'; expected 0, have 2 3718 | if (rindex ("\"'", the_line[rl_point]) && (end - rl_point) > 1) | ^~~~~~ ~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3725:16: error: too many arguments to function 'rindex'; expected 0, have 2 3725 | !rindex (rl_special_prefixes, the_line[rl_point])) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3748:13: error: too many arguments to function 'completion_matches'; expected 0, have 2 3748 | matches = completion_matches (text, our_func); | ^~~~~~~~~~~~~~~~~~ ~~~~ readline.c:3687:10: note: declared here 3687 | char **completion_matches (), **matches; | ^~~~~~~~~~~~~~~~~~ readline.c:3773:47: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 3773 | qsort (matches, i, sizeof (char *), compare_strings); | ^~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1471:12: note: 'compare_strings' declared here 1471 | static int compare_strings (); | ^~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:3776:27: note: in expansion of macro 'savestring' 3776 | lowest_common = savestring (matches[0]); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:3832:20: error: too many arguments to function 'rl_ignore_some_completions_function'; expected 0, have 1 3832 | (void)(*rl_ignore_some_completions_function)(matches); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ readline.c:3860:36: error: too many arguments to function 'tilde_expand'; expected 0, have 1 3860 | char *filename = tilde_expand (matches[0]); | ^~~~~~~~~~~~ ~~~~~~~~~~ readline.c:218:14: note: declared here 218 | extern char *tilde_expand (); | ^~~~~~~~~~~~ readline.c:3918:26: error: too many arguments to function 'rindex'; expected 0, have 2 3918 | temp = rindex (matches[0], '/'); | ^~~~~~ ~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3943:26: error: too many arguments to function 'rindex'; expected 0, have 2 3943 | temp = rindex (matches[i], '/'); | ^~~~~~ ~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:3994:53: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 3994 | qsort (matches, len, sizeof (char *), compare_strings); | ^~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1471:12: note: 'compare_strings' declared here 1471 | static int compare_strings (); | ^~~~~~~~~~~~~~~ readline.c:4013:34: error: too many arguments to function 'rindex'; expected 0, have 2 4013 | temp = rindex (matches[l], '/'); | ^~~~~~ ~~~~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c: In function 'compare_strings': readline.c:4059:1: warning: old-style function definition [-Wold-style-definition] 4059 | compare_strings (s1, s2) | ^~~~~~~~~~~~~~~ readline.c: In function 'username_completion_function': readline.c:4069:1: warning: old-style function definition [-Wold-style-definition] 4069 | username_completion_function (text, state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:4089:18: note: in expansion of macro 'savestring' 4089 | username = savestring (&text[first_char_loc]); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:4107:29: error: too many arguments to function 'xmalloc'; expected 0, have 1 4107 | char *value = (char *)xmalloc (2 + strlen (entry->pw_name)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_add_undo': readline.c:4135:1: warning: old-style function definition [-Wold-style-definition] 4135 | rl_add_undo (what, start, end, text) | ^~~~~~~~~~~ readline.c:4140:34: error: too many arguments to function 'xmalloc'; expected 0, have 1 4140 | UNDO_LIST *temp = (UNDO_LIST *)xmalloc (sizeof (UNDO_LIST)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_modifying': readline.c:4234:1: warning: old-style function definition [-Wold-style-definition] 4234 | rl_modifying (start, end) | ^~~~~~~~~~~~ readline.c: In function 'rl_undo_command': readline.c:4265:1: warning: old-style function definition [-Wold-style-definition] 4265 | rl_undo_command (count) | ^~~~~~~~~~~~~~~ readline.c:4266:1: error: number of arguments doesn't match prototype 4266 | { | ^ ../readline/readline.h:30:3: error: prototype declaration 30 | rl_undo_command (), rl_revert_line (), rl_beginning_of_history (), | ^~~~~~~~~~~~~~~ readline.c: In function 'maybe_replace_line': readline.c:4325:14: error: too many arguments to function 'replace_history_entry'; expected 0, have 3 4325 | temp = replace_history_entry (where_history (), the_line, rl_undo_list); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ history.h:72:20: note: declared here 72 | extern HIST_ENTRY *replace_history_entry (); | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'maybe_save_line': readline.c:4358:46: error: too many arguments to function 'xmalloc'; expected 0, have 1 4358 | saved_line_for_history = (HIST_ENTRY *)xmalloc (sizeof (HIST_ENTRY)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:4359:38: note: in expansion of macro 'savestring' 4359 | saved_line_for_history->line = savestring (the_line); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_beginning_of_history': readline.c:4373:3: error: too many arguments to function 'rl_get_previous_history'; expected 0, have 1 4373 | rl_get_previous_history (1 + where_history ()); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../readline/readline.h:22:47: note: declared here 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_get_next_history': readline.c:4385:1: warning: old-style function definition [-Wold-style-definition] 4385 | rl_get_next_history (count) | ^~~~~~~~~~~~~~~~~~~ readline.c:4387:1: error: number of arguments doesn't match prototype 4387 | { | ^ ../readline/readline.h:22:23: error: prototype declaration 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~ readline.c:4392:7: error: too many arguments to function 'rl_get_previous_history'; expected 0, have 1 4392 | rl_get_previous_history (-count); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ ../readline/readline.h:22:47: note: declared here 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_get_previous_history': readline.c:4433:1: warning: old-style function definition [-Wold-style-definition] 4433 | rl_get_previous_history (count) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4435:1: error: number of arguments doesn't match prototype 4435 | { | ^ ../readline/readline.h:22:47: error: prototype declaration 22 | rl_clear_screen (), rl_get_next_history (), rl_get_previous_history (), | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4441:7: error: too many arguments to function 'rl_get_next_history'; expected 0, have 1 4441 | rl_get_next_history (-count); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ readline.c:4385:1: note: declared here 4385 | rl_get_next_history (count) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_reverse_search_history': readline.c:4501:1: warning: old-style function definition [-Wold-style-definition] 4501 | rl_reverse_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:4504:1: error: number of arguments doesn't match prototype 4504 | { | ^ ../readline/readline.h:23:24: error: prototype declaration 23 | rl_quoted_insert (), rl_reverse_search_history (), rl_transpose_chars (), | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_forward_search_history': readline.c:4510:1: warning: old-style function definition [-Wold-style-definition] 4510 | rl_forward_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:4513:1: error: number of arguments doesn't match prototype 4513 | { | ^ ../readline/readline.h:31:25: error: prototype declaration 31 | rl_end_of_history (), rl_forward_search_history (), rl_insert (), | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_display_search': readline.c:4522:1: warning: old-style function definition [-Wold-style-definition] 4522 | rl_display_search (search_string, reverse_p, where) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_search_history': readline.c:4557:1: warning: old-style function definition [-Wold-style-definition] 4557 | rl_search_history (direction, invoking_key) | ^~~~~~~~~~~~~~~~~ readline.c:4799:7: error: too many arguments to function 'rl_get_previous_history'; expected 0, have 1 4799 | rl_get_previous_history (orig_line - now); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ readline.c:4433:1: note: declared here 4433 | rl_get_previous_history (count) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4801:7: error: too many arguments to function 'rl_get_next_history'; expected 0, have 1 4801 | rl_get_next_history (now - orig_line); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ readline.c:4385:1: note: declared here 4385 | rl_get_next_history (count) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_execute_next': readline.c:4816:1: warning: old-style function definition [-Wold-style-definition] 4816 | rl_execute_next (c) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_set_retained_kills': readline.c:4845:1: warning: old-style function definition [-Wold-style-definition] 4845 | rl_set_retained_kills (num) | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_kill_text': readline.c:4854:1: warning: old-style function definition [-Wold-style-definition] 4854 | rl_kill_text (from, to) | ^~~~~~~~~~~~ readline.c:4879:13: error: too many arguments to function 'xmalloc'; expected 0, have 1 4879 | xmalloc (((rl_kill_ring_length = 1) + 1) * sizeof (char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:4898:19: error: too many arguments to function 'xrealloc'; expected 0, have 2 4898 | xrealloc (rl_kill_ring, | ^~~~~~~~ ~~~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:4914:27: error: too many arguments to function 'xmalloc'; expected 0, have 1 4914 | char *new = (char *)xmalloc (1 + strlen (old) + strlen (text)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_kill_word': readline.c:4950:1: warning: old-style function definition [-Wold-style-definition] 4950 | rl_kill_word (count) | ^~~~~~~~~~~~ readline.c:4952:1: error: number of arguments doesn't match prototype 4952 | { | ^ ../readline/readline.h:25:50: error: prototype declaration 25 | rl_yank (), rl_rubout (), rl_backward_word (), rl_kill_word (), | ^~~~~~~~~~~~ readline.c:4956:5: error: too many arguments to function 'rl_backward_kill_word'; expected 0, have 1 4956 | rl_backward_kill_word (-count); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~ ../readline/readline.h:27:3: note: declared here 27 | rl_backward_kill_word (), rl_backward_kill_line (), rl_transpose_words (), | ^~~~~~~~~~~~~~~~~~~~~ readline.c:4959:7: error: too many arguments to function 'rl_forward_word'; expected 0, have 1 4959 | rl_forward_word (count); | ^~~~~~~~~~~~~~~ ~~~~~ readline.c:2911:1: note: declared here 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_backward_kill_word': readline.c:4969:1: warning: old-style function definition [-Wold-style-definition] 4969 | rl_backward_kill_word (count) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:4971:1: error: number of arguments doesn't match prototype 4971 | { | ^ ../readline/readline.h:27:3: error: prototype declaration 27 | rl_backward_kill_word (), rl_backward_kill_line (), rl_transpose_words (), | ^~~~~~~~~~~~~~~~~~~~~ readline.c:4975:5: error: too many arguments to function 'rl_kill_word'; expected 0, have 1 4975 | rl_kill_word (-count); | ^~~~~~~~~~~~ ~~~~~~ readline.c:4950:1: note: declared here 4950 | rl_kill_word (count) | ^~~~~~~~~~~~ readline.c:4978:7: error: too many arguments to function 'rl_backward_word'; expected 0, have 1 4978 | rl_backward_word (count); | ^~~~~~~~~~~~~~~~ ~~~~~ readline.c:2950:1: note: declared here 2950 | rl_backward_word (count) | ^~~~~~~~~~~~~~~~ readline.c: In function 'rl_kill_line': readline.c:4987:1: warning: old-style function definition [-Wold-style-definition] 4987 | rl_kill_line (direction) | ^~~~~~~~~~~~ readline.c:4989:1: error: number of arguments doesn't match prototype 4989 | { | ^ ../readline/readline.h:21:18: error: prototype declaration 21 | rl_newline (), rl_kill_line (), rl_redraw(), | ^~~~~~~~~~~~ readline.c:4993:5: error: too many arguments to function 'rl_backward_kill_line'; expected 0, have 1 4993 | rl_backward_kill_line (1); | ^~~~~~~~~~~~~~~~~~~~~ ~ ../readline/readline.h:27:29: note: declared here 27 | rl_backward_kill_word (), rl_backward_kill_line (), rl_transpose_words (), | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_backward_kill_line': readline.c:5005:1: warning: old-style function definition [-Wold-style-definition] 5005 | rl_backward_kill_line (direction) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:5007:1: error: number of arguments doesn't match prototype 5007 | { | ^ ../readline/readline.h:27:29: error: prototype declaration 27 | rl_backward_kill_word (), rl_backward_kill_line (), rl_transpose_words (), | ^~~~~~~~~~~~~~~~~~~~~ readline.c:5011:5: error: too many arguments to function 'rl_kill_line'; expected 0, have 1 5011 | rl_kill_line (1); | ^~~~~~~~~~~~ ~ readline.c:4987:1: note: declared here 4987 | rl_kill_line (direction) | ^~~~~~~~~~~~ readline.c: In function 'rl_yank_nth_arg': readline.c:5063:1: warning: old-style function definition [-Wold-style-definition] 5063 | rl_yank_nth_arg (count, ignore) | ^~~~~~~~~~~~~~~ readline.c:5065:1: error: number of arguments doesn't match prototype 5065 | { | ^ ../readline/readline.h:26:57: error: prototype declaration 26 | rl_forward_word (), rl_tab_insert (), rl_yank_pop (), rl_yank_nth_arg (), | ^~~~~~~~~~~~~~~ readline.c:5077:9: error: too many arguments to function 'history_arg_extract'; expected 0, have 3 5077 | arg = history_arg_extract (count, count, entry->line); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ history.h:117:14: note: declared here 117 | extern char *history_arg_extract (); | ^~~~~~~~~~~~~~~~~~~ readline.c: In function 'completion_matches': readline.c:5141:1: warning: old-style function definition [-Wold-style-definition] 5141 | completion_matches (text, entry_function) | ^~~~~~~~~~~~~~~~~~ readline.c:5144:1: error: number of arguments doesn't match prototype 5144 | { | ^ readline.c:3687:10: error: prototype declaration 3687 | char **completion_matches (), **matches; | ^~~~~~~~~~~~~~~~~~ readline.c:5150:14: error: too many arguments to function 'xmalloc'; expected 0, have 1 5150 | (char **)xmalloc (((match_list_size = 10) + 1) * sizeof (char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:5160:20: error: too many arguments to function 'entry_function'; expected 0, have 2 5160 | while (string = (*entry_function) (text, matches)) | ~^~~~~~~~~~~~~~~~ ~~~~ readline.c:5163:31: error: too many arguments to function 'xrealloc'; expected 0, have 2 5163 | match_list = (char **)xrealloc | ^~~~~~~~ 5164 | (match_list, ((match_list_size += 10) + 1) * sizeof (char *)); | ~~~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:5212:35: error: too many arguments to function 'xmalloc'; expected 0, have 1 5212 | match_list[0] = (char *)xmalloc (low + 1); | ^~~~~~~ ~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'filename_completion_function': readline.c:3686:9: warning: old-style function definition [-Wold-style-definition] 3686 | char *filename_completion_function (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:5233:1: error: number of arguments doesn't match prototype 5233 | { | ^ readline.c:3686:9: error: prototype declaration 3686 | char *filename_completion_function (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:5251:18: note: in expansion of macro 'savestring' 5251 | filename = savestring (text); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:5253:17: note: in expansion of macro 'savestring' 5253 | dirname = savestring (text); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:5255:14: error: too many arguments to function 'rindex'; expected 0, have 2 5255 | temp = rindex (dirname, '/'); | ^~~~~~ ~~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:5268:23: note: in expansion of macro 'savestring' 5268 | users_dirname = savestring (dirname); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:5272:24: error: too many arguments to function 'tilde_expand'; expected 0, have 1 5272 | temp_dirname = tilde_expand (dirname); | ^~~~~~~~~~~~ ~~~~~~~ readline.c:218:14: note: declared here 218 | extern char *tilde_expand (); | ^~~~~~~~~~~~ readline.c:5277:12: error: too many arguments to function 'rl_symbolic_link_hook'; expected 0, have 1 5277 | (*rl_symbolic_link_hook) (&dirname); | ~^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ readline.c:5330:13: error: too many arguments to function 'xmalloc'; expected 0, have 1 5330 | xmalloc (1 + strlen (users_dirname) + D_NAMLEN (entry)); | ^~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:5336:19: note: in expansion of macro 'savestring' 5336 | temp = (savestring (entry->d_name)); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_add_defun': readline.c:5353:1: warning: old-style function definition [-Wold-style-definition] 5353 | rl_add_defun (name, function, key) | ^~~~~~~~~~~~ readline.c:5357:1: error: number of arguments doesn't match prototype 5357 | { | ^ ../readline/readline.h:202:12: error: prototype declaration 202 | extern int rl_add_defun (); | ^~~~~~~~~~~~ readline.c: In function 'rl_bind_key': readline.c:5365:1: warning: old-style function definition [-Wold-style-definition] 5365 | rl_bind_key (key, function) | ^~~~~~~~~~~ readline.c: In function 'rl_bind_key_in_map': readline.c:5394:1: warning: old-style function definition [-Wold-style-definition] 5394 | rl_bind_key_in_map (key, function, map) | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_unbind_key': readline.c:5411:1: warning: old-style function definition [-Wold-style-definition] 5411 | rl_unbind_key (key) | ^~~~~~~~~~~~~ readline.c: In function 'rl_unbind_key_in_map': readline.c:5420:1: warning: old-style function definition [-Wold-style-definition] 5420 | rl_unbind_key_in_map (key, map) | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_set_key': readline.c:5430:1: warning: old-style function definition [-Wold-style-definition] 5430 | rl_set_key (keyseq, function, map) | ^~~~~~~~~~ readline.c: In function 'rl_macro_bind': readline.c:5441:1: warning: old-style function definition [-Wold-style-definition] 5441 | rl_macro_bind (keyseq, macro, map) | ^~~~~~~~~~~~~ readline.c:5448:24: error: too many arguments to function 'xmalloc'; expected 0, have 1 5448 | macro_keys = (char *)xmalloc ((2 * strlen (macro)) + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'rl_generic_bind': readline.c:5464:1: warning: old-style function definition [-Wold-style-definition] 5464 | rl_generic_bind (type, keyseq, data, map) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_translate_keyseq': readline.c:5520:1: warning: old-style function definition [-Wold-style-definition] 5520 | rl_translate_keyseq (seq, array, len) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_named_function': readline.c:5584:1: warning: old-style function definition [-Wold-style-definition] 5584 | rl_named_function (string) | ^~~~~~~~~~~~~~~~~ readline.c:5590:9: error: too many arguments to function 'stricmp'; expected 0, have 2 5590 | if (stricmp (funmap[i]->name, string) == 0) | ^~~~~~~ ~~~~~~~~~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c: In function 'rl_re_read_init_file': readline.c:5599:1: warning: old-style function definition [-Wold-style-definition] 5599 | rl_re_read_init_file (count, ignore) | ^~~~~~~~~~~~~~~~~~~~ readline.c:5601:1: error: number of arguments doesn't match prototype 5601 | { | ^ ../readline/readline.h:33:25: error: prototype declaration 33 | rl_restart_output (), rl_re_read_init_file (), rl_dump_functions (); | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_read_init_file': readline.c:5609:1: warning: old-style function definition [-Wold-style-definition] 5609 | rl_read_init_file (filename) | ^~~~~~~~~~~~~~~~~ readline.c:5621:14: error: too many arguments to function 'tilde_expand'; expected 0, have 1 5621 | openname = tilde_expand (filename); | ^~~~~~~~~~~~ ~~~~~~~~ readline.c:218:14: note: declared here 218 | extern char *tilde_expand (); | ^~~~~~~~~~~~ readline.c:5635:20: error: too many arguments to function 'xmalloc'; expected 0, have 1 5635 | buffer = (char *)xmalloc (finfo.st_size + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'parser_if': readline.c:5681:1: warning: old-style function definition [-Wold-style-definition] 5681 | parser_if (args) | ^~~~~~~~~ readline.c:5690:37: error: too many arguments to function 'xmalloc'; expected 0, have 1 5690 | if_stack = (unsigned char *)xmalloc (if_stack_size = 20); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:5692:37: error: too many arguments to function 'xrealloc'; expected 0, have 2 5692 | if_stack = (unsigned char *)xrealloc (if_stack, if_stack_size += 20); | ^~~~~~~~ ~~~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:5710:27: error: too many arguments to function 'strnicmp'; expected 0, have 3 5710 | if (rl_terminal_name && strnicmp (args, "term=", 5) == 0) | ^~~~~~~~ ~~~~ readline.c:349:24: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:5715:15: note: in expansion of macro 'savestring' 5715 | tname = savestring (rl_terminal_name); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:5716:13: error: too many arguments to function 'rindex'; expected 0, have 2 5716 | tem = rindex (tname, '-'); | ^~~~~~ ~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:5720:11: error: too many arguments to function 'stricmp'; expected 0, have 2 5720 | if (stricmp (args + 5, tname) == 0) | ^~~~~~~ ~~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:5728:12: error: too many arguments to function 'strnicmp'; expected 0, have 3 5728 | else if (strnicmp (args, "mode=", 5) == 0) | ^~~~~~~~ ~~~~ readline.c:349:24: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~~ readline.c:5732:11: error: too many arguments to function 'stricmp'; expected 0, have 2 5732 | if (stricmp (args + 5, "emacs") == 0) | ^~~~~~~ ~~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:5734:16: error: too many arguments to function 'stricmp'; expected 0, have 2 5734 | else if (stricmp (args + 5, "vi") == 0) | ^~~~~~~ ~~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:5747:12: error: too many arguments to function 'stricmp'; expected 0, have 2 5747 | else if (stricmp (args, rl_readline_name) == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c: In function 'parser_else': readline.c:5755:1: warning: old-style function definition [-Wold-style-definition] 5755 | parser_else (args) | ^~~~~~~~~~~ readline.c: In function 'parser_endif': readline.c:5779:1: warning: old-style function definition [-Wold-style-definition] 5779 | parser_endif (args) | ^~~~~~~~~~~~ readline.c: In function 'handle_parser_directive': readline.c:5804:1: warning: old-style function definition [-Wold-style-definition] 5804 | handle_parser_directive (statement) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:5828:9: error: too many arguments to function 'stricmp'; expected 0, have 2 5828 | if (stricmp (directive, parser_directives[i].name) == 0) | ^~~~~~~ ~~~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:5830:10: error: too many arguments to function 'parser_directives[i].function'; expected 0, have 1 5830 | (*parser_directives[i].function) (args); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ readline.c:5793:13: note: declared here 5793 | Function *function; | ^~~~~~~~ readline.c: In function 'rl_parse_and_bind': readline.c:5847:1: warning: old-style function definition [-Wold-style-definition] 5847 | rl_parse_and_bind (string) | ^~~~~~~~~~~~~~~~~ readline.c:5892:7: error: too many arguments to function 'stricmp'; expected 0, have 2 5892 | if (stricmp (string, "set") == 0) | ^~~~~~~ ~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:5972:11: error: too many arguments to function 'rindex'; expected 0, have 2 5972 | kname = rindex (string, '-'); | ^~~~~~ ~~~~~~ readline.c:210:14: note: declared here 210 | extern char *rindex (); | ^~~~~~ readline.c:5981:7: error: too many arguments to function 'substring_member_of_array'; expected 0, have 2 5981 | if (substring_member_of_array (string, possible_control_prefixes)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ readline.c:5841:12: note: declared here 5841 | static int substring_member_of_array (); | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:5984:7: error: too many arguments to function 'substring_member_of_array'; expected 0, have 2 5984 | if (substring_member_of_array (string, possible_meta_prefixes)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ readline.c:5841:12: note: declared here 5841 | static int substring_member_of_array (); | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:6001:12: error: too many arguments to function 'stricmp'; expected 0, have 2 6001 | else if (stricmp (funname, "prefix-meta") == 0) | ^~~~~~~ ~~~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c: In function 'rl_variable_bind': readline.c:6015:1: warning: old-style function definition [-Wold-style-definition] 6015 | rl_variable_bind (name, value) | ^~~~~~~~~~~~~~~~ readline.c:6018:7: error: too many arguments to function 'stricmp'; expected 0, have 2 6018 | if (stricmp (name, "editing-mode") == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6020:11: error: too many arguments to function 'strnicmp'; expected 0, have 3 6020 | if (strnicmp (value, "vi", 2) == 0) | ^~~~~~~~ ~~~~~ readline.c:349:24: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~~ readline.c:6033:16: error: too many arguments to function 'strnicmp'; expected 0, have 3 6033 | else if (strnicmp (value, "emacs", 5) == 0) | ^~~~~~~~ ~~~~~ readline.c:349:24: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~~ readline.c:6039:12: error: too many arguments to function 'stricmp'; expected 0, have 2 6039 | else if (stricmp (name, "horizontal-scroll-mode") == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6041:22: error: too many arguments to function 'stricmp'; expected 0, have 2 6041 | if (!*value || stricmp (value, "On") == 0) | ^~~~~~~ ~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6046:12: error: too many arguments to function 'stricmp'; expected 0, have 2 6046 | else if (stricmp (name, "mark-modified-lines") == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6048:22: error: too many arguments to function 'stricmp'; expected 0, have 2 6048 | if (!*value || stricmp (value, "On") == 0) | ^~~~~~~ ~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6053:12: error: too many arguments to function 'stricmp'; expected 0, have 2 6053 | else if (stricmp (name, "prefer-visible-bell") == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6055:22: error: too many arguments to function 'stricmp'; expected 0, have 2 6055 | if (!*value || stricmp (value, "On") == 0) | ^~~~~~~ ~~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c:6060:12: error: too many arguments to function 'stricmp'; expected 0, have 2 6060 | else if (stricmp (name, "comment-begin") == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ ../readline/chardefs.h:7:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 7 | #define savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ readline.c:6070:33: note: in expansion of macro 'savestring' 6070 | rl_vi_comment_begin = savestring (value); | ^~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c: In function 'glean_key_from_name': readline.c:6100:1: warning: old-style function definition [-Wold-style-definition] 6100 | glean_key_from_name (name) | ^~~~~~~~~~~~~~~~~~~ readline.c:6106:9: error: too many arguments to function 'stricmp'; expected 0, have 2 6106 | if (stricmp (name, name_key_alist[i].name) == 0) | ^~~~~~~ ~~~~ readline.c:349:12: note: declared here 349 | static int stricmp (), strnicmp (); | ^~~~~~~ readline.c: In function 'rl_list_funmap_names': readline.c:6126:1: warning: old-style function definition [-Wold-style-definition] 6126 | rl_list_funmap_names (ignore) | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'invoking_keyseqs_in_map': readline.c:6147:1: warning: old-style function definition [-Wold-style-definition] 6147 | invoking_keyseqs_in_map (function, map) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:6170:39: error: too many arguments to function 'xmalloc'; expected 0, have 1 6170 | char *keyname = (char *)xmalloc (5); | ^~~~~~~ ~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:6182:40: error: too many arguments to function 'xmalloc'; expected 0, have 1 6182 | result = (char **) xmalloc | ^~~~~~~ 6183 | ((result_size = 10) * sizeof (char *)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:6185:40: error: too many arguments to function 'xrealloc'; expected 0, have 2 6185 | result = (char **) xrealloc | ^~~~~~~~ 6186 | (result, (result_size += 10) * sizeof (char *)); | ~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c:6210:45: error: too many arguments to function 'xmalloc'; expected 0, have 1 6210 | char *keyname = (char *)xmalloc (6 + strlen (seqs[i])); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:6227:29: error: too many arguments to function 'xmalloc'; expected 0, have 1 6227 | xmalloc ((result_size = 10) * sizeof (char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:28:14: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~ readline.c:6230:29: error: too many arguments to function 'xrealloc'; expected 0, have 2 6230 | xrealloc (result, | ^~~~~~~~ ~~~~~~ readline.c:28:27: note: declared here 28 | extern char *xmalloc (), *xrealloc (); | ^~~~~~~~ readline.c: In function 'rl_invoking_keyseqs': readline.c:6248:1: warning: old-style function definition [-Wold-style-definition] 6248 | rl_invoking_keyseqs (function) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_dump_functions': readline.c:6258:1: warning: old-style function definition [-Wold-style-definition] 6258 | rl_dump_functions (count) | ^~~~~~~~~~~~~~~~~ readline.c:6260:1: error: number of arguments doesn't match prototype 6260 | { | ^ ../readline/readline.h:33:50: error: prototype declaration 33 | rl_restart_output (), rl_re_read_init_file (), rl_dump_functions (); | ^~~~~~~~~~~~~~~~~ readline.c:6263:3: error: too many arguments to function 'rl_function_dumper'; expected 0, have 1 6263 | rl_function_dumper (rl_explicit_arg); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ readline.c:6261:8: note: declared here 6261 | void rl_function_dumper (); | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_function_dumper': readline.c:6261:8: warning: old-style function definition [-Wold-style-definition] readline.c:6274:1: error: number of arguments doesn't match prototype 6274 | { | ^ readline.c:6261:8: error: prototype declaration 6261 | void rl_function_dumper (); | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'substring_member_of_array': readline.c:6349:1: warning: old-style function definition [-Wold-style-definition] 6349 | substring_member_of_array (string, array) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:6354:11: error: too many arguments to function 'strindex'; expected 0, have 2 6354 | if (strindex (string, *array)) | ^~~~~~~~ ~~~~~~ readline.c:6345:14: note: declared here 6345 | static char *strindex (); | ^~~~~~~~ readline.c: In function 'strnicmp': readline.c:6366:1: warning: old-style function definition [-Wold-style-definition] 6366 | strnicmp (string1, string2, count) | ^~~~~~~~ readline.c: In function 'stricmp': readline.c:6384:1: warning: old-style function definition [-Wold-style-definition] 6384 | stricmp (string1, string2) | ^~~~~~~ readline.c: In function 'strindex': readline.c:6402:1: warning: old-style function definition [-Wold-style-definition] 6402 | strindex (s1, s2) | ^~~~~~~~ readline.c:6409:9: error: too many arguments to function 'strnicmp'; expected 0, have 3 6409 | if (strnicmp (&s1[i], s2, l) == 0) | ^~~~~~~~ ~~~~~~ readline.c:6366:1: note: declared here 6366 | strnicmp (string1, string2, count) | ^~~~~~~~ readline.c: In function 'rl_getc': readline.c:6424:1: warning: old-style function definition [-Wold-style-definition] 6424 | rl_getc (stream) | ^~~~~~~ *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/work/chat/icb/work/icb-5.0.9/readline Making in icb sed -e 's/(.*)/()/' protos.h > tmp mv -f tmp funcs.h cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hclear.c c_hclear.c: In function 'c_hclear': c_hclear.c:9:1: warning: old-style function definition [-Wold-style-definition] 9 | c_hclear(TARGLIST) | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hdel.c c_hdel.c: In function 'c_hdel': c_hdel.c:9:1: warning: old-style function definition [-Wold-style-definition] 9 | c_hdel(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_help.c c_help.c: In function 'c_help': c_help.c:11:1: warning: old-style function definition [-Wold-style-definition] 11 | c_help(TARGLIST) | ^~~~~~ c_help.c: In function 'helpme': c_help.c:67:1: warning: old-style function definition [-Wold-style-definition] 67 | helpme(subject) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hush.c c_hush.c: In function 'c_hush': c_hush.c:11:1: warning: old-style function definition [-Wold-style-definition] 11 | c_hush(TARGLIST) | ^~~~~~ c_hush.c: In function 'hushadd': c_hush.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | hushadd(interp, nick) | ^~~~~~~ c_hush.c: In function 'hushdelete': c_hush.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | hushdelete(interp, nick) | ^~~~~~~~~~ c_hush.c: In function 'ishushed': c_hush.c:104:1: warning: old-style function definition [-Wold-style-definition] 104 | ishushed(nick) | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_log.c c_log.c: In function 'c_log': c_log.c:13:1: warning: old-style function definition [-Wold-style-definition] 13 | c_log(TARGLIST) | ^~~~~ c_log.c: In function 'startsessionlog': c_log.c:41:1: warning: old-style function definition [-Wold-style-definition] 41 | startsessionlog(interp, path) | ^~~~~~~~~~~~~~~ c_log.c:45:22: error: conflicting types for 'ampm'; have 'char *(void)' 45 | char *aptr, *ampm(); | ^~~~ In file included from icb.h:94, from c_log.c:6: protos.h:9:7: note: previous declaration of 'ampm' with type 'char *(time_t, int)' {aka 'char *(long int, int)'} 9 | char *ampm(time_t secs, int style); | ^~~~ c_log.c:46:16: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 46 | 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 ../protocol.h:7, from icb.h:4: /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 *); | ^~~~ c_log.c:47:24: error: conflicting types for 'localtime'; have 'struct tm *(void)' 47 | struct tm *t, *localtime(); | ^~~~~~~~~ /usr/include/iso/time_iso.h:98:19: note: previous declaration of 'localtime' with type 'struct tm *(const time_t *)' {aka 'struct tm *(const long int *)'} 98 | extern struct tm *localtime(const time_t *); | ^~~~~~~~~ c_log.c:84:9: error: too many arguments to function 'time'; expected 0, have 1 84 | time(&clock); | ^~~~ ~~~~~~ c_log.c:46:16: note: declared here 46 | time_t time(); | ^~~~ c_log.c:85:13: error: too many arguments to function 'localtime'; expected 0, have 1 85 | t = localtime(&clock); | ^~~~~~~~~ ~~~~~~ c_log.c:47:24: note: declared here 47 | struct tm *t, *localtime(); | ^~~~~~~~~ c_log.c:86:16: error: too many arguments to function 'ampm'; expected 0, have 2 86 | aptr = ampm(clock, 0); | ^~~~ ~~~~~ c_log.c:45:22: note: declared here 45 | char *aptr, *ampm(); | ^~~~ c_log.c: In function 'closesessionlog': c_log.c:113:9: error: too many arguments to function 'time'; expected 0, have 1 113 | time(&clock); | ^~~~ ~~~~~~ c_log.c:104:16: note: declared here 104 | time_t time(); | ^~~~ c_log.c:114:13: error: too many arguments to function 'localtime'; expected 0, have 1 114 | t = localtime(&clock); | ^~~~~~~~~ ~~~~~~ c_log.c:105:24: note: declared here 105 | struct tm *t, *localtime(); | ^~~~~~~~~ c_log.c:115:16: error: too many arguments to function 'ampm'; expected 0, have 2 115 | aptr = ampm(clock, 0); | ^~~~ ~~~~~ c_log.c:103:22: note: declared here 103 | char *aptr, *ampm(); | ^~~~ *** Error code 1 Stop. make[1]: stopped making "default" in /home/pbulk/work/chat/icb/work/icb-5.0.9/icb *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/work/chat/icb/work/icb-5.0.9 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/chat/icb/work/icb-5.0.9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/icb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/icb