=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/lile", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ile-2.0 --- ile --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o ile ile.c -ltermcap ile.c:83:7: error: conflicting types for 'getenv'; have 'char *(void)' 83 | char *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from ile.c:51: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ ile.c: In function 'init_tty': ile.c:131:19: error: storage size of 'tparams' isn't known 131 | struct tchars tparams; | ^~~~~~~ ile.c:139:23: error: 'CBREAK' undeclared (first use in this function); did you mean 'CREAD'? 139 | params.sg_flags = CBREAK; | ^~~~~~ | CREAD ile.c:139:23: note: each undeclared identifier is reported only once for each function it appears in ile.c:142:15: error: 'tty_tchars' has an incomplete type 'struct tchars' 142 | tparams = tty_tchars; | ^~~~~~~~~~ ile.c:157:12: error: 'LNOFLSH' undeclared (first use in this function); did you mean 'NOFLSH'? 157 | mode = LNOFLSH | LDECCTQ | LLITOUT; | ^~~~~~~ | NOFLSH ile.c:157:22: error: 'LDECCTQ' undeclared (first use in this function) 157 | mode = LNOFLSH | LDECCTQ | LLITOUT; | ^~~~~~~ ile.c:157:32: error: 'LLITOUT' undeclared (first use in this function) 157 | mode = LNOFLSH | LDECCTQ | LLITOUT; | ^~~~~~~ ile.c: In function 'handle_signal': ile.c:203:6: warning: old-style function definition [-Wold-style-definition] 203 | void handle_signal(signo) { | ^~~~~~~~~~~~~ ile.c:203:6: error: type of 'signo' defaults to 'int' [-Wimplicit-int] ile.c: In function 'handle_stop': ile.c:227:6: warning: old-style function definition [-Wold-style-definition] 227 | void handle_stop(signo) int signo; { | ^~~~~~~~~~~ ile.c:247:15: error: implicit declaration of function 'sigsetmask'; did you mean 'sigstack'? [-Wimplicit-function-declaration] 247 | oldmask = sigsetmask(0); | ^~~~~~~~~~ | sigstack ile.c: In function 'handle_child': ile.c:267:16: error: storage size of 'status' isn't known 267 | union wait status; | ^~~~~~ ile.c: In function 'getpty': ile.c:312:13: warning: old-style function definition [-Wold-style-definition] 312 | static void getpty(pty, tty) int *pty; int *tty; { | ^~~~~~ ile.c: In function 'strip': ile.c:342:6: warning: old-style function definition [-Wold-style-definition] 342 | void strip(ptr) char **ptr; { | ^~~~~ ile.c: In function 'get_termcap': ile.c:354:27: error: too many arguments to function 'getenv'; expected 0, have 1 354 | if (!(terminal_type = getenv("TERM"))) { | ^~~~~~ ~~~~~~ ile.c:83:7: note: declared here 83 | char *getenv(); | ^~~~~~ ile.c:358:9: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 358 | if (tgetent(termcap_entry, terminal_type) < 1) { | ^~~~~~~ | getenv ile.c:362:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 362 | if (cle = tgetstr("le", &where)) strip(&cle); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:364:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 364 | if (cbl = tgetstr("bl", &where)) strip(&cbl); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:366:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 366 | if (cnl = tgetstr("nl", &where)) strip(&cnl); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:368:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 368 | if (ccl = tgetstr("cl", &where)) strip(&ccl); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:370:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 370 | if (ccr = tgetstr("cr", &where)) strip(&ccr); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:372:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 372 | if (cic = tgetstr("ic", &where)) strip(&cic); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:375:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 375 | if (cce = tgetstr("ce", &where)) strip(&cce); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:387:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 387 | if (cmd = tgetstr("md", &where)) { | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:388:19: error: too many arguments to function 'tgetstr'; expected 0, have 2 388 | if (cme = tgetstr("me", &where)) strip(&cmd), strip(&cme); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:392:15: error: too many arguments to function 'tgetstr'; expected 0, have 2 392 | if (csc = tgetstr("sc", &where)) { | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:393:19: error: too many arguments to function 'tgetstr'; expected 0, have 2 393 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:400:23: error: too many arguments to function 'tgetstr'; expected 0, have 2 400 | if (csc = tgetstr("sc", &where)) { | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c:401:27: error: too many arguments to function 'tgetstr'; expected 0, have 2 401 | if (crc = tgetstr("rc", &where)) strip(&csc), strip(&crc); | ^~~~~~~ ~~~~ ile.c:86:7: note: declared here 86 | char *tgetstr(); | ^~~~~~~ ile.c: At top level: ile.c:495:1: error: return type defaults to 'int' [-Wimplicit-int] 495 | write_line(line, length) char *line; int length; { | ^~~~~~~~~~ ile.c: In function 'write_line': ile.c:495:1: warning: old-style function definition [-Wold-style-definition] ile.c: In function 'bell': ile.c:587:6: warning: old-style function definition [-Wold-style-definition] 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c:587:1: error: number of arguments doesn't match prototype 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c:573:6: error: prototype declaration 573 | void bell(); | ^~~~ ile.c: In function 'pass': ile.c:590:6: warning: old-style function definition [-Wold-style-definition] 590 | void pass(ch) char ch; { (void) write(master_pty, &ch, 1); } | ^~~~ ile.c: In function 'insert': ile.c:596:6: warning: old-style function definition [-Wold-style-definition] 596 | void insert(ch) char ch; { | ^~~~~~ ile.c:596:1: error: number of arguments doesn't match prototype 596 | void insert(ch) char ch; { | ^~~~ ile.c:574:6: error: prototype declaration 574 | void insert(); | ^~~~~~ ile.c:600:9: error: too many arguments to function 'bell'; expected 0, have 1 600 | bell('\0'); | ^~~~ ~~~~ ile.c:587:6: note: declared here 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c:604:9: error: too many arguments to function 'echo'; expected 0, have 1 604 | echo(ch); | ^~~~ ~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:609:13: error: too many arguments to function 'cic_echo'; expected 0, have 1 609 | cic_echo(ch); | ^~~~~~~~ ~~ ile.c:561:6: note: declared here 561 | void cic_echo(); | ^~~~~~~~ ile.c:616:13: error: too many arguments to function 'echo'; expected 0, have 1 616 | echo(ch); | ^~~~ ~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:619:13: error: too many arguments to function 'echoline'; expected 0, have 2 619 | echoline(&line[point], (length - point)); | ^~~~~~~~ ~~~~~~~~~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:624:27: error: too many arguments to function 'backspace'; expected 0, have 1 624 | if (!crc) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'transpose_chars': ile.c:640:6: warning: old-style function definition [-Wold-style-definition] 640 | void transpose_chars(ch) char ch; { | ^~~~~~~~~~~~~~~ ile.c:644:9: error: too many arguments to function 'backspace'; expected 0, have 1 644 | backspace(line[point]); | ^~~~~~~~~ ~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:645:9: error: too many arguments to function 'echo'; expected 0, have 1 645 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:646:9: error: too many arguments to function 'echo'; expected 0, have 1 646 | echo(line[point - 1]); | ^~~~ ~~~~~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'delete_char_under': ile.c:660:6: warning: old-style function definition [-Wold-style-definition] 660 | void delete_char_under(ch) char ch; { | ^~~~~~~~~~~~~~~~~ ile.c:667:9: error: too many arguments to function 'echoline'; expected 0, have 2 667 | echoline(&line[point + 1], (length - point - 1)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:668:9: error: too many arguments to function 'echo'; expected 0, have 1 668 | echo(' '); backspace(' '); | ^~~~ ~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:668:20: error: too many arguments to function 'backspace'; expected 0, have 1 668 | echo(' '); backspace(' '); | ^~~~~~~~~ ~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:672:23: error: too many arguments to function 'backspace'; expected 0, have 1 672 | if (!crc) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'delete_char': ile.c:684:6: warning: old-style function definition [-Wold-style-definition] 684 | void delete_char(ch) char ch; { | ^~~~~~~~~~~ ile.c:688:9: error: too many arguments to function 'backspace'; expected 0, have 1 688 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:692:9: error: too many arguments to function 'echoline'; expected 0, have 2 692 | echoline(&line[point], (length - point)); | ^~~~~~~~ ~~~~~~~~~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:693:9: error: too many arguments to function 'echo'; expected 0, have 1 693 | echo(' '); backspace(' '); | ^~~~ ~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:693:20: error: too many arguments to function 'backspace'; expected 0, have 1 693 | echo(' '); backspace(' '); | ^~~~~~~~~ ~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:697:23: error: too many arguments to function 'backspace'; expected 0, have 1 697 | if (!crc) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'quote': ile.c:709:6: warning: old-style function definition [-Wold-style-definition] 709 | void quote(ch) char ch; { edit = quote_edit; } | ^~~~~ ile.c: In function 'meta1': ile.c:712:6: warning: old-style function definition [-Wold-style-definition] 712 | void meta1(ch) char ch; { edit = edit_1; } | ^~~~~ ile.c: In function 'meta2': ile.c:715:6: warning: old-style function definition [-Wold-style-definition] 715 | void meta2(ch) char ch; { edit = edit_2; } | ^~~~~ ile.c: In function 'meta3': ile.c:718:6: warning: old-style function definition [-Wold-style-definition] 718 | void meta3(ch) char ch; { edit = edit_3; } | ^~~~~ ile.c: In function 'delete_word': ile.c:721:6: warning: old-style function definition [-Wold-style-definition] 721 | void delete_word(ch) char ch; { | ^~~~~~~~~~~ ile.c:730:13: error: too many arguments to function 'backspace'; expected 0, have 1 730 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:733:13: error: too many arguments to function 'backspace'; expected 0, have 1 733 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:738:9: error: too many arguments to function 'echoline'; expected 0, have 2 738 | echoline(&line[old], (length - old)); | ^~~~~~~~ ~~~~~~~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:742:13: error: too many arguments to function 'backspace'; expected 0, have 1 742 | backspace(line[point + i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'forward_word': ile.c:753:6: warning: old-style function definition [-Wold-style-definition] 753 | void forward_word(ch) char ch; { | ^~~~~~~~~~~~ ile.c:757:13: error: too many arguments to function 'echo'; expected 0, have 1 757 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:760:13: error: too many arguments to function 'echo'; expected 0, have 1 760 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'lower_word': ile.c:765:6: warning: old-style function definition [-Wold-style-definition] 765 | void lower_word(ch) char ch; { | ^~~~~~~~~~ ile.c:769:13: error: too many arguments to function 'echo'; expected 0, have 1 769 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:774:17: error: too many arguments to function 'echo'; expected 0, have 1 774 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:776:17: error: too many arguments to function 'echo'; expected 0, have 1 776 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'upper_word': ile.c:782:6: warning: old-style function definition [-Wold-style-definition] 782 | void upper_word(ch) char ch; { | ^~~~~~~~~~ ile.c:786:13: error: too many arguments to function 'echo'; expected 0, have 1 786 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:791:17: error: too many arguments to function 'echo'; expected 0, have 1 791 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:793:17: error: too many arguments to function 'echo'; expected 0, have 1 793 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'capitalize_word': ile.c:800:6: warning: old-style function definition [-Wold-style-definition] 800 | void capitalize_word(ch) char ch; { | ^~~~~~~~~~~~~~~ ile.c:804:13: error: too many arguments to function 'echo'; expected 0, have 1 804 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:809:17: error: too many arguments to function 'echo'; expected 0, have 1 809 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:811:17: error: too many arguments to function 'echo'; expected 0, have 1 811 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:817:17: error: too many arguments to function 'echo'; expected 0, have 1 817 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c:819:17: error: too many arguments to function 'echo'; expected 0, have 1 819 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'backward_word': ile.c:825:6: warning: old-style function definition [-Wold-style-definition] 825 | void backward_word(ch) char ch; { | ^~~~~~~~~~~~~ ile.c:829:13: error: too many arguments to function 'backspace'; expected 0, have 1 829 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:832:13: error: too many arguments to function 'backspace'; expected 0, have 1 832 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'start_of_line': ile.c:837:6: warning: old-style function definition [-Wold-style-definition] 837 | void start_of_line(ch) char ch; { | ^~~~~~~~~~~~~ ile.c:842:13: error: too many arguments to function 'backspace'; expected 0, have 1 842 | backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'backward_char': ile.c:848:6: warning: old-style function definition [-Wold-style-definition] 848 | void backward_char(ch) char ch; { | ^~~~~~~~~~~~~ ile.c:850:9: error: too many arguments to function 'backspace'; expected 0, have 1 850 | backspace(line[point - 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'end_of_line': ile.c:856:6: warning: old-style function definition [-Wold-style-definition] 856 | void end_of_line(ch) char ch; { | ^~~~~~~~~~~ ile.c:858:9: error: too many arguments to function 'echoline'; expected 0, have 2 858 | echoline(&line[point], (length - point)); | ^~~~~~~~ ~~~~~~~~~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c: In function 'forward_char': ile.c:864:6: warning: old-style function definition [-Wold-style-definition] 864 | void forward_char(ch) char ch; { | ^~~~~~~~~~~~ ile.c:866:9: error: too many arguments to function 'echo'; expected 0, have 1 866 | echo(line[point]); | ^~~~ ~~~~~~~~~~~ ile.c:560:6: note: declared here 560 | void echo(); | ^~~~ ile.c: In function 'send_line': ile.c:873:6: warning: old-style function definition [-Wold-style-definition] 873 | void send_line(ch) char ch; { | ^~~~~~~~~ ile.c: In function 'erase_line': ile.c:926:6: warning: old-style function definition [-Wold-style-definition] 926 | void erase_line(ch) char ch; { | ^~~~~~~~~~ ile.c:928:5: error: too many arguments to function 'clearline'; expected 0, have 1 928 | clearline(ch); | ^~~~~~~~~ ~~ ile.c:564:6: note: declared here 564 | void clearline(); | ^~~~~~~~~ ile.c: In function 'erase_to_end_of_line': ile.c:937:6: warning: old-style function definition [-Wold-style-definition] 937 | void erase_to_end_of_line(ch) char ch; { | ^~~~~~~~~~~~~~~~~~~~ ile.c: In function 'redraw_line': ile.c:945:6: warning: old-style function definition [-Wold-style-definition] 945 | void redraw_line(ch) char ch; { | ^~~~~~~~~~~ ile.c: In function 'clear_screen': ile.c:952:6: warning: old-style function definition [-Wold-style-definition] 952 | void clear_screen(ch) char ch; { fputs(ccl, stdout); reprompt(); } | ^~~~~~~~~~~~ ile.c: In function 'forward_history': ile.c:958:6: warning: old-style function definition [-Wold-style-definition] 958 | void forward_history(ch) char ch; { | ^~~~~~~~~~~~~~~ ile.c:960:9: error: too many arguments to function 'clearline'; expected 0, have 1 960 | clearline(ch); | ^~~~~~~~~ ~~ ile.c:564:6: note: declared here 564 | void clearline(); | ^~~~~~~~~ ile.c:965:9: error: too many arguments to function 'echoline'; expected 0, have 2 965 | echoline(line, length); | ^~~~~~~~ ~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:966:12: error: too many arguments to function 'bell'; expected 0, have 1 966 | } else bell('\0'); | ^~~~ ~~~~ ile.c:587:6: note: declared here 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c: In function 'search_backward_history': ile.c:974:6: warning: old-style function definition [-Wold-style-definition] 974 | void search_backward_history(ch) char ch; { | ^~~~~~~~~~~~~~~~~~~~~~~ ile.c:995:9: error: too many arguments to function 'clearline'; expected 0, have 1 995 | clearline(ch); | ^~~~~~~~~ ~~ ile.c:564:6: note: declared here 564 | void clearline(); | ^~~~~~~~~ ile.c:997:9: error: too many arguments to function 'echoline'; expected 0, have 2 997 | echoline(line, length); | ^~~~~~~~ ~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:999:47: error: too many arguments to function 'backspace'; expected 0, have 1 999 | else for (i = point; i < length; i++) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c:1001:10: error: too many arguments to function 'bell'; expected 0, have 1 1001 | else bell('\0'); | ^~~~ ~~~~ ile.c:587:6: note: declared here 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c: In function 'backward_history': ile.c:1008:6: warning: old-style function definition [-Wold-style-definition] 1008 | void backward_history(ch) char ch; { | ^~~~~~~~~~~~~~~~ ile.c:1014:9: error: too many arguments to function 'clearline'; expected 0, have 1 1014 | clearline(ch); | ^~~~~~~~~ ~~ ile.c:564:6: note: declared here 564 | void clearline(); | ^~~~~~~~~ ile.c:1019:9: error: too many arguments to function 'echoline'; expected 0, have 2 1019 | echoline(line, length); | ^~~~~~~~ ~~~~ ile.c:562:6: note: declared here 562 | void echoline(); | ^~~~~~~~ ile.c:1021:10: error: too many arguments to function 'bell'; expected 0, have 1 1021 | else bell('\0'); | ^~~~ ~~~~ ile.c:587:6: note: declared here 587 | void bell(ch) char ch; { fputs(cbl, stdout); } | ^~~~ ile.c: In function 'clearline': ile.c:1038:6: warning: old-style function definition [-Wold-style-definition] 1038 | void clearline(ch) char ch; { | ^~~~~~~~~ ile.c:1038:1: error: number of arguments doesn't match prototype 1038 | void clearline(ch) char ch; { | ^~~~ ile.c:564:6: error: prototype declaration 564 | void clearline(); | ^~~~~~~~~ ile.c:1041:33: error: too many arguments to function 'backspace'; expected 0, have 1 1041 | for (i = 0; i < point; i++) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'cic_echo': ile.c:1045:6: warning: old-style function definition [-Wold-style-definition] 1045 | void cic_echo(ch) char ch; { | ^~~~~~~~ ile.c:1045:1: error: number of arguments doesn't match prototype 1045 | void cic_echo(ch) char ch; { | ^~~~ ile.c:561:6: error: prototype declaration 561 | void cic_echo(); | ^~~~~~~~ ile.c: In function 'echo': ile.c:1056:6: warning: old-style function definition [-Wold-style-definition] 1056 | void echo(ch) char ch; { | ^~~~ ile.c:1056:1: error: number of arguments doesn't match prototype 1056 | void echo(ch) char ch; { | ^~~~ ile.c:560:6: error: prototype declaration 560 | void echo(); | ^~~~ ile.c: In function 'echoline': ile.c:1067:6: warning: old-style function definition [-Wold-style-definition] 1067 | void echoline(line, length) char *line; int length; { | ^~~~~~~~ ile.c:1067:1: error: number of arguments doesn't match prototype 1067 | void echoline(line, length) char *line; int length; { | ^~~~ ile.c:562:6: error: prototype declaration 562 | void echoline(); | ^~~~~~~~ ile.c:1070:34: error: too many arguments to function 'echo'; expected 0, have 1 1070 | for (i = 0; i < length; i++) echo(*line++); | ^~~~ ~~~~~~~ ile.c:1056:6: note: declared here 1056 | void echo(ch) char ch; { | ^~~~ ile.c: In function 'refresh': ile.c:1091:17: error: too many arguments to function 'echo'; expected 0, have 1 1091 | echo(line[i]); | ^~~~ ~~~~~~~ ile.c:1056:6: note: declared here 1056 | void echo(ch) char ch; { | ^~~~ ile.c:1095:9: error: too many arguments to function 'echoline'; expected 0, have 2 1095 | echoline(line, length); | ^~~~~~~~ ~~~~ ile.c:1067:6: note: declared here 1067 | void echoline(line, length) char *line; int length; { | ^~~~~~~~ ile.c:1096:42: error: too many arguments to function 'backspace'; expected 0, have 1 1096 | for (i = point; i < length; i++) backspace(line[i]); | ^~~~~~~~~ ~~~~~~~ ile.c:565:6: note: declared here 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'backspace': ile.c:1104:6: warning: old-style function definition [-Wold-style-definition] 1104 | void backspace(ch) char ch; { | ^~~~~~~~~ ile.c:1104:1: error: number of arguments doesn't match prototype 1104 | void backspace(ch) char ch; { | ^~~~ ile.c:565:6: error: prototype declaration 565 | void backspace(); | ^~~~~~~~~ ile.c: In function 'quote_edit': ile.c:1111:6: warning: old-style function definition [-Wold-style-definition] 1111 | void quote_edit(ch) char ch; { | ^~~~~~~~~~ ile.c:1111:1: error: number of arguments doesn't match prototype 1111 | void quote_edit(ch) char ch; { | ^~~~ ile.c:568:6: error: prototype declaration 568 | void quote_edit(); | ^~~~~~~~~~ ile.c:1112:5: error: too many arguments to function 'insert'; expected 0, have 1 1112 | insert(ch); | ^~~~~~ ~~ ile.c:596:6: note: declared here 596 | void insert(ch) char ch; { | ^~~~~~ ile.c: In function 'dispatch': ile.c:1120:6: warning: old-style function definition [-Wold-style-definition] 1120 | void dispatch(table, ch) int table; char ch; { | ^~~~~~~~ ile.c:1125:10: error: too many arguments to function 'action_table[table][(int)ch].aors.action'; expected 0, have 1 1125 | (*(action_table[table][ch].aors.action)) (ch); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ile.c:555:16: note: declared here 555 | void (*action) (); | ^~~~~~ ile.c:1130:14: error: too many arguments to function 'edit'; expected 0, have 1 1130 | (*edit) (*cptr); | ~^~~~~~ ~~~~~ ile.c: In function 'edit_3': ile.c:1138:6: warning: old-style function definition [-Wold-style-definition] 1138 | void edit_3(ch) char ch; { | ^~~~~~ ile.c:1138:1: error: number of arguments doesn't match prototype 1138 | void edit_3(ch) char ch; { | ^~~~ ile.c:572:6: error: prototype declaration 572 | void edit_3(); | ^~~~~~ ile.c: In function 'edit_2': ile.c:1147:6: warning: old-style function definition [-Wold-style-definition] 1147 | void edit_2(ch) char ch; { | ^~~~~~ ile.c:1147:1: error: number of arguments doesn't match prototype 1147 | void edit_2(ch) char ch; { | ^~~~ ile.c:571:6: error: prototype declaration 571 | void edit_2(); | ^~~~~~ ile.c: In function 'edit_1': ile.c:1156:6: warning: old-style function definition [-Wold-style-definition] 1156 | void edit_1(ch) char ch; { | ^~~~~~ ile.c:1156:1: error: number of arguments doesn't match prototype 1156 | void edit_1(ch) char ch; { | ^~~~ ile.c:570:6: error: prototype declaration 570 | void edit_1(); | ^~~~~~ ile.c: In function 'edit_0': ile.c:1165:6: warning: old-style function definition [-Wold-style-definition] 1165 | void edit_0(ch) char ch; { | ^~~~~~ ile.c:1165:1: error: number of arguments doesn't match prototype 1165 | void edit_0(ch) char ch; { | ^~~~ ile.c:569:6: error: prototype declaration 569 | void edit_0(); | ^~~~~~ ile.c:1166:25: error: invalid use of undefined type 'struct tchars' 1166 | if (ch == tty_tchars.t_eofc && point == 0 && length == 0) { | ^ ile.c: In function 'ile': ile.c:1231:28: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1231 | (void) signal(SIGCHLD, handle_child); | ^~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from ile.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); | ^~~~~~~~~~~~~ ile.c:266:6: note: 'handle_child' declared here 266 | void handle_child() { | ^~~~~~~~~~~~ ile.c:1246:29: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1246 | (void) signal(SIGWINCH, change_window); | ^~~~~~~~~~~~~ | | | 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); | ^~~~~~~~~~~~~ ile.c:410:6: note: 'change_window' declared here 410 | void change_window() { | ^~~~~~~~~~~~~ ile.c:1335:54: error: 'CBREAK' undeclared (first use in this function); did you mean 'CREAD'? 1335 | if (((slave_params.sg_flags & (RAW | CBREAK)) != 0) || | ^~~~~~ | CREAD ile.c:1347:22: error: too many arguments to function 'edit'; expected 0, have 1 1347 | (*edit) (CHAR_MASK & buffer[i]); | ~^~~~~~ ile.c: In function 'child': ile.c:1357:6: warning: old-style function definition [-Wold-style-definition] 1357 | void child(argv, index) char *argv[]; int index; { | ^~~~~ ile.c: At top level: ile.c:1614:1: error: return type defaults to 'int' [-Wimplicit-int] 1614 | main(argc, argv) int argc; char *argv[]; { | ^~~~ ile.c: In function 'main': ile.c:1614:1: warning: old-style function definition [-Wold-style-definition] ile.c:1648:21: error: too many arguments to function 'getenv'; expected 0, have 1 1648 | if ((path = getenv("SHELL")) == NULL || (*path == '\0')) { | ^~~~~~ ~~~~~~~ ile.c:83:7: note: declared here 83 | char *getenv(); | ^~~~~~ ile.c: At top level: ile.c:109:15: error: storage size of 'tty_tchars' isn't known 109 | struct tchars tty_tchars; | ^~~~~~~~~~ *** [ile] Error code 1 bmake: stopped making "all" in /tmp/work/misc/lile/work/lile-2.0 bmake: 1 error bmake: stopped making "all" in /tmp/work/misc/lile/work/lile-2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/lile *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/lile