=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/fep", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for fep-1.0nb3 cd /home/pbulk/work/misc/fep/work && for i in *.[ch]; do /usr/bin/sed "s,#endif lint,#endif /* lint */,g" ${i} > ${i}.new && /usr/bin/mv -f ${i}.new ${i}; done --- fep_main.o --- --- fep_edit.o --- --- fep_main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_main.c --- fep_edit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_edit.c fep_edit.c:113:1: error: return type defaults to 'int' [-Wimplicit-int] 113 | init_bind_table () | ^~~~~~~~~~~~~~~ fep_edit.c:129:1: error: return type defaults to 'int' [-Wimplicit-int] 129 | init_edit_params () | ^~~~~~~~~~~~~~~~ fep_edit.c: In function 'init_edit_params': fep_edit.c:136:13: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 136 | if (tgetent (sbuf, term) == 1) { | ^~~~~~~ | getenv fep_edit.c:138:25: error: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 138 | lines = tgetnum ("li"); | ^~~~~~~ fep_edit.c:151:5: error: implicit declaration of function 'set_var' [-Wimplicit-function-declaration] 151 | set_var ("crt", sbuf); | ^~~~~~~ --- fep_main.o --- fep_main.c:122:1: error: return type defaults to 'int' [-Wimplicit-int] 122 | main(argc, argv) | ^~~~ fep_main.c: In function 'main': fep_main.c:141:5: error: implicit declaration of function 'init_bind_table' [-Wimplicit-function-declaration] 141 | init_bind_table (); | ^~~~~~~~~~~~~~~ --- fep_edit.o --- fep_edit.c:160:26: error: implicit declaration of function 'itoa' [-Wimplicit-function-declaration] 160 | set_var ("showhist", itoa (lines - 1)); | ^~~~ fep_edit.c:165:5: error: implicit declaration of function 'sourceRcFile' [-Wimplicit-function-declaration] 165 | sourceRcFile (); | ^~~~~~~~~~~~ fep_edit.c:177:17: error: implicit declaration of function 'read_history'; did you mean 'fep_history'? [-Wimplicit-function-declaration] 177 | read_history (cp); | ^~~~~~~~~~~~ | fep_history fep_edit.c:190:12: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 190 | (void) strcpy (CommandLine, ""); | ^~~~~~ fep_edit.c:34:1: note: include '' or provide a declaration of 'strcpy' 33 | #include "fep_funcs.h" +++ |+#include 34 | fep_edit.c:190:12: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 190 | (void) strcpy (CommandLine, ""); | ^~~~~~ fep_edit.c:190:12: note: include '' or provide a declaration of 'strcpy' fep_edit.c: At top level: fep_edit.c:198:1: error: return type defaults to 'int' [-Wimplicit-int] 198 | initEmacsBindings (cft, aft) | ^~~~~~~~~~~~~~~~~ fep_edit.c: In function 'initEmacsBindings': fep_edit.c:261:9: error: implicit declaration of function 'bind_key'; did you mean 'bind_to_key'? [-Wimplicit-function-declaration] 261 | bind_key (cft, ftp->bt_func, ftp->bt_s, fep_abort); | ^~~~~~~~ | bind_to_key fep_edit.c: In function 'get_line': fep_edit.c:276:12: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 276 | (void) strcpy (CommandLine, ""); | ^~~~~~ fep_edit.c:276:12: note: include '' or provide a declaration of 'strcpy' fep_edit.c:278:5: error: implicit declaration of function 'resetCurrentHistory'; did you mean 'insert_current_history'? [-Wimplicit-function-declaration] 278 | resetCurrentHistory (); | ^~~~~~~~~~~~~~~~~~~ | insert_current_history fep_edit.c:297:9: error: implicit declaration of function 'swallow_output' [-Wimplicit-function-declaration] 297 | swallow_output(); | ^~~~~~~~~~~~~~ fep_edit.c:307:13: error: implicit declaration of function 'errorBell' [-Wimplicit-function-declaration] 307 | errorBell (); | ^~~~~~~~~ fep_edit.c:318:17: error: implicit declaration of function 'getcharacter' [-Wimplicit-function-declaration] 318 | while ((c = getcharacter ()) >= (CHAR) 0) { | ^~~~~~~~~~~~ --- fep_main.o --- fep_main.c:146:5: error: implicit declaration of function 'set_default_vars' [-Wimplicit-function-declaration] 146 | set_default_vars (); | ^~~~~~~~~~~~~~~~ In file included from fep_main.c:31: fep_defs.h:26:26: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^~~~~~ fep_main.c:153:37: note: in expansion of macro 'eq' 153 | if ((cp=getenv("EDITMODE")) && (eq(cp,"emacs")||eq(cp,"vi"))) | ^~ fep_main.c:34:1: note: include '' or provide a declaration of 'strcmp' 33 | #include "fep_funcs.h" +++ |+#include 34 | #ifdef STAT fep_main.c:154:9: error: implicit declaration of function 'set_only_var' [-Wimplicit-function-declaration] 154 | set_only_var ("editmode", cp); | ^~~~~~~~~~~~ --- fep_edit.o --- fep_edit.c:354:26: error: implicit declaration of function 'alarm_on_eof' [-Wimplicit-function-declaration] 354 | status = alarm_on_eof (c); | ^~~~~~~~~~~~ fep_edit.c:361:22: error: implicit declaration of function 'callfunc'; did you mean 'calloc'? [-Wimplicit-function-declaration] 361 | status = callfunc (curFuncTab, c); | ^~~~~~~~ | calloc fep_edit.c:377:9: error: implicit declaration of function 'refer_history'; did you mean 'fep_history'? [-Wimplicit-function-declaration] 377 | if (refer_history () == PROCESSED) | ^~~~~~~~~~~~~ | fep_history fep_edit.c:396:9: error: implicit declaration of function 'executeBuiltInFunction' [-Wimplicit-function-declaration] 396 | if (executeBuiltInFunction (execute_command, &remained) == PROCESSED) { | ^~~~~~~~~~~~~~~~~~~~~~ --- fep_main.o --- fep_main.c:194:25: error: implicit declaration of function 'usageAndExit' [-Wimplicit-function-declaration] 194 | usageAndExit (); | ^~~~~~~~~~~~ --- fep_edit.o --- fep_edit.c:398:13: error: implicit declaration of function 'addHistory' [-Wimplicit-function-declaration] 398 | addHistory (CommandLine); | ^~~~~~~~~~ --- fep_main.o --- fep_main.c:234:5: error: implicit declaration of function 'look_cmdinfo' [-Wimplicit-function-declaration] 234 | look_cmdinfo (argv[1]); | ^~~~~~~~~~~~ fep_main.c:242:13: error: implicit declaration of function 'any' [-Wimplicit-function-declaration] 242 | if (any ('/', cp)) | ^~~ fep_main.c:244:9: error: implicit declaration of function 'set_var' [-Wimplicit-function-declaration] 244 | set_var (cp, "1"); | ^~~~~~~ fep_main.c:251:9: error: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 251 | execvp (*commandv, commandv, 0); | ^~~~~~ fep_main.c:251:9: warning: too many arguments to built-in function 'execvp' expecting 2 [-Wbuiltin-declaration-mismatch] --- fep_edit.o --- fep_edit.c:412:14: error: implicit declaration of function 'is_empty_line' [-Wimplicit-function-declaration] 412 | if (!is_empty_line (CommandLine) || !look_var ("ignore-empty-line")) | ^~~~~~~~~~~~~ --- fep_main.o --- fep_main.c:256:5: error: implicit declaration of function 'get_pty_master' [-Wimplicit-function-declaration] 256 | get_pty_master (); | ^~~~~~~~~~~~~~ fep_main.c:257:5: error: implicit declaration of function 'fix_tty' [-Wimplicit-function-declaration] 257 | fix_tty (); | ^~~~~~~ --- fep_edit.o --- fep_edit.c:418:9: error: implicit declaration of function 'buf_put'; did you mean 'buf_count'? [-Wimplicit-function-declaration] 418 | buf_put (output_buffer, CommandLine); | ^~~~~~~ | buf_count fep_edit.c:424:16: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 424 | (void) strcat (execute_command, "\n"); | ^~~~~~ fep_edit.c:424:16: note: include '' or provide a declaration of 'strcat' fep_edit.c:424:16: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] fep_edit.c:424:16: note: include '' or provide a declaration of 'strcat' fep_edit.c: At top level: fep_edit.c:434:1: error: return type defaults to 'int' [-Wimplicit-int] 434 | callfunc (ft, c) | ^~~~~~~~ fep_edit.c:453:1: error: return type defaults to 'int' [-Wimplicit-int] 453 | fep_abort() | ^~~~~~~~~ --- fep_main.o --- fep_main.c:266:5: error: implicit declaration of function 'init_hist' [-Wimplicit-function-declaration] 266 | init_hist (histlen); | ^~~~~~~~~ --- fep_edit.o --- fep_edit.c:462:1: error: return type defaults to 'int' [-Wimplicit-int] 462 | self_insert(c) | ^~~~~~~~~~~ fep_edit.c: In function 'self_insert': fep_edit.c:470:19: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 470 | currentNull = strlen (CommandLine); | ^~~~~~ fep_edit.c:470:19: note: include '' or provide a declaration of 'strlen' fep_edit.c:470:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] fep_edit.c:470:19: note: include '' or provide a declaration of 'strlen' fep_edit.c:488:9: error: implicit declaration of function 'putChar'; did you mean 'putchar'? [-Wimplicit-function-declaration] 488 | putChar (c); | ^~~~~~~ | putchar fep_edit.c:489:5: error: implicit declaration of function 'reverse_strcpy' [-Wimplicit-function-declaration] 489 | reverse_strcpy ( | ^~~~~~~~~~~~~~ --- fep_main.o --- fep_main.c:267:5: error: implicit declaration of function 'init_edit_params' [-Wimplicit-function-declaration] 267 | init_edit_params (); | ^~~~~~~~~~~~~~~~ fep_main.c:277:14: error: implicit declaration of function 'set_buffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 277 | if (!set_buffer (output_buffer, size)) { | ^~~~~~~~~~ | setbuffer --- fep_edit.o --- fep_edit.c:500:5: error: implicit declaration of function 'printS'; did you mean 'printf'? [-Wimplicit-function-declaration] 500 | printS (&CommandLine [CurrentPosition]); | ^~~~~~ | printf fep_edit.c:503:9: error: implicit declaration of function 'repeat' [-Wimplicit-function-declaration] 503 | repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0)); | ^~~~~~ --- fep_main.o --- fep_main.c:279:13: error: implicit declaration of function 'kill_process' [-Wimplicit-function-declaration] 279 | kill_process (); | ^~~~~~~~~~~~ fep_main.c:285:21: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 285 | child_pid = fork (); | ^~~~ --- fep_edit.o --- fep_edit.c:503:21: error: implicit declaration of function 'howlong' [-Wimplicit-function-declaration] 503 | repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0)); | ^~~~~~~ fep_edit.c: At top level: fep_edit.c:512:1: error: return type defaults to 'int' [-Wimplicit-int] 512 | insert_string (s) | ^~~~~~~~~~~~~ fep_edit.c: In function 'insert_string': fep_edit.c:515:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 515 | register int i, nbyte = strlen (s), currentNull; | ^~~~~~ fep_edit.c:515:29: note: include '' or provide a declaration of 'strlen' fep_edit.c:531:5: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 531 | bcopy (s, &CommandLine[CurrentPosition], nbyte); | ^~~~~ fep_edit.c:531:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] fep_edit.c: At top level: fep_edit.c:544:1: error: return type defaults to 'int' [-Wimplicit-int] 544 | yank_from_kill_buffer () | ^~~~~~~~~~~~~~~~~~~~~ fep_edit.c:552:1: error: return type defaults to 'int' [-Wimplicit-int] 552 | mark () | ^~~~ --- fep_main.o --- fep_main.c:292:13: error: implicit declaration of function 'exec_to_command' [-Wimplicit-function-declaration] 292 | exec_to_command (commandv); | ^~~~~~~~~~~~~~~ fep_main.c:294:5: error: implicit declaration of function 'fix_signal'; did you mean 'bsd_signal'? [-Wimplicit-function-declaration] 294 | fix_signal (); | ^~~~~~~~~~ | bsd_signal --- fep_edit.o --- fep_edit.c: In function 'mark': fep_edit.c:554:5: error: implicit declaration of function 'set_mark' [-Wimplicit-function-declaration] 554 | set_mark (CurrentPosition); | ^~~~~~~~ fep_edit.c: At top level: fep_edit.c:561:1: error: return type defaults to 'int' [-Wimplicit-int] 561 | set_mark (pos) | ^~~~~~~~ fep_edit.c:571:1: error: return type defaults to 'int' [-Wimplicit-int] 571 | delete_to_kill_buffer () | ^~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_to_kill_buffer': fep_edit.c:581:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 581 | return; | ^~~~~~ fep_edit.c:571:1: note: declared here 571 | delete_to_kill_buffer () | ^~~~~~~~~~~~~~~~~~~~~ fep_edit.c:584:16: error: implicit declaration of function 'moveto' [-Wimplicit-function-declaration] 584 | (void) moveto (MarkPosition); | ^~~~~~ fep_edit.c:587:13: error: implicit declaration of function 'delete_next_n_character'; did you mean 'delete_next_character'? [-Wimplicit-function-declaration] 587 | return (delete_next_n_character (n)); | ^~~~~~~~~~~~~~~~~~~~~~~ | delete_next_character fep_edit.c: At top level: fep_edit.c:593:1: error: return type defaults to 'int' [-Wimplicit-int] 593 | moveto (position) | ^~~~~~ fep_edit.c: In function 'moveto': fep_edit.c:593:1: error: type of 'position' defaults to 'int' [-Wimplicit-int] fep_edit.c:597:20: error: implicit declaration of function 'backward_n_character'; did you mean 'backward_character'? [-Wimplicit-function-declaration] 597 | (void) backward_n_character (1); | ^~~~~~~~~~~~~~~~~~~~ | backward_character --- fep_main.o --- fep_main.c:296:5: error: implicit declaration of function 'input_handler'; did you mean 'sa_handler'? [-Wimplicit-function-declaration] 296 | input_handler (); | ^~~~~~~~~~~~~ | sa_handler fep_main.c: At top level: fep_main.c:299:1: error: return type defaults to 'int' [-Wimplicit-int] 299 | fix_signal () | ^~~~~~~~~~ fep_main.c:313:1: error: return type defaults to 'int' [-Wimplicit-int] 313 | recover_signal () | ^~~~~~~~~~~~~~ fep_main.c:321:1: error: return type defaults to 'int' [-Wimplicit-int] 321 | input_handler() | ^~~~~~~~~~~~~ fep_main.c: In function 'input_handler': fep_main.c:339:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ --- fep_edit.o --- fep_edit.c:605:20: error: implicit declaration of function 'forward_n_character'; did you mean 'forward_character'? [-Wimplicit-function-declaration] 605 | (void) forward_n_character (1); | ^~~~~~~~~~~~~~~~~~~ | forward_character fep_edit.c: At top level: fep_edit.c:611:1: error: return type defaults to 'int' [-Wimplicit-int] 611 | beginning_of_line() | ^~~~~~~~~~~~~~~~~ fep_edit.c:635:1: error: return type defaults to 'int' [-Wimplicit-int] 635 | end_of_line() | ^~~~~~~~~~~ fep_edit.c:654:1: error: return type defaults to 'int' [-Wimplicit-int] 654 | backward_character() | ^~~~~~~~~~~~~~~~~~ fep_edit.c:663:1: error: return type defaults to 'int' [-Wimplicit-int] 663 | backward_n_character(n) | ^~~~~~~~~~~~~~~~~~~~ fep_edit.c:699:1: error: return type defaults to 'int' [-Wimplicit-int] 699 | backward_word () | ^~~~~~~~~~~~~ fep_edit.c: In function 'backward_word': --- fep_main.o --- fep_main.c:339:35: note: include '' or provide a declaration of 'strlen' 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:339:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:339:35: note: include '' or provide a declaration of 'strlen' 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) --- fep_edit.o --- fep_edit.c:702:13: error: implicit declaration of function 'backward_n_word'; did you mean 'backward_word'? [-Wimplicit-function-declaration] 702 | return (backward_n_word (1)); | ^~~~~~~~~~~~~~~ | backward_word fep_edit.c: At top level: fep_edit.c:708:1: error: return type defaults to 'int' [-Wimplicit-int] 708 | backward_n_word (n) | ^~~~~~~~~~~~~~~ fep_edit.c:760:1: error: return type defaults to 'int' [-Wimplicit-int] 760 | backward_Word () | ^~~~~~~~~~~~~ fep_edit.c: In function 'backward_Word': fep_edit.c:763:13: error: implicit declaration of function 'backward_n_Word'; did you mean 'backward_n_word'? [-Wimplicit-function-declaration] 763 | return (backward_n_Word (1)); | ^~~~~~~~~~~~~~~ | backward_n_word fep_edit.c: At top level: fep_edit.c:769:1: error: return type defaults to 'int' [-Wimplicit-int] 769 | backward_n_Word (n) | ^~~~~~~~~~~~~~~ --- fep_main.o --- | ^ fep_main.c:344:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 344 | write (master, inputline, nbyte); | ^~~~~ | fwrite fep_main.c: At top level: fep_main.c:406:1: error: return type defaults to 'int' [-Wimplicit-int] 406 | getcharacter() | ^~~~~~~~~~~~ In file included from /usr/include/sys/types.h:687, from /usr/include/signal.h:39, from fep_main.c:9: fep_main.c: In function 'getcharacter': fep_main.c:421:5: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 421 | FD_ZERO(&writefd); | ^~~~~~~ fep_main.c:421:5: note: include '' or provide a declaration of 'memset' fep_main.c:445:17: error: implicit declaration of function 'buf_read'; did you mean 'fread'? [-Wimplicit-function-declaration] 445 | nbyte = buf_read (master, output_buffer); | ^~~~~~~~ | fread fep_main.c: In function 'buf_read': fep_main.c:565:13: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 565 | nbyte = read (fd, bp->b_buf + bp->b_next, bp->b_max - bp->b_next); | ^~~~ | fread fep_main.c: At top level: fep_main.c:591:1: error: return type defaults to 'int' [-Wimplicit-int] 591 | buf_put (bp, s) | ^~~~~~~ fep_main.c: In function 'buf_put': fep_main.c:598:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 598 | nbyte = strlen (s); | ^~~~~~ fep_main.c:598:13: note: include '' or provide a declaration of 'strlen' fep_main.c:603:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 603 | strncpy (bp->b_buf + bp->b_next, s, slen); | ^~~~~~~ fep_main.c:603:9: note: include '' or provide a declaration of 'strncpy' fep_main.c:603:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] fep_main.c:603:9: note: include '' or provide a declaration of 'strncpy' fep_main.c: At top level: fep_main.c:618:1: error: return type defaults to 'int' [-Wimplicit-int] 618 | swallow_output() | ^~~~~~~~~~~~~~ fep_main.c: In function 'swallow_output': fep_main.c:652:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 652 | return; | ^~~~~~ fep_main.c:618:1: note: declared here 618 | swallow_output() | ^~~~~~~~~~~~~~ fep_main.c: In function 'catchsig': fep_main.c:671:13: error: implicit declaration of function 'message' [-Wimplicit-function-declaration] 671 | message ("Child has stopped!!\n"); | ^~~~~~~ fep_main.c: At top level: fep_main.c:679:1: error: return type defaults to 'int' [-Wimplicit-int] 679 | exec_to_command(argv) | ^~~~~~~~~~~~~~~ fep_main.c: In function 'exec_to_command': fep_main.c:689:9: error: implicit declaration of function 'ioctl'; did you mean 'toctrl'? [-Wimplicit-function-declaration] 689 | ioctl (t, TIOCNOTTY, (char *) 0); | ^~~~~ | toctrl fep_main.c:690:16: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 690 | (void) close (t); | ^~~~~ | pclose fep_main.c:693:5: error: implicit declaration of function 'get_pty_slave' [-Wimplicit-function-declaration] 693 | get_pty_slave (); | ^~~~~~~~~~~~~ fep_main.c:706:5: warning: too many arguments to built-in function 'execvp' expecting 2 [-Wbuiltin-declaration-mismatch] 706 | execvp (*argv, argv, 0); | ^~~~~~ fep_main.c: At top level: fep_main.c:712:1: error: return type defaults to 'int' [-Wimplicit-int] 712 | fix_tty() | ^~~~~~~ fep_main.c:771:1: error: return type defaults to 'int' [-Wimplicit-int] 771 | kill_process() | ^~~~~~~~~~~~ fep_main.c: In function 'terminate': fep_main.c:793:19: error: implicit declaration of function 'lookd_var'; did you mean 'look_var'? [-Wimplicit-function-declaration] 793 | num = lookd_var ("savehist"); | ^~~~~~~~~ | look_var fep_main.c:794:13: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 794 | strcpy (buf, mk_home_relative (cp)); | ^~~~~~ fep_main.c:794:13: note: include '' or provide a declaration of 'strcpy' fep_main.c:794:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] fep_main.c:794:13: note: include '' or provide a declaration of 'strcpy' fep_main.c:795:13: error: implicit declaration of function 'save_history'; did you mean 'show_history'? [-Wimplicit-function-declaration] 795 | save_history (buf, num); | ^~~~~~~~~~~~ | show_history fep_main.c: At top level: fep_main.c:821:1: error: return type defaults to 'int' [-Wimplicit-int] 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c: In function 'get_pty_master': fep_main.c:829:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 829 | return; | ^~~~~~ fep_main.c:821:1: note: declared here 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c:861:15: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 861 | (void)strncpy (slave_tty, ptr, sizeof(slave_tty)); | ^~~~~~~ fep_main.c:861:15: note: include '' or provide a declaration of 'strncpy' fep_main.c:927:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 927 | return; | ^~~~~~ fep_main.c:821:1: note: declared here 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c: At top level: fep_main.c:930:1: error: return type defaults to 'int' [-Wimplicit-int] 930 | get_pty_slave() | ^~~~~~~~~~~~~ fep_main.c: In function 'get_pty_slave': fep_main.c:938:9: error: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 938 | if (setsid() == -1) | ^~~~~~ fep_main.c: At top level: fep_main.c:973:1: error: return type defaults to 'int' [-Wimplicit-int] 973 | recover_tty() | ^~~~~~~~~~~ fep_main.c:984:1: error: return type defaults to 'int' [-Wimplicit-int] 984 | suspend() | ^~~~~~~ fep_main.c: In function 'suspend': fep_main.c:990:11: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 990 | pid = getpid (); | ^~~~~~ | getpw fep_main.c: At top level: fep_main.c:1014:1: error: return type defaults to 'int' [-Wimplicit-int] 1014 | look_cmdinfo (command) | ^~~~~~~~~~~~ fep_main.c: In function 'look_cmdinfo': fep_main.c:1021:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1021 | return; | ^~~~~~ fep_main.c:1014:1: note: declared here 1014 | look_cmdinfo (command) | ^~~~~~~~~~~~ fep_main.c: At top level: fep_main.c:1034:1: error: return type defaults to 'int' [-Wimplicit-int] 1034 | usageAndExit() | ^~~~~~~~~~~~ fep_main.c: In function 'sigwinch': fep_main.c:1052:25: error: implicit declaration of function 'itoa' [-Wimplicit-function-declaration] 1052 | set_var ("crt", itoa (win.ws_row)); | ^~~~ *** [fep_main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/misc/fep/work --- fep_edit.o --- fep_edit.c:819:1: error: return type defaults to 'int' [-Wimplicit-int] 819 | forward_character() | ^~~~~~~~~~~~~~~~~ fep_edit.c:828:1: error: return type defaults to 'int' [-Wimplicit-int] 828 | forward_n_character(n) | ^~~~~~~~~~~~~~~~~~~ fep_edit.c:880:1: error: return type defaults to 'int' [-Wimplicit-int] 880 | forward_word () | ^~~~~~~~~~~~ fep_edit.c: In function 'forward_word': fep_edit.c:882:13: error: implicit declaration of function 'forward_n_word'; did you mean 'forward_word'? [-Wimplicit-function-declaration] 882 | return (forward_n_word (1)); | ^~~~~~~~~~~~~~ | forward_word fep_edit.c: At top level: fep_edit.c:888:1: error: return type defaults to 'int' [-Wimplicit-int] 888 | forward_n_word (n) | ^~~~~~~~~~~~~~ fep_edit.c:914:1: error: return type defaults to 'int' [-Wimplicit-int] 914 | forward_Word () | ^~~~~~~~~~~~ fep_edit.c: In function 'forward_Word': fep_edit.c:916:13: error: implicit declaration of function 'forward_n_Word'; did you mean 'forward_n_word'? [-Wimplicit-function-declaration] 916 | return (forward_n_Word (1)); | ^~~~~~~~~~~~~~ | forward_n_word fep_edit.c: At top level: fep_edit.c:922:1: error: return type defaults to 'int' [-Wimplicit-int] 922 | forward_n_Word (n) | ^~~~~~~~~~~~~~ fep_edit.c:948:1: error: return type defaults to 'int' [-Wimplicit-int] 948 | forward_to_end_of_word () | ^~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'forward_to_end_of_word': fep_edit.c:951:13: error: implicit declaration of function 'forward_to_end_of_n_word'; did you mean 'forward_to_end_of_word'? [-Wimplicit-function-declaration] 951 | return (forward_to_end_of_n_word (1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | forward_to_end_of_word fep_edit.c: At top level: fep_edit.c:957:1: error: return type defaults to 'int' [-Wimplicit-int] 957 | forward_to_end_of_n_word (n) | ^~~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'forward_to_end_of_n_word': fep_edit.c:957:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] fep_edit.c: At top level: fep_edit.c:984:1: error: return type defaults to 'int' [-Wimplicit-int] 984 | forward_to_end_of_Word () | ^~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'forward_to_end_of_Word': fep_edit.c:987:13: error: implicit declaration of function 'forward_to_end_of_n_Word'; did you mean 'forward_to_end_of_n_word'? [-Wimplicit-function-declaration] 987 | return (forward_to_end_of_n_Word (1)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | forward_to_end_of_n_word fep_edit.c: At top level: fep_edit.c:993:1: error: return type defaults to 'int' [-Wimplicit-int] 993 | forward_to_end_of_n_Word (n) | ^~~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'forward_to_end_of_n_Word': fep_edit.c:993:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] fep_edit.c: At top level: fep_edit.c:1020:1: error: return type defaults to 'int' [-Wimplicit-int] 1020 | delete_previous_character() | ^~~~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_previous_character': fep_edit.c:1023:13: error: implicit declaration of function 'delete_previous_n_character'; did you mean 'delete_previous_character'? [-Wimplicit-function-declaration] 1023 | return (delete_previous_n_character (1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | delete_previous_character fep_edit.c: At top level: fep_edit.c:1029:1: error: return type defaults to 'int' [-Wimplicit-int] 1029 | delete_previous_n_character(n) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_previous_n_character': fep_edit.c:1056:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1056 | strcpy (KillBuffer, &CommandLine [CurrentPosition]); | ^~~~~~ fep_edit.c:1056:5: note: include '' or provide a declaration of 'strcpy' fep_edit.c: At top level: fep_edit.c:1076:1: error: return type defaults to 'int' [-Wimplicit-int] 1076 | delete_previous_word() | ^~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_previous_word': fep_edit.c:1079:13: error: implicit declaration of function 'delete_previous_n_word'; did you mean 'delete_previous_word'? [-Wimplicit-function-declaration] 1079 | return (delete_previous_n_word (1)); | ^~~~~~~~~~~~~~~~~~~~~~ | delete_previous_word fep_edit.c: At top level: fep_edit.c:1085:1: error: return type defaults to 'int' [-Wimplicit-int] 1085 | delete_previous_n_word(n) | ^~~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1137:1: error: return type defaults to 'int' [-Wimplicit-int] 1137 | delete_previous_Word() | ^~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_previous_Word': fep_edit.c:1140:13: error: implicit declaration of function 'delete_previous_n_Word'; did you mean 'delete_previous_n_word'? [-Wimplicit-function-declaration] 1140 | return (delete_previous_n_Word (1)); | ^~~~~~~~~~~~~~~~~~~~~~ | delete_previous_n_word fep_edit.c: At top level: fep_edit.c:1146:1: error: return type defaults to 'int' [-Wimplicit-int] 1146 | delete_previous_n_Word(n) | ^~~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1198:1: error: return type defaults to 'int' [-Wimplicit-int] 1198 | delete_next_character () | ^~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1207:1: error: return type defaults to 'int' [-Wimplicit-int] 1207 | delete_next_n_character (n) | ^~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_next_n_character': fep_edit.c:1213:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1213 | if (strlen (&CommandLine [CurrentPosition]) < n) { | ^~~~~~ fep_edit.c:1213:9: note: include '' or provide a declaration of 'strlen' fep_edit.c:1237:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1237 | strcpy (KillBuffer, CommandLine + CurrentPosition); | ^~~~~~ fep_edit.c:1237:5: note: include '' or provide a declaration of 'strcpy' fep_edit.c: At top level: fep_edit.c:1257:1: error: return type defaults to 'int' [-Wimplicit-int] 1257 | delete_next_word () | ^~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_next_word': fep_edit.c:1259:13: error: implicit declaration of function 'delete_next_n_word'; did you mean 'delete_next_word'? [-Wimplicit-function-declaration] 1259 | return (delete_next_n_word (1)); | ^~~~~~~~~~~~~~~~~~ | delete_next_word fep_edit.c: At top level: fep_edit.c:1265:1: error: return type defaults to 'int' [-Wimplicit-int] 1265 | delete_next_n_word (n) | ^~~~~~~~~~~~~~~~~~ fep_edit.c:1291:1: error: return type defaults to 'int' [-Wimplicit-int] 1291 | delete_next_Word () | ^~~~~~~~~~~~~~~~ fep_edit.c: In function 'delete_next_Word': fep_edit.c:1293:13: error: implicit declaration of function 'delete_next_n_Word'; did you mean 'delete_next_n_word'? [-Wimplicit-function-declaration] 1293 | return (delete_next_n_Word (1)); | ^~~~~~~~~~~~~~~~~~ | delete_next_n_word fep_edit.c: At top level: fep_edit.c:1299:1: error: return type defaults to 'int' [-Wimplicit-int] 1299 | delete_next_n_Word (n) | ^~~~~~~~~~~~~~~~~~ fep_edit.c:1325:1: error: return type defaults to 'int' [-Wimplicit-int] 1325 | delete_line() | ^~~~~~~~~~~ fep_edit.c: In function 'delete_line': fep_edit.c:1338:9: error: implicit declaration of function 'repeat_string'; did you mean 'insert_string'? [-Wimplicit-function-declaration] 1338 | repeat_string ("\b \b", len); | ^~~~~~~~~~~~~ | insert_string fep_edit.c:1351:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1351 | strcpy (KillBuffer, CommandLine); | ^~~~~~ fep_edit.c:1351:5: note: include '' or provide a declaration of 'strcpy' fep_edit.c: At top level: fep_edit.c:1360:1: error: return type defaults to 'int' [-Wimplicit-int] 1360 | kill_to_top_of_line() | ^~~~~~~~~~~~~~~~~~~ fep_edit.c:1371:1: error: return type defaults to 'int' [-Wimplicit-int] 1371 | kill_to_end_of_line() | ^~~~~~~~~~~~~~~~~~~ fep_edit.c: In function 'kill_to_end_of_line': fep_edit.c:1389:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1389 | strcpy (KillBuffer, CommandLine + CurrentPosition); | ^~~~~~ fep_edit.c:1389:5: note: include '' or provide a declaration of 'strcpy' fep_edit.c: At top level: fep_edit.c:1397:1: error: return type defaults to 'int' [-Wimplicit-int] 1397 | insert_tab() | ^~~~~~~~~~ fep_edit.c:1407:1: error: return type defaults to 'int' [-Wimplicit-int] 1407 | new_line() | ^~~~~~~~ fep_edit.c:1421:1: error: return type defaults to 'int' [-Wimplicit-int] 1421 | is_tol() | ^~~~~~ fep_edit.c:1429:1: error: return type defaults to 'int' [-Wimplicit-int] 1429 | is_eol() | ^~~~~~ fep_edit.c:1437:1: error: return type defaults to 'int' [-Wimplicit-int] 1437 | refer_history() | ^~~~~~~~~~~~~ fep_edit.c: In function 'refer_history': fep_edit.c:1446:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1446 | (void) strcpy (CommandLine, his); | ^~~~~~ fep_edit.c:1446:16: note: include '' or provide a declaration of 'strcpy' fep_edit.c:1447:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1447 | CurrentPosition = strlen (CommandLine); | ^~~~~~ fep_edit.c:1447:27: note: include '' or provide a declaration of 'strlen' fep_edit.c:1452:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1452 | (void) strcpy (CommandLine, ""); | ^~~~~~ fep_edit.c:1452:16: note: include '' or provide a declaration of 'strcpy' fep_edit.c:1456:5: error: implicit declaration of function 'print_com_line' [-Wimplicit-function-declaration] 1456 | print_com_line (); | ^~~~~~~~~~~~~~ fep_edit.c: At top level: fep_edit.c:1463:1: error: return type defaults to 'int' [-Wimplicit-int] 1463 | search_reverse () | ^~~~~~~~~~~~~~ fep_edit.c: In function 'search_reverse': fep_edit.c:1465:13: error: implicit declaration of function 'search_history' [-Wimplicit-function-declaration] 1465 | return (search_history (REVERSE)); | ^~~~~~~~~~~~~~ fep_edit.c: At top level: fep_edit.c:1468:1: error: return type defaults to 'int' [-Wimplicit-int] 1468 | search_forward () | ^~~~~~~~~~~~~~ fep_edit.c:1473:1: error: return type defaults to 'int' [-Wimplicit-int] 1473 | search_history (direct) | ^~~~~~~~~~~~~~ In file included from fep_edit.c:31: fep_edit.c: In function 'search_history': fep_defs.h:26:26: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^~~~~~ fep_edit.c:1486:13: note: in expansion of macro 'eq' 1486 | if (eq (his, CommandLine)) | ^~ fep_defs.h:26:26: note: include '' or provide a declaration of 'strcmp' 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^~~~~~ fep_edit.c:1486:13: note: in expansion of macro 'eq' 1486 | if (eq (his, CommandLine)) | ^~ fep_edit.c:1491:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1491 | CurrentPosition = strlen (CommandLine); | ^~~~~~ fep_edit.c:1491:27: note: include '' or provide a declaration of 'strlen' fep_edit.c:1501:20: error: implicit declaration of function 'clear_edit_line' [-Wimplicit-function-declaration] 1501 | (void) clear_edit_line (); | ^~~~~~~~~~~~~~~ fep_edit.c:1503:20: error: implicit declaration of function 'recover_edit_line' [-Wimplicit-function-declaration] 1503 | (void) recover_edit_line (1); | ^~~~~~~~~~~~~~~~~ fep_edit.c: At top level: fep_edit.c:1514:1: error: return type defaults to 'int' [-Wimplicit-int] 1514 | insert_and_flush(c) | ^~~~~~~~~~~~~~~~ fep_edit.c:1525:1: error: return type defaults to 'int' [-Wimplicit-int] 1525 | send_eof() | ^~~~~~~~ fep_edit.c:1544:1: error: return type defaults to 'int' [-Wimplicit-int] 1544 | alarm_on_eof () | ^~~~~~~~~~~~ fep_edit.c:1556:1: error: return type defaults to 'int' [-Wimplicit-int] 1556 | clear_screen() | ^~~~~~~~~~~~ fep_edit.c:1576:1: error: return type defaults to 'int' [-Wimplicit-int] 1576 | next_history() | ^~~~~~~~~~~~ fep_edit.c: In function 'next_history': fep_edit.c:1578:13: error: implicit declaration of function 'serv_history'; did you mean 'search_history'? [-Wimplicit-function-declaration] 1578 | return (serv_history (HOP_REPLACE, HDIR_NEXT)); | ^~~~~~~~~~~~ | search_history fep_edit.c: At top level: fep_edit.c:1584:1: error: return type defaults to 'int' [-Wimplicit-int] 1584 | previous_history() | ^~~~~~~~~~~~~~~~ fep_edit.c:1592:1: error: return type defaults to 'int' [-Wimplicit-int] 1592 | insert_current_history() | ^~~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1600:1: error: return type defaults to 'int' [-Wimplicit-int] 1600 | insert_next_history() | ^~~~~~~~~~~~~~~~~~~ fep_edit.c:1608:1: error: return type defaults to 'int' [-Wimplicit-int] 1608 | insert_previous_history() | ^~~~~~~~~~~~~~~~~~~~~~~ fep_edit.c:1616:1: error: return type defaults to 'int' [-Wimplicit-int] 1616 | serv_history(op, dir) | ^~~~~~~~~~~~ fep_edit.c:1645:1: error: return type defaults to 'int' [-Wimplicit-int] 1645 | show_history() | ^~~~~~~~~~~~ fep_edit.c: In function 'show_history': fep_edit.c:1649:5: error: implicit declaration of function 'hist_showHistory' [-Wimplicit-function-declaration] 1649 | hist_showHistory (lookd_var ("showhist")); | ^~~~~~~~~~~~~~~~ fep_edit.c:1649:23: error: implicit declaration of function 'lookd_var'; did you mean 'look_var'? [-Wimplicit-function-declaration] 1649 | hist_showHistory (lookd_var ("showhist")); | ^~~~~~~~~ | look_var fep_edit.c: At top level: fep_edit.c:1656:1: error: return type defaults to 'int' [-Wimplicit-int] 1656 | ignore() | ^~~~~~ fep_edit.c:1664:1: error: return type defaults to 'int' [-Wimplicit-int] 1664 | literal_next() | ^~~~~~~~~~~~ fep_edit.c:1673:1: error: return type defaults to 'int' [-Wimplicit-int] 1673 | reprint() | ^~~~~~~ fep_edit.c:1684:1: error: return type defaults to 'int' [-Wimplicit-int] 1684 | print_com_line() | ^~~~~~~~~~~~~~ fep_edit.c:1697:1: error: return type defaults to 'int' [-Wimplicit-int] 1697 | howlong(s, n) | ^~~~~~~ fep_edit.c:1718:1: error: return type defaults to 'int' [-Wimplicit-int] 1718 | repeat(c, n) | ^~~~~~ fep_edit.c:1729:1: error: return type defaults to 'int' [-Wimplicit-int] 1729 | repeat_string(s, n) | ^~~~~~~~~~~~~ fep_edit.c:1740:1: error: return type defaults to 'int' [-Wimplicit-int] 1740 | expand_file_name () | ^~~~~~~~~~~~~~~~ fep_edit.c: In function 'expand_file_name': fep_edit.c:1756:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1756 | strcpy (line, CommandLine); | ^~~~~~ fep_edit.c:1756:5: note: include '' or provide a declaration of 'strcpy' fep_edit.c:1762:9: error: implicit declaration of function 'any' [-Wimplicit-function-declaration] 1762 | if (any ('/', cp)) { | ^~~ fep_edit.c:1783:13: error: implicit declaration of function 'prefix'; did you mean 'profil'? [-Wimplicit-function-declaration] 1783 | if (prefix (cp, dp->d_name)) { | ^~~~~~ | profil fep_edit.c:1789:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1789 | fcp = malloc (strlen (dp->d_name) + 1); | ^~~~~~ fep_edit.c:1789:27: note: include '' or provide a declaration of 'strlen' fep_edit.c:1825:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1825 | (void) insert_string (fileList[0] + strlen (cp)); | ^~~~~~ fep_edit.c:1825:49: note: include '' or provide a declaration of 'strlen' fep_edit.c: At top level: fep_edit.c:1860:1: error: return type defaults to 'int' [-Wimplicit-int] 1860 | list_file_name () | ^~~~~~~~~~~~~~ fep_edit.c: In function 'list_file_name': fep_edit.c:1894:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1894 | (void) strcpy (dir, cp); | ^~~~~~ fep_edit.c:1894:16: note: include '' or provide a declaration of 'strcpy' fep_edit.c:1899:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1899 | strcpy (dir, "."); | ^~~~~~ fep_edit.c:1899:9: note: include '' or provide a declaration of 'strcpy' fep_edit.c:1908:5: error: implicit declaration of function 'ls'; did you mean 'labs'? [-Wimplicit-function-declaration] 1908 | ls (dirp, cp); | ^~ | labs fep_edit.c: At top level: fep_edit.c:1917:1: error: return type defaults to 'int' [-Wimplicit-int] 1917 | clear_edit_line () | ^~~~~~~~~~~~~~~ fep_edit.c: In function 'clear_edit_line': fep_edit.c:1921:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1921 | return; | ^~~~~~ fep_edit.c:1917:1: note: declared here 1917 | clear_edit_line () | ^~~~~~~~~~~~~~~ fep_edit.c: At top level: fep_edit.c:1928:1: error: return type defaults to 'int' [-Wimplicit-int] 1928 | recover_edit_line (put_prompt) | ^~~~~~~~~~~~~~~~~ fep_edit.c: In function 'recover_edit_line': fep_edit.c:1933:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1933 | return; | ^~~~~~ fep_edit.c:1928:1: note: declared here 1928 | recover_edit_line (put_prompt) | ^~~~~~~~~~~~~~~~~ fep_edit.c:1936:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1936 | return; | ^~~~~~ fep_edit.c:1928:1: note: declared here 1928 | recover_edit_line (put_prompt) | ^~~~~~~~~~~~~~~~~ fep_edit.c: At top level: fep_edit.c:1949:1: error: return type defaults to 'int' [-Wimplicit-int] 1949 | ls (dirp, prefixstring) | ^~ fep_edit.c: In function 'ls': fep_edit.c:1980:27: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1980 | fcp = malloc (strlen (dp->d_name) + 1); | ^~~~~~ fep_edit.c:1980:27: note: include '' or provide a declaration of 'strlen' fep_edit.c:1988:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 1988 | strcpy (fcp, dp->d_name); | ^~~~~~ fep_edit.c:1988:13: note: include '' or provide a declaration of 'strcpy' fep_edit.c:2026:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 2026 | return; | ^~~~~~ fep_edit.c:1949:1: note: declared here 1949 | ls (dirp, prefixstring) | ^~ fep_edit.c: At top level: fep_edit.c:2074:1: error: return type defaults to 'int' [-Wimplicit-int] 2074 | bind_key (ft, func, s, dfunc) | ^~~~~~~~ fep_edit.c: In function 'bind_key': fep_edit.c:2084:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 2084 | strcpy (&tmps[1], &s[3]); | ^~~~~~ fep_edit.c:2084:9: note: include '' or provide a declaration of 'strcpy' *** [fep_edit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/misc/fep/work bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/misc/fep/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/fep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/fep