=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fep", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for fep-1.0nb3 cd /var/tmp/work/misc/fep/work && for i in *.[ch]; do /opt/pkg/bin/nbsed "s,#endif lint,#endif /* lint */,g" ${i} > ${i}.new && /bin/mv -f ${i}.new ${i}; done --- fep_main.o --- --- fep_edit.o --- --- fep_main.o --- clang -pipe -Os -Wno-error=return-type -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_main.c --- fep_edit.o --- clang -pipe -Os -Wno-error=return-type -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_edit.c --- fep_main.o --- fep_main.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | main(argc, argv) | ^ | int fep_main.c:128:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 128 | char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ fep_main.c:141:5: warning: call to undeclared function 'init_bind_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | init_bind_table (); | ^ fep_main.c:146:5: warning: call to undeclared function 'set_default_vars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | set_default_vars (); | ^ fep_main.c:153:37: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if ((cp=getenv("EDITMODE")) && (eq(cp,"emacs")||eq(cp,"vi"))) | ^ ./fep_defs.h:26:19: note: expanded from macro 'eq' 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^ fep_main.c:153:37: note: include the header or explicitly provide a declaration for 'strcmp' ./fep_defs.h:26:19: note: expanded from macro 'eq' 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^ fep_main.c:154:2: warning: call to undeclared function 'set_only_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | set_only_var ("editmode", cp); | ^ fep_main.c:156:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if (cp=getenv("USER")) | ~~^~~~~~~~~~~~~~~ fep_main.c:156:11: note: place parentheses around the assignment to silence this warning 156 | if (cp=getenv("USER")) | ^ | ( ) fep_main.c:156:11: note: use '==' to turn this assignment into an equality comparison 156 | if (cp=getenv("USER")) | ^ | == fep_main.c:159:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | if (cp=getenv("HOME")) | ~~^~~~~~~~~~~~~~~ fep_main.c:159:11: note: place parentheses around the assignment to silence this warning 159 | if (cp=getenv("HOME")) | ^ | ( ) fep_main.c:159:11: note: use '==' to turn this assignment into an equality comparison 159 | if (cp=getenv("HOME")) | ^ | == fep_main.c:162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if (cp=getenv("TERM")) | ~~^~~~~~~~~~~~~~~ fep_main.c:162:11: note: place parentheses around the assignment to silence this warning 162 | if (cp=getenv("TERM")) | ^ | ( ) fep_main.c:162:11: note: use '==' to turn this assignment into an equality comparison 162 | if (cp=getenv("TERM")) | ^ | == fep_main.c:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 165 | if (cp=getenv("SHELL")) | ~~^~~~~~~~~~~~~~~~ fep_main.c:165:11: note: place parentheses around the assignment to silence this warning 165 | if (cp=getenv("SHELL")) | ^ | ( ) fep_main.c:165:11: note: use '==' to turn this assignment into an equality comparison 165 | if (cp=getenv("SHELL")) | ^ | == fep_main.c:194:4: warning: call to undeclared function 'usageAndExit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | usageAndExit (); | ^ fep_main.c:207:4: warning: call to undeclared function 'usageAndExit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | usageAndExit (); | ^ fep_main.c:208:34: warning: passing arguments to 'allocAndCopyThere' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | prompt = allocAndCopyThere (argv[1]); | ^ fep_main.c:211:34: warning: passing arguments to 'allocAndCopyThere' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | prompt = allocAndCopyThere (argv[1] + 2); | ^ fep_main.c:231:2: warning: call to undeclared function 'usageAndExit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | usageAndExit (); | ^ fep_main.c:234:5: warning: call to undeclared function 'look_cmdinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | look_cmdinfo (argv[1]); | ^ fep_main.c:242:6: warning: call to undeclared function 'any'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | if (any ('/', cp)) | ^ fep_main.c:244:2: warning: call to undeclared function 'set_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | set_var (cp, "1"); | ^ fep_main.c:250:11: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | if (! isatty (0)) { | ^ fep_main.c:251:2: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | execvp (*commandv, commandv, 0); | ^ fep_main.c:256:5: warning: call to undeclared function 'get_pty_master'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | get_pty_master (); | ^ fep_main.c:257:5: warning: call to undeclared function 'fix_tty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | fix_tty (); | ^ fep_main.c:266:5: warning: call to undeclared function 'init_hist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | init_hist (histlen); | ^ fep_main.c:267:5: warning: call to undeclared function 'init_edit_params'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | init_edit_params (); | ^ fep_main.c:275:29: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if ((size = atoi (look_var ("buffer"))) <= 0) | ^ fep_main.c:277:7: warning: call to undeclared function 'set_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | if (!set_buffer (output_buffer, size)) { | ^ fep_main.c:279:6: warning: call to undeclared function 'kill_process'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | kill_process (); | ^ fep_main.c:285:14: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | child_pid = fork (); | ^ fep_main.c:288:6: warning: call to undeclared function 'kill_process'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | kill_process (); | ^ fep_main.c:292:6: warning: call to undeclared function 'exec_to_command'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | exec_to_command (commandv); | ^ fep_main.c:294:5: warning: call to undeclared function 'fix_signal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | fix_signal (); | ^ fep_main.c:296:5: warning: call to undeclared function 'input_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | input_handler (); | ^ fep_main.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | main(argc, argv) | ^ fep_main.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | fix_signal () | ^ | int fep_main.c:311:1: warning: non-void function does not return a value [-Wreturn-type] 311 | } | ^ fep_main.c:313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | recover_signal () | ^ | int fep_main.c:319:1: warning: non-void function does not return a value [-Wreturn-type] 319 | } | ^ fep_main.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | input_handler() | ^ | int fep_main.c:332:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | while (inputline = get_line ()) { | ~~~~~~~~~~^~~~~~~~~~~~~ fep_main.c:332:22: note: place parentheses around the assignment to silence this warning 332 | while (inputline = get_line ()) { | ^ | ( ) fep_main.c:332:22: note: use '==' to turn this assignment into an equality comparison 332 | while (inputline = get_line ()) { | ^ | == fep_main.c:339:28: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | register int nbyte = max (strlen (inputline), 1); | ^ fep_main.c:339:28: note: include the header or explicitly provide a declaration for 'strlen' fep_main.c:344:2: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | write (master, inputline, nbyte); | ^ fep_main.c:363:1: warning: non-void function does not return a value [-Wreturn-type] 363 | } | ^ fep_main.c:406:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 406 | getcharacter() | ^ | int fep_main.c:445:10: warning: call to undeclared function 'buf_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | nbyte = buf_read (master, output_buffer); | ^ fep_main.c:451:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | write (1, output_buffer->b_lastbuf, nbyte); | ^ fep_main.c:524:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | int set_buffer (bp, size) | ^ fep_main.c:565:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | nbyte = read (fd, bp->b_buf + bp->b_next, bp->b_max - bp->b_next); | ^ fep_main.c:551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | int buf_read (fd, bp) | ^ fep_main.c:591:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 591 | buf_put (bp, s) | ^ | int fep_main.c:603:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | strncpy (bp->b_buf + bp->b_next, s, slen); | ^ fep_main.c:603:2: note: include the header or explicitly provide a declaration for 'strncpy' fep_main.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | buf_put (bp, s) | ^ fep_main.c:616:1: warning: non-void function does not return a value [-Wreturn-type] 616 | } | ^ fep_main.c:618:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 618 | swallow_output() | ^ | int fep_main.c:632:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | write (1, output_buffer->b_lastbuf, nbyte); | ^ fep_main.c:652:5: warning: non-void function 'swallow_output' should return a value [-Wreturn-mismatch] 652 | return; | ^ fep_main.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | catchsig(n) | ^ fep_main.c:671:6: warning: call to undeclared function 'message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | message ("Child has stopped!!\n"); | ^ fep_main.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 679 | exec_to_command(argv) | ^ | int fep_main.c:690:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 690 | (void) close (t); | ^ fep_main.c:693:5: warning: call to undeclared function 'get_pty_slave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 693 | get_pty_slave (); | ^ fep_main.c:695:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 695 | (void) close (master); | ^ fep_main.c:696:5: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 696 | dup2 (slave, 0); | ^ fep_main.c:706:5: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 706 | execvp (*argv, argv, 0); | ^ fep_main.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | exec_to_command(argv) | ^ --- fep_edit.o --- fep_edit.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | init_bind_table () | ^ | int --- fep_main.o --- fep_main.c:712:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- fep_edit.o --- fep_edit.c:122:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] --- fep_main.o --- 712 | fix_tty() | ^ | int --- fep_edit.o --- 122 | } | ^ --- fep_main.o --- fep_main.c:728:1: warning: non-void function does not return a value [-Wreturn-type] 728 | } | ^ fep_main.c:771:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 771 | kill_process() | ^ | int --- fep_edit.o --- fep_edit.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | init_edit_params () | ^ | int --- fep_main.o --- fep_main.c:776:1: warning: non-void function does not return a value [-Wreturn-type] 776 | } | ^ --- fep_edit.o --- fep_edit.c:132:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] --- fep_main.o --- fep_main.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_edit.o --- 132 | char *cp, *getenv(); | ^ --- fep_main.o --- 779 | terminate(n) | ^ --- fep_edit.o --- /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here --- fep_main.o --- fep_main.c:791:15: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_edit.o --- 162 | char *_LIBC_CSTR getenv(const char *); | ^ --- fep_main.o --- 791 | if (look_var ("savehist") && (cp = look_var ("history-file"))) { | ^ --- fep_edit.o --- fep_edit.c:135:25: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_main.o --- fep_main.c:791:46: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_edit.o --- 135 | if (term = look_var ("term")) { | ^ fep_edit.c:135:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if (term = look_var ("term")) { | ~~~~~^~~~~~~~~~~~~~~~~~~ --- fep_main.o --- 791 | if (look_var ("savehist") && (cp = look_var ("history-file"))) { --- fep_edit.o --- fep_edit.c:135:14: note: place parentheses around the assignment to silence this warning --- fep_main.o --- | ^ --- fep_edit.o --- 135 | if (term = look_var ("term")) { | ^ --- fep_main.o --- fep_main.c:793:12: warning: call to undeclared function 'lookd_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 793 | num = lookd_var ("savehist"); | ^ --- fep_edit.o --- | ( ) fep_edit.c:135:14: note: use '==' to turn this assignment into an equality comparison --- fep_main.o --- fep_main.c:794:6: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_edit.o --- 135 | if (term = look_var ("term")) { | ^ | == --- fep_main.o --- 794 | strcpy (buf, mk_home_relative (cp)); --- fep_edit.o --- fep_edit.c:136:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_main.o --- | ^ fep_main.c:794:6: note: include the header or explicitly provide a declaration for 'strcpy' --- fep_edit.o --- 136 | if (tgetent (sbuf, term) == 1) { | ^ --- fep_main.o --- fep_main.c:794:36: warning: passing arguments to 'mk_home_relative' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | strcpy (buf, mk_home_relative (cp)); | ^ --- fep_edit.o --- fep_edit.c:138:11: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | lines = tgetnum ("li"); | ^ --- fep_main.o --- fep_main.c:795:6: warning: call to undeclared function 'save_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 795 | save_history (buf, num); | ^ --- fep_edit.o --- fep_edit.c:141:27: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | term_clear = tgetstr ("cl", &strspace_addr); | ^ --- fep_main.o --- fep_main.c:821:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 821 | get_pty_master() | ^ | int --- fep_edit.o --- fep_edit.c:151:5: warning: call to undeclared function 'set_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_main.o --- fep_main.c:829:2: warning: non-void function 'get_pty_master' should return a value [-Wreturn-mismatch] 829 | return; | ^ --- fep_edit.o --- 151 | set_var ("crt", sbuf); | ^ fep_edit.c:154:15: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (look_var ("editmode")) | ^ fep_edit.c:155:36: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_main.o --- fep_main.c:927:5: warning: non-void function 'get_pty_master' should return a value [-Wreturn-mismatch] 927 | return; | ^ --- fep_edit.o --- 155 | set_var ("editmode", look_var ("editmode")); | ^ fep_edit.c:160:26: warning: call to undeclared function 'itoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | set_var ("showhist", itoa (lines - 1)); | ^ fep_edit.c:165:5: warning: call to undeclared function 'sourceRcFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | sourceRcFile (); | ^ fep_edit.c:173:15: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (look_var ("savehist") && (cp = look_var ("history-file"))) { | ^ fep_edit.c:173:46: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (look_var ("savehist") && (cp = look_var ("history-file"))) { | ^ fep_edit.c:174:28: warning: passing arguments to 'mk_home_relative' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | cp = mk_home_relative (cp); | ^ fep_edit.c:177:3: warning: call to undeclared function 'read_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | read_history (cp); --- fep_main.o --- fep_main.c:930:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 930 | get_pty_slave() | ^ | int fep_main.c:938:9: warning: call to undeclared function 'setsid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 938 | if (setsid() == -1) | ^ --- fep_edit.o --- | ^ --- fep_main.o --- fep_main.c:971:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 971 | } | ^ fep_main.c:973:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 973 | recover_tty() | ^ | int fep_main.c:982:1: warning: non-void function does not return a value [-Wreturn-type] 982 | } --- fep_edit.o --- fep_edit.c:190:12: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | (void) strcpy (CommandLine, ""); | ^ fep_edit.c:190:12: note: include the header or explicitly provide a declaration for 'strcpy' --- fep_main.o --- | ^ fep_main.c:984:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 984 | suspend() | ^ | int fep_main.c:990:11: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_edit.o --- fep_edit.c:193:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 193 | } | ^ --- fep_main.o --- 990 | pid = getpid (); | ^ fep_main.c:1010:18: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_edit.o --- fep_edit.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- fep_main.o --- 1010 | if (look_var ("auto-repaint")) | ^ fep_main.c:1011:13: warning: passing arguments to 'fep_repaint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | fep_repaint(0); | ^ fep_main.c:1012:1: warning: non-void function does not return a value [-Wreturn-type] 1012 | } | ^ --- fep_edit.o --- 198 | initEmacsBindings (cft, aft) | ^ | int --- fep_main.o --- fep_main.c:1014:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- fep_edit.o --- fep_edit.c:261:2: warning: call to undeclared function 'bind_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | bind_key (cft, ftp->bt_func, ftp->bt_s, fep_abort); | ^ --- fep_main.o --- 1014 | look_cmdinfo (command) | ^ | int --- fep_edit.o --- fep_edit.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | initEmacsBindings (cft, aft) | ^ fep_edit.c:263:1: warning: non-void function does not return a value [-Wreturn-type] 263 | } | ^ --- fep_main.o --- fep_main.c:1021:2: warning: non-void function 'look_cmdinfo' should return a value [-Wreturn-mismatch] 1021 | return; | ^ fep_main.c:1025:33: warning: passing arguments to 'allocAndCopyThere' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_edit.o --- fep_edit.c:278:5: warning: call to undeclared function 'resetCurrentHistory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_main.o --- 1025 | prompt = allocAndCopyThere (p->prompt); | ^ fep_main.c:1026:6: warning: call to undeclared function 'set_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_edit.o --- 278 | resetCurrentHistory (); | ^ --- fep_main.o --- 1026 | set_var ("prompt", p->prompt); | ^ fep_main.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | look_cmdinfo (command) --- fep_edit.o --- fep_edit.c:297:2: warning: call to undeclared function 'swallow_output'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_main.o --- | ^ fep_main.c:1031:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1031 | } | ^ --- fep_edit.o --- 297 | swallow_output(); | ^ --- fep_main.o --- fep_main.c:1034:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1034 | usageAndExit() | ^ | int --- fep_edit.o --- fep_edit.c:305:19: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (look_var ("verbose")) | ^ fep_edit.c:307:6: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_main.o --- fep_main.c:1052:2: warning: call to undeclared function 'set_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- fep_edit.o --- 307 | errorBell (); | ^ fep_edit.c:318:17: warning: call to undeclared function 'getcharacter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | while ((c = getcharacter ()) >= (CHAR) 0) { | ^ --- fep_main.o --- 1052 | set_var ("crt", itoa (win.ws_row)); | ^ fep_main.c:1052:18: warning: call to undeclared function 'itoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1052 | set_var ("crt", itoa (win.ws_row)); | ^ --- fep_edit.o --- fep_edit.c:349:20: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | && ! look_var ("ignore-eof") | ^ fep_edit.c:352:35: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (!eof_occured && look_var ("alarm-on-eof")) { | ^ fep_edit.c:354:12: warning: call to undeclared function 'alarm_on_eof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | status = alarm_on_eof (c); | ^ fep_edit.c:357:21: warning: passing arguments to 'send_eof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | status = send_eof (c); | ^ fep_edit.c:361:15: warning: call to undeclared function 'callfunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | status = callfunc (curFuncTab, c); | ^ fep_edit.c:377:9: warning: call to undeclared function 'refer_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | if (refer_history () == PROCESSED) | ^ fep_edit.c:383:33: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | if (!processed && !look_var ("noalias") | ^ fep_edit.c:384:36: warning: passing arguments to 'check_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | && (execute_command = check_alias (CommandLine)) | ^ fep_edit.c:386:15: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (look_var ("verbose")) | ^ fep_edit.c:396:9: warning: call to undeclared function 'executeBuiltInFunction'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | if (executeBuiltInFunction (execute_command, &remained) == PROCESSED) { | ^ fep_edit.c:398:6: warning: call to undeclared function 'addHistory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | addHistory (CommandLine); | ^ fep_edit.c:412:7: warning: call to undeclared function 'is_empty_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | if (!is_empty_line (CommandLine) || !look_var ("ignore-empty-line")) | ^ fep_edit.c:412:48: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | if (!is_empty_line (CommandLine) || !look_var ("ignore-empty-line")) | ^ fep_edit.c:414:3: warning: call to undeclared function 'addHistory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | addHistory (CommandLine); | ^ fep_edit.c:418:2: warning: call to undeclared function 'buf_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | buf_put (output_buffer, CommandLine); | ^ fep_edit.c:424:9: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | (void) strcat (execute_command, "\n"); | ^ fep_edit.c:424:9: note: include the header or explicitly provide a declaration for 'strcat' fep_edit.c:434:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 434 | callfunc (ft, c) | ^ | int fep_edit.c:443:14: warning: call to undeclared function 'getcharacter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | nc = (CHAR) getcharacter(); | ^ fep_edit.c:447:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | return ((*ft[(int) c]) (c)); | ^ fep_edit.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | callfunc (ft, c) | ^ fep_edit.c:453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | fep_abort() | ^ | int fep_edit.c:455:12: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | (void) errorBell (); | ^ fep_edit.c:462:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 462 | self_insert(c) | ^ | int fep_edit.c:470:19: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | currentNull = strlen (CommandLine); | ^ fep_edit.c:470:19: note: include the header or explicitly provide a declaration for 'strlen' fep_edit.c:473:9: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | errorBell(); | ^ fep_edit.c:488:2: warning: call to undeclared function 'putChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | putChar (c); | ^ fep_edit.c:489:5: warning: call to undeclared function 'reverse_strcpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | reverse_strcpy ( | ^ fep_edit.c:500:5: warning: call to undeclared function 'printS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | printS (&CommandLine [CurrentPosition]); | ^ fep_edit.c:503:2: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0)); | ^ fep_edit.c:503:14: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0)); | ^ fep_edit.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | self_insert(c) | ^ In file included from fep_edit.c:33: ./fep_funcs.h:50:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | int self_insert(); | ^ fep_edit.c:512:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 512 | insert_string (s) | ^ | int fep_edit.c:520:9: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | errorBell(); | ^ fep_edit.c:526:5: warning: call to undeclared function 'printS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | printS (s); | ^ fep_edit.c:527:5: warning: call to undeclared function 'reverse_strcpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | reverse_strcpy ( | ^ fep_edit.c:531:5: warning: call to undeclared library function 'bcopy' with type 'void (const void *, void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | bcopy (s, &CommandLine[CurrentPosition], nbyte); | ^ fep_edit.c:531:5: note: include the header or explicitly provide a declaration for 'bcopy' fep_edit.c:536:2: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | repeat (BS, howlong (&CommandLine[CurrentPosition], 0)); | ^ fep_edit.c:536:14: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | repeat (BS, howlong (&CommandLine[CurrentPosition], 0)); | ^ fep_edit.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | insert_string (s) | ^ fep_edit.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | yank_from_kill_buffer () | ^ | int fep_edit.c:547:1: warning: non-void function does not return a value [-Wreturn-type] 547 | } | ^ fep_edit.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | mark () | ^ | int fep_edit.c:554:5: warning: call to undeclared function 'set_mark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | set_mark (CurrentPosition); | ^ fep_edit.c:561:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | set_mark (pos) | ^ | int fep_edit.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fep_edit.c:571:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 571 | delete_to_kill_buffer () | ^ | int fep_edit.c:576:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 576 | errorBell(); | ^ fep_edit.c:581:2: warning: non-void function 'delete_to_kill_buffer' should return a value [-Wreturn-mismatch] 581 | return; | ^ fep_edit.c:584:9: warning: call to undeclared function 'moveto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 584 | (void) moveto (MarkPosition); | ^ fep_edit.c:587:13: warning: call to undeclared function 'delete_next_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | return (delete_next_n_character (n)); | ^ fep_edit.c:593:9: warning: parameter 'position' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 593 | moveto (position) | ^ 594 | { fep_edit.c:593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 593 | moveto (position) | ^ | int fep_edit.c:597:13: warning: call to undeclared function 'backward_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | (void) backward_n_character (1); | ^ fep_edit.c:605:13: warning: call to undeclared function 'forward_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 605 | (void) forward_n_character (1); | ^ fep_edit.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | moveto (position) | ^ fep_edit.c:606:1: warning: non-void function does not return a value [-Wreturn-type] 606 | } | ^ fep_edit.c:611:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 611 | beginning_of_line() | ^ | int fep_edit.c:635:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 635 | end_of_line() | ^ | int fep_edit.c:654:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 654 | backward_character() | ^ | int fep_edit.c:657:13: warning: call to undeclared function 'backward_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 657 | return (backward_n_character (1)); | ^ fep_edit.c:663:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 663 | backward_n_character(n) | ^ | int fep_edit.c:672:10: warning: call to undeclared function 'forward_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | return (forward_n_character (-n)); | ^ fep_edit.c:674:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 674 | errorBell (); | ^ fep_edit.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | backward_n_character(n) | ^ fep_edit.c:699:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 699 | backward_word () | ^ | int fep_edit.c:702:13: warning: call to undeclared function 'backward_n_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 702 | return (backward_n_word (1)); | ^ fep_edit.c:708:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 708 | backward_n_word (n) | ^ | int fep_edit.c:714:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | errorBell (); | ^ fep_edit.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | backward_n_word (n) | ^ fep_edit.c:760:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 760 | backward_Word () | ^ | int fep_edit.c:763:13: warning: call to undeclared function 'backward_n_Word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 763 | return (backward_n_Word (1)); | ^ fep_edit.c:769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 769 | backward_n_Word (n) | ^ | int fep_edit.c:775:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 775 | errorBell (); | ^ fep_edit.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | backward_n_Word (n) | ^ fep_edit.c:819:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 819 | forward_character() | ^ | int fep_edit.c:822:13: warning: call to undeclared function 'forward_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 822 | return (forward_n_character (1)); | ^ fep_edit.c:828:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 828 | forward_n_character(n) | ^ | int fep_edit.c:840:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 840 | errorBell (); | ^ fep_edit.c:866:2: warning: call to undeclared function 'putChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 866 | putChar (CommandLine [i++]); | ^ fep_edit.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | forward_n_character(n) | ^ fep_edit.c:880:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 880 | forward_word () | ^ | int fep_edit.c:882:13: warning: call to undeclared function 'forward_n_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | return (forward_n_word (1)); | ^ fep_edit.c:888:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 888 | forward_n_word (n) | ^ | int fep_edit.c:894:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | errorBell (); | ^ fep_edit.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | forward_n_word (n) | ^ fep_edit.c:914:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 914 | forward_Word () | ^ | int fep_edit.c:916:13: warning: call to undeclared function 'forward_n_Word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 916 | return (forward_n_Word (1)); | ^ fep_edit.c:922:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 922 | forward_n_Word (n) | ^ | int fep_edit.c:928:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 928 | errorBell (); | ^ fep_edit.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | forward_n_Word (n) | ^ fep_edit.c:948:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 948 | forward_to_end_of_word () | ^ | int fep_edit.c:951:13: warning: call to undeclared function 'forward_to_end_of_n_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | return (forward_to_end_of_n_word (1)); | ^ fep_edit.c:957:27: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 957 | forward_to_end_of_n_word (n) | ^ 958 | { fep_edit.c:957:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 957 | forward_to_end_of_n_word (n) | ^ | int fep_edit.c:962:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 962 | errorBell (); | ^ fep_edit.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | forward_to_end_of_n_word (n) | ^ fep_edit.c:984:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 984 | forward_to_end_of_Word () | ^ | int fep_edit.c:987:13: warning: call to undeclared function 'forward_to_end_of_n_Word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 987 | return (forward_to_end_of_n_Word (1)); | ^ fep_edit.c:993:27: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 993 | forward_to_end_of_n_Word (n) | ^ 994 | { fep_edit.c:993:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 993 | forward_to_end_of_n_Word (n) | ^ | int fep_edit.c:998:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 998 | errorBell (); | ^ fep_edit.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | forward_to_end_of_n_Word (n) | ^ fep_edit.c:1020:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1020 | delete_previous_character() | ^ | int fep_edit.c:1023:13: warning: call to undeclared function 'delete_previous_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1023 | return (delete_previous_n_character (1)); | ^ fep_edit.c:1029:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1029 | delete_previous_n_character(n) | ^ | int fep_edit.c:1036:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | errorBell (); | ^ fep_edit.c:1050:18: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1050 | deleteArea = howlong (&CommandLine[CurrentPosition - nbyte], nbyte); | ^ fep_edit.c:1054:5: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1054 | repeat(BS, deleteArea); | ^ fep_edit.c:1060:2: warning: call to undeclared function 'putChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1060 | putChar (CommandLine[i]); | ^ fep_edit.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | delete_previous_n_character(n) | ^ fep_edit.c:1076:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1076 | delete_previous_word() | ^ | int fep_edit.c:1079:13: warning: call to undeclared function 'delete_previous_n_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1079 | return (delete_previous_n_word (1)); | ^ fep_edit.c:1085:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1085 | delete_previous_n_word(n) | ^ | int fep_edit.c:1091:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1091 | errorBell(); | ^ fep_edit.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | delete_previous_n_word(n) | ^ fep_edit.c:1137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1137 | delete_previous_Word() | ^ | int fep_edit.c:1140:13: warning: call to undeclared function 'delete_previous_n_Word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1140 | return (delete_previous_n_Word (1)); | ^ fep_edit.c:1146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1146 | delete_previous_n_Word(n) | ^ | int fep_edit.c:1152:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1152 | errorBell(); | ^ fep_edit.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | delete_previous_n_Word(n) | ^ fep_edit.c:1198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1198 | delete_next_character () | ^ | int fep_edit.c:1201:13: warning: call to undeclared function 'delete_next_n_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1201 | return (delete_next_n_character (1)); | ^ fep_edit.c:1207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1207 | delete_next_n_character (n) | ^ | int fep_edit.c:1214:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1214 | errorBell (); | ^ fep_edit.c:1233:18: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1233 | deleteArea = howlong (&CommandLine[CurrentPosition], nbyte); | ^ fep_edit.c:1241:2: warning: call to undeclared function 'putChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1241 | putChar (CommandLine[i]); | ^ fep_edit.c:1244:5: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1244 | repeat(SP, deleteArea); | ^ fep_edit.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | delete_next_n_character (n) | ^ fep_edit.c:1257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1257 | delete_next_word () | ^ | int fep_edit.c:1259:13: warning: call to undeclared function 'delete_next_n_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1259 | return (delete_next_n_word (1)); | ^ fep_edit.c:1265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1265 | delete_next_n_word (n) | ^ | int fep_edit.c:1271:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1271 | errorBell (); | ^ fep_edit.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | delete_next_n_word (n) | ^ fep_edit.c:1291:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1291 | delete_next_Word () | ^ | int fep_edit.c:1293:13: warning: call to undeclared function 'delete_next_n_Word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1293 | return (delete_next_n_Word (1)); | ^ fep_edit.c:1299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1299 | delete_next_n_Word (n) | ^ | int fep_edit.c:1305:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1305 | errorBell (); | ^ fep_edit.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | delete_next_n_Word (n) | ^ fep_edit.c:1325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1325 | delete_line() | ^ | int fep_edit.c:1330:11: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1330 | len = howlong (CommandLine, 0); | ^ fep_edit.c:1338:2: warning: call to undeclared function 'repeat_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1338 | repeat_string ("\b \b", len); | ^ fep_edit.c:1348:2: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1348 | repeat (SP, len); | ^ fep_edit.c:1360:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1360 | kill_to_top_of_line() | ^ | int fep_edit.c:1371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1371 | kill_to_end_of_line() | ^ | int fep_edit.c:1397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1397 | insert_tab() | ^ | int fep_edit.c:1407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1407 | new_line() | ^ | int fep_edit.c:1421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1421 | is_tol() | ^ | int fep_edit.c:1429:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1429 | is_eol() | ^ | int fep_edit.c:1437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1437 | refer_history() | ^ | int fep_edit.c:1445:30: warning: passing arguments to 'historyExtract' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | if (his = historyExtract (CommandLine)) { | ^ fep_edit.c:1445:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1445 | if (his = historyExtract (CommandLine)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1445:13: note: place parentheses around the assignment to silence this warning 1445 | if (his = historyExtract (CommandLine)) { | ^ | ( ) fep_edit.c:1445:13: note: use '==' to turn this assignment into an equality comparison 1445 | if (his = historyExtract (CommandLine)) { | ^ | == fep_edit.c:1456:5: warning: call to undeclared function 'print_com_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1456 | print_com_line (); | ^ fep_edit.c:1463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1463 | search_reverse () | ^ | int fep_edit.c:1465:13: warning: call to undeclared function 'search_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1465 | return (search_history (REVERSE)); | ^ fep_edit.c:1468:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1468 | search_forward () | ^ | int fep_edit.c:1470:13: warning: call to undeclared function 'search_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1470 | return (search_history (FORWARD)); | ^ fep_edit.c:1473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1473 | search_history (direct) | ^ | int fep_edit.c:1485:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | if (his = (*func) (0)) { | ^ fep_edit.c:1485:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1485 | if (his = (*func) (0)) { | ~~~~^~~~~~~~~~~~~ fep_edit.c:1485:13: note: place parentheses around the assignment to silence this warning 1485 | if (his = (*func) (0)) { | ^ | ( ) fep_edit.c:1485:13: note: use '==' to turn this assignment into an equality comparison 1485 | if (his = (*func) (0)) { | ^ | == fep_edit.c:1486:6: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1486 | if (eq (his, CommandLine)) | ^ ./fep_defs.h:26:19: note: expanded from macro 'eq' 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^ fep_edit.c:1486:6: note: include the header or explicitly provide a declaration for 'strcmp' ./fep_defs.h:26:19: note: expanded from macro 'eq' 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^ fep_edit.c:1494:9: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1494 | (void) errorBell (); | ^ fep_edit.c:1496:15: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | if (look_var ("verbose")) { | ^ fep_edit.c:1499:25: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | if ((cp = look_var ("search-string")) == NULL) | ^ fep_edit.c:1501:13: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1501 | (void) clear_edit_line (); | ^ fep_edit.c:1503:13: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1503 | (void) recover_edit_line (1); | ^ fep_edit.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | search_history (direct) | ^ fep_edit.c:1514:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1514 | insert_and_flush(c) | ^ | int fep_edit.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from fep_edit.c:33: ./fep_funcs.h:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | int insert_and_flush(); | ^ fep_edit.c:1525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1525 | send_eof() | ^ | int fep_edit.c:1544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1544 | alarm_on_eof () | ^ | int fep_edit.c:1547:5: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1547 | errorBell (); | ^ fep_edit.c:1548:12: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1548 | (void) clear_edit_line (); | ^ fep_edit.c:1550:12: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1550 | (void) recover_edit_line (1); | ^ fep_edit.c:1551:1: warning: non-void function does not return a value [-Wreturn-type] 1551 | } | ^ fep_edit.c:1556:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1556 | clear_screen() | ^ | int fep_edit.c:1560:9: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1560 | (void) clear_edit_line (); | ^ fep_edit.c:1562:9: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1562 | (void) recover_edit_line (1); | ^ fep_edit.c:1565:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1565 | errorBell (); | ^ fep_edit.c:1576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1576 | next_history() | ^ | int fep_edit.c:1578:13: warning: call to undeclared function 'serv_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1578 | return (serv_history (HOP_REPLACE, HDIR_NEXT)); | ^ fep_edit.c:1584:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1584 | previous_history() | ^ | int fep_edit.c:1586:13: warning: call to undeclared function 'serv_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1586 | return (serv_history (HOP_REPLACE, HDIR_PREV)); | ^ fep_edit.c:1592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1592 | insert_current_history() | ^ | int fep_edit.c:1594:13: warning: call to undeclared function 'serv_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1594 | return (serv_history (HOP_INSERT, HDIR_CURRENT)); | ^ fep_edit.c:1600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1600 | insert_next_history() | ^ | int fep_edit.c:1602:13: warning: call to undeclared function 'serv_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1602 | return (serv_history (HOP_INSERT, HDIR_NEXT)); | ^ fep_edit.c:1608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1608 | insert_previous_history() | ^ | int fep_edit.c:1610:13: warning: call to undeclared function 'serv_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1610 | return (serv_history (HOP_INSERT, HDIR_PREV)); | ^ fep_edit.c:1616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1616 | serv_history(op, dir) | ^ | int fep_edit.c:1632:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1632 | errorBell (); | ^ fep_edit.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | serv_history(op, dir) | ^ fep_edit.c:1645:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1645 | show_history() | ^ | int fep_edit.c:1648:12: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1648 | (void) clear_edit_line (); | ^ fep_edit.c:1649:5: warning: call to undeclared function 'hist_showHistory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1649 | hist_showHistory (lookd_var ("showhist")); | ^ fep_edit.c:1649:23: warning: call to undeclared function 'lookd_var'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1649 | hist_showHistory (lookd_var ("showhist")); | ^ fep_edit.c:1650:12: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1650 | (void) recover_edit_line (1); | ^ fep_edit.c:1651:1: warning: non-void function does not return a value [-Wreturn-type] 1651 | } | ^ fep_edit.c:1656:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1656 | ignore() | ^ | int fep_edit.c:1664:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1664 | literal_next() | ^ | int fep_edit.c:1667:26: warning: call to undeclared function 'getcharacter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1667 | return (self_insert (getcharacter ())); | ^ fep_edit.c:1673:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1673 | reprint() | ^ | int fep_edit.c:1676:12: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1676 | (void) clear_edit_line (); | ^ fep_edit.c:1677:12: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1677 | (void) recover_edit_line (1); | ^ fep_edit.c:1684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1684 | print_com_line() | ^ | int fep_edit.c:1687:5: warning: call to undeclared function 'printS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1687 | printS (CommandLine); | ^ fep_edit.c:1689:2: warning: call to undeclared function 'repeat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1689 | repeat (BS, howlong(&CommandLine[CurrentPosition + 1], 0)); | ^ fep_edit.c:1689:14: warning: call to undeclared function 'howlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1689 | repeat (BS, howlong(&CommandLine[CurrentPosition + 1], 0)); | ^ fep_edit.c:1692:1: warning: non-void function does not return a value [-Wreturn-type] 1692 | } | ^ fep_edit.c:1697:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1697 | howlong(s, n) | ^ | int fep_edit.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fep_edit.c:1718:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1718 | repeat(c, n) | ^ | int fep_edit.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fep_edit.c:1724:1: warning: non-void function does not return a value [-Wreturn-type] 1724 | } | ^ fep_edit.c:1729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1729 | repeat_string(s, n) | ^ | int fep_edit.c:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fep_edit.c:1735:1: warning: non-void function does not return a value [-Wreturn-type] 1735 | } | ^ fep_edit.c:1740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1740 | expand_file_name () | ^ | int fep_edit.c:1762:9: warning: call to undeclared function 'any'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1762 | if (any ('/', cp)) { | ^ fep_edit.c:1770:27: warning: passing arguments to 'x_opendir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | if ((dirp = x_opendir (dir)) == NULL) { | ^ fep_edit.c:1771:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1771 | errorBell (); | ^ fep_edit.c:1783:6: warning: call to undeclared function 'prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1783 | if (prefix (cp, dp->d_name)) { | ^ fep_edit.c:1803:42: warning: passing arguments to 'look_var' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | if (*start_expand == '~' && look_var ("expand-tilde")) { | ^ fep_edit.c:1807:16: warning: passing arguments to 'x_dirname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | p = x_dirname (buf); | ^ fep_edit.c:1811:38: warning: passing arguments to 'x_dirname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | (void) insert_string (x_dirname (buf)); | ^ fep_edit.c:1820:3: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1820 | errorBell (); | ^ fep_edit.c:1835:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1835 | for (i = 1; other = fileList [i]; i++) { | ~~~~~~^~~~~~~~~~~~~~ fep_edit.c:1835:21: note: place parentheses around the assignment to silence this warning 1835 | for (i = 1; other = fileList [i]; i++) { | ^ | ( ) fep_edit.c:1835:21: note: use '==' to turn this assignment into an equality comparison 1835 | for (i = 1; other = fileList [i]; i++) { | ^ | == fep_edit.c:1860:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1860 | list_file_name () | ^ | int fep_edit.c:1893:9: warning: call to undeclared function 'any'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1893 | if (any ('/', cp)) { | ^ fep_edit.c:1902:27: warning: passing arguments to 'x_opendir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | if ((dirp = x_opendir (dir)) == NULL) { | ^ fep_edit.c:1903:2: warning: call to undeclared function 'errorBell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1903 | errorBell (); | ^ fep_edit.c:1907:12: warning: call to undeclared function 'clear_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1907 | (void) clear_edit_line(); | ^ fep_edit.c:1908:5: warning: call to undeclared function 'ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1908 | ls (dirp, cp); | ^ fep_edit.c:1910:12: warning: call to undeclared function 'recover_edit_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1910 | (void) recover_edit_line (1); | ^ fep_edit.c:1917:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1917 | clear_edit_line () | ^ | int fep_edit.c:1921:2: warning: non-void function 'clear_edit_line' should return a value [-Wreturn-mismatch] 1921 | return; | ^ fep_edit.c:1926:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1926 | } | ^ fep_edit.c:1928:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1928 | recover_edit_line (put_prompt) | ^ | int fep_edit.c:1933:2: warning: non-void function 'recover_edit_line' should return a value [-Wreturn-mismatch] 1933 | return; | ^ fep_edit.c:1936:2: warning: non-void function 'recover_edit_line' should return a value [-Wreturn-mismatch] 1936 | return; | ^ fep_edit.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | recover_edit_line (put_prompt) | ^ fep_edit.c:1942:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1942 | } | ^ fep_edit.c:1949:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1949 | ls (dirp, prefixstring) | ^ | int fep_edit.c:1976:6: warning: call to undeclared function 'prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1976 | if (prefix (prefixstring, dp->d_name)) { | ^ fep_edit.c:2026:5: warning: non-void function 'ls' should return a value [-Wreturn-mismatch] 2026 | return; | ^ fep_edit.c:1949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1949 | ls (dirp, prefixstring) | ^ fep_edit.c:2074:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2074 | bind_key (ft, func, s, dfunc) | ^ | int fep_edit.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fep_main.o --- 97 warnings generated. --- fep_hist.o --- clang -pipe -Os -Wno-error=return-type -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_hist.c fep_hist.c:12:10: fatal error: 're_comp.h' file not found 12 | #include | ^~~~~~~~~~~ 1 error generated. *** [fep_hist.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/misc/fep/work --- fep_edit.o --- 278 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/misc/fep/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fep *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fep