=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for fep-1.0nb3
cd /data/scratch/misc/fep/work &&  for i in *.[ch]; do /usr/bin/sed "s,#endif lint,#endif /* lint */,g" ${i} > ${i}.new &&  /bin/mv -f ${i}.new ${i};  done
--- fep_main.o ---
--- fep_edit.o ---
--- fep_hist.o ---
--- fep_com.o ---
--- fep_funcs.o ---
--- fep_set.o ---
--- fep_vi.o ---
--- fep_util.o ---
--- fep_alias.o ---
--- fep_edit.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_edit.c
--- fep_main.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_main.c
--- fep_hist.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_hist.c
--- fep_alias.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_alias.c
--- fep_vi.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_vi.c
--- fep_set.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_set.c
--- fep_util.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_util.c
--- fep_funcs.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_funcs.c
--- fep_com.o ---
clang -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX -I/usr/include -c fep_com.c
--- fep_alias.o ---
fep_alias.c:51:12: warning: implicit declaration of function 'mkargv' is invalid in C99 [-Wimplicit-function-declaration]
    argc = mkargv (comline, argv, MAXARGS);
           ^
fep_alias.c:53:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (av = look_alias (argv[0])) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~
fep_alias.c:53:12: note: place parentheses around the assignment to silence this warning
    if (av = look_alias (argv[0])) {
           ^
        (                        )
fep_alias.c:53:12: note: use '==' to turn this assignment into an equality comparison
    if (av = look_alias (argv[0])) {
           ^
           ==
fep_alias.c:54:12: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
        int len = strlen (argv[0]);
                  ^
fep_alias.c:54:12: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
fep_alias.c:69:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                        strcpy (ap, argv[1]);
                        ^
fep_alias.c:69:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
fep_alias.c:89:4: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                        strcat (ap, argv[j]);
                        ^
fep_alias.c:89:4: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
fep_alias.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_alias (name, value)
^
fep_alias.c:132:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_alias.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unset_alias (name)
^
fep_alias.c:145:2: warning: non-void function 'unset_alias' should return a value [-Wreturn-type]
        return;
        ^
fep_alias.c:151:5: warning: non-void function 'unset_alias' should return a value [-Wreturn-type]
    return;
    ^
fep_alias.c:175:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_aliaslist (a)
^
fep_alias.c:181:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
        if (a && strcmp (a, vp->al_name))
                 ^
fep_alias.c:181:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
fep_alias.c:185:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_edit.o ---
fep_edit.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_bind_table ()
^
fep_edit.c:122:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_edit.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_edit_params ()
^
fep_edit.c:135:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (term = look_var ("term")) {
        ~~~~~^~~~~~~~~~~~~~~~~~~
fep_edit.c:135:14: note: place parentheses around the assignment to silence this warning
    if (term = look_var ("term")) {
             ^
        (                       )
fep_edit.c:135:14: note: use '==' to turn this assignment into an equality comparison
    if (term = look_var ("term")) {
             ^
             ==
fep_edit.c:136:6: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration]
        if (tgetent (sbuf, term) == 1) {
            ^
fep_edit.c:138:11: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration]
                lines = tgetnum ("li");
                        ^
fep_edit.c:151:5: warning: implicit declaration of function 'set_var' is invalid in C99 [-Wimplicit-function-declaration]
    set_var ("crt", sbuf);
    ^
fep_edit.c:160:26: warning: implicit declaration of function 'itoa' is invalid in C99 [-Wimplicit-function-declaration]
    set_var ("showhist", itoa (lines - 1));
                         ^
fep_edit.c:165:5: warning: implicit declaration of function 'sourceRcFile' is invalid in C99 [-Wimplicit-function-declaration]
    sourceRcFile ();
    ^
fep_edit.c:177:3: warning: implicit declaration of function 'read_history' is invalid in C99 [-Wimplicit-function-declaration]
                read_history (cp);
                ^
fep_edit.c:190:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
    (void) strcpy (CommandLine, "");
           ^
fep_edit.c:190:12: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
fep_edit.c:193:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_edit.c:198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
initEmacsBindings (cft, aft)
^
fep_edit.c:261:2: warning: implicit declaration of function 'bind_key' is invalid in C99 [-Wimplicit-function-declaration]
        bind_key (cft, ftp->bt_func, ftp->bt_s, fep_abort);
        ^
fep_edit.c:263:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:278:5: warning: implicit declaration of function 'resetCurrentHistory' is invalid in C99 [-Wimplicit-function-declaration]
    resetCurrentHistory ();
    ^
fep_edit.c:297:2: warning: implicit declaration of function 'swallow_output' is invalid in C99 [-Wimplicit-function-declaration]
        swallow_output();
        ^
fep_edit.c:307:6: warning: implicit declaration of function 'errorBell' is invalid in C99 [-Wimplicit-function-declaration]
            errorBell ();
            ^
fep_edit.c:318:17: warning: implicit declaration of function 'getcharacter' is invalid in C99 [-Wimplicit-function-declaration]
    while ((c = getcharacter ()) >= (CHAR) 0) {
                ^
fep_edit.c:354:12: warning: implicit declaration of function 'alarm_on_eof' is invalid in C99 [-Wimplicit-function-declaration]
                status = alarm_on_eof (c);              
                         ^
fep_edit.c:361:15: warning: implicit declaration of function 'callfunc' is invalid in C99 [-Wimplicit-function-declaration]
            status = callfunc (curFuncTab, c);
                     ^
fep_edit.c:377:9: warning: implicit declaration of function 'refer_history' is invalid in C99 [-Wimplicit-function-declaration]
    if (refer_history () == PROCESSED)
        ^
fep_edit.c:396:9: warning: implicit declaration of function 'executeBuiltInFunction' is invalid in C99 [-Wimplicit-function-declaration]
    if (executeBuiltInFunction (execute_command, &remained) == PROCESSED) {
        ^
fep_edit.c:398:6: warning: implicit declaration of function 'addHistory' is invalid in C99 [-Wimplicit-function-declaration]
            addHistory (CommandLine);
            ^
fep_edit.c:412:7: warning: implicit declaration of function 'is_empty_line' is invalid in C99 [-Wimplicit-function-declaration]
        if (!is_empty_line (CommandLine) || !look_var ("ignore-empty-line"))
             ^
fep_edit.c:418:2: warning: implicit declaration of function 'buf_put' is invalid in C99 [-Wimplicit-function-declaration]
        buf_put (output_buffer, CommandLine);
        ^
fep_edit.c:424:9: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        (void) strcat (execute_command, "\n");
               ^
fep_edit.c:424:9: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
fep_edit.c:434:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
callfunc (ft, c)
^
fep_edit.c:453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_abort()
^
fep_edit.c:462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
self_insert(c)
^
fep_edit.c:470:19: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
    currentNull = strlen (CommandLine);
                  ^
fep_edit.c:470:19: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
fep_edit.c:488:2: warning: implicit declaration of function 'putChar' is invalid in C99 [-Wimplicit-function-declaration]
        putChar (c);
        ^
fep_edit.c:489:5: warning: implicit declaration of function 'reverse_strcpy' is invalid in C99 [-Wimplicit-function-declaration]
    reverse_strcpy (
    ^
fep_edit.c:500:5: warning: implicit declaration of function 'printS' is invalid in C99 [-Wimplicit-function-declaration]
    printS (&CommandLine [CurrentPosition]);
    ^
fep_edit.c:503:2: warning: implicit declaration of function 'repeat' is invalid in C99 [-Wimplicit-function-declaration]
        repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0));
        ^
fep_edit.c:503:14: warning: implicit declaration of function 'howlong' is invalid in C99 [-Wimplicit-function-declaration]
        repeat (BS, howlong (&CommandLine[CurrentPosition + 1], 0));
                    ^
fep_edit.c:512:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_string (s)
^
fep_edit.c:531:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
    bcopy (s, &CommandLine[CurrentPosition], nbyte);
    ^
fep_edit.c:544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
yank_from_kill_buffer ()
^
fep_edit.c:547:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:552:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mark ()
^
fep_edit.c:554:5: warning: implicit declaration of function 'set_mark' is invalid in C99 [-Wimplicit-function-declaration]
    set_mark (CurrentPosition);
    ^
fep_edit.c:561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_mark (pos)
^
fep_edit.c:571:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_to_kill_buffer ()
^
fep_edit.c:581:2: warning: non-void function 'delete_to_kill_buffer' should return a value [-Wreturn-type]
        return;
        ^
fep_edit.c:584:9: warning: implicit declaration of function 'moveto' is invalid in C99 [-Wimplicit-function-declaration]
        (void) moveto (MarkPosition);
               ^
fep_edit.c:587:13: warning: implicit declaration of function 'delete_next_n_character' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_next_n_character (n));
            ^
fep_edit.c:593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
moveto (position)
^
fep_edit.c:597:13: warning: implicit declaration of function 'backward_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) backward_n_character (1);
                   ^
fep_edit.c:605:13: warning: implicit declaration of function 'forward_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_n_character (1);
                   ^
fep_edit.c:606:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
beginning_of_line()
^
fep_edit.c:635:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
end_of_line()
^
fep_edit.c:654:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_character()
^
fep_edit.c:663:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_n_character(n)
^
fep_edit.c:699:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_word ()
^
fep_edit.c:702:13: warning: implicit declaration of function 'backward_n_word' is invalid in C99 [-Wimplicit-function-declaration]
    return (backward_n_word (1));
            ^
fep_edit.c:708:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_n_word (n)
^
fep_edit.c:760:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_Word ()
^
fep_edit.c:763:13: warning: implicit declaration of function 'backward_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
    return (backward_n_Word (1));
            ^
fep_edit.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
backward_n_Word (n)
^
fep_edit.c:819:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_character()
^
fep_edit.c:828:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_n_character(n)
^
fep_edit.c:880:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_word ()
^
fep_edit.c:882:13: warning: implicit declaration of function 'forward_n_word' is invalid in C99 [-Wimplicit-function-declaration]
    return (forward_n_word (1));
            ^
fep_edit.c:888:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_n_word (n)
^
fep_edit.c:914:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_Word ()
^
fep_edit.c:916:13: warning: implicit declaration of function 'forward_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
    return (forward_n_Word (1));
            ^
fep_edit.c:922:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_n_Word (n)
^
fep_edit.c:948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_to_end_of_word ()
^
fep_edit.c:951:13: warning: implicit declaration of function 'forward_to_end_of_n_word' is invalid in C99 [-Wimplicit-function-declaration]
    return (forward_to_end_of_n_word (1));
            ^
fep_edit.c:957:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_to_end_of_n_word (n)
^
fep_edit.c:984:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_to_end_of_Word ()
^
fep_edit.c:987:13: warning: implicit declaration of function 'forward_to_end_of_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
    return (forward_to_end_of_n_Word (1));
            ^
fep_edit.c:993:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forward_to_end_of_n_Word (n)
^
fep_edit.c:1020:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_character()
^
fep_edit.c:1023:13: warning: implicit declaration of function 'delete_previous_n_character' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_previous_n_character (1));
            ^
fep_edit.c:1029:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_n_character(n)
^
fep_edit.c:1076:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_word()
^
fep_edit.c:1079:13: warning: implicit declaration of function 'delete_previous_n_word' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_previous_n_word (1));
            ^
fep_edit.c:1085:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_n_word(n)
^
fep_edit.c:1137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_Word()
^
fep_edit.c:1140:13: warning: implicit declaration of function 'delete_previous_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_previous_n_Word (1));
            ^
fep_edit.c:1146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_previous_n_Word(n)
^
fep_edit.c:1198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_character ()
^
fep_edit.c:1207:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_n_character (n)
^
fep_edit.c:1257:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_word ()
^
fep_edit.c:1259:13: warning: implicit declaration of function 'delete_next_n_word' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_next_n_word (1));
            ^
fep_edit.c:1265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_n_word (n)
^
fep_edit.c:1291:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_Word ()
^
fep_edit.c:1293:13: warning: implicit declaration of function 'delete_next_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
    return (delete_next_n_Word (1));
            ^
fep_edit.c:1299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_next_n_Word (n)
^
fep_edit.c:1325:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_line()
^
fep_edit.c:1338:2: warning: implicit declaration of function 'repeat_string' is invalid in C99 [-Wimplicit-function-declaration]
        repeat_string ("\b \b", len);
        ^
fep_edit.c:1360:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
kill_to_top_of_line()
^
fep_edit.c:1371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
kill_to_end_of_line()
^
fep_edit.c:1397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_tab()
^
fep_edit.c:1407:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
new_line()
^
fep_edit.c:1421:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
is_tol()
^
fep_edit.c:1429:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
is_eol()
^
fep_edit.c:1437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
refer_history()
^
fep_edit.c:1445:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (his = historyExtract (CommandLine)) {
        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fep_edit.c:1445:13: note: place parentheses around the assignment to silence this warning
    if (his = historyExtract (CommandLine)) {
            ^
        (                                 )
fep_edit.c:1445:13: note: use '==' to turn this assignment into an equality comparison
    if (his = historyExtract (CommandLine)) {
            ^
            ==
fep_edit.c:1456:5: warning: implicit declaration of function 'print_com_line' is invalid in C99 [-Wimplicit-function-declaration]
    print_com_line ();
    ^
fep_edit.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
search_reverse ()
^
fep_edit.c:1465:13: warning: implicit declaration of function 'search_history' is invalid in C99 [-Wimplicit-function-declaration]
    return (search_history (REVERSE));
            ^
fep_edit.c:1468:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
search_forward ()
^
fep_edit.c:1473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
search_history (direct)
^
fep_edit.c:1485:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (his = (*func) (0)) {
        ~~~~^~~~~~~~~~~~~
--- fep_com.o ---
fep_com.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_edit.o ---
fep_edit.c:1485:13: note: place parentheses around the assignment to silence this warning
    if (his = (*func) (0)) {
            ^
        (                )
fep_edit.c:1485:13: note: use '==' to turn this assignment into an equality comparison
    if (his = (*func) (0)) {
            ^
            ==
--- fep_com.o ---
executeBuiltInFunction (comline, more)
^
--- fep_edit.o ---
fep_edit.c:1486:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
        if (eq (his, CommandLine))
            ^
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_edit.c:1486:6: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_edit.c:1501:13: warning: implicit declaration of function 'clear_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
            (void) clear_edit_line ();
                   ^
fep_edit.c:1503:13: warning: implicit declaration of function 'recover_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
            (void) recover_edit_line (1);
                   ^
fep_edit.c:1514:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_and_flush(c)
^
fep_edit.c:1525:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
send_eof()
^
--- fep_com.o ---
fep_com.c:59:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
    strcpy (line, comline);
    ^
fep_com.c:59:5: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
--- fep_edit.o ---
fep_edit.c:1544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alarm_on_eof ()
^
fep_edit.c:1551:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_com.o ---
fep_com.c:62:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (*more = search_string (comline, ";")) {
            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- fep_edit.o ---
fep_edit.c:1556:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clear_screen()
^
fep_edit.c:1576:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
next_history()
^
fep_edit.c:1578:13: warning: implicit declaration of function 'serv_history' is invalid in C99 [-Wimplicit-function-declaration]
    return (serv_history (HOP_REPLACE, HDIR_NEXT));
            ^
--- fep_com.o ---
fep_com.c:62:12: note: place parentheses around the assignment to silence this warning
        if (*more = search_string (comline, ";")) {
                  ^
            (                                   )
fep_com.c:62:12: note: use '==' to turn this assignment into an equality comparison
--- fep_edit.o ---
fep_edit.c:1584:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
previous_history()
^
--- fep_com.o ---
        if (*more = search_string (comline, ";")) {
                  ^
                  ==
--- fep_edit.o ---
fep_edit.c:1592:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_current_history()
^
fep_edit.c:1600:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_com.o ---
fep_com.c:82:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
--- fep_edit.o ---
insert_next_history()
^
--- fep_com.o ---
    if (strncmp (line, "fep-", 4) != 0)
        ^
fep_com.c:82:9: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
--- fep_edit.o ---
fep_edit.c:1608:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_previous_history()
^
--- fep_com.o ---
fep_com.c:86:6: warning: implicit declaration of function 'is_same_command' is invalid in C99 [-Wimplicit-function-declaration]
        if (is_same_command (line, ftp->name)) {
            ^
fep_com.c:88:3: warning: implicit declaration of function 'showArgs' is invalid in C99 [-Wimplicit-function-declaration]
                showArgs (line);
                ^
fep_com.c:90:3: warning: implicit declaration of function 'condition' is invalid in C99 [-Wimplicit-function-declaration]
                condition()
                ^
--- fep_edit.o ---
fep_edit.c:1616:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
serv_history(op, dir)
^
fep_edit.c:1645:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_history()
^
fep_edit.c:1649:5: warning: implicit declaration of function 'hist_showHistory' is invalid in C99 [-Wimplicit-function-declaration]
    hist_showHistory (lookd_var ("showhist"));
    ^
fep_edit.c:1649:23: warning: implicit declaration of function 'lookd_var' is invalid in C99 [-Wimplicit-function-declaration]
    hist_showHistory (lookd_var ("showhist"));
                      ^
fep_edit.c:1651:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1656:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ignore()
^
fep_edit.c:1664:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
literal_next()
^
fep_edit.c:1673:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
reprint()
^
fep_edit.c:1684:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_com_line()
^
fep_edit.c:1692:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
howlong(s, n)
^
fep_edit.c:1718:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
repeat(c, n)
^
fep_edit.c:1724:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1729:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
repeat_string(s, n)
^
fep_edit.c:1735:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1740:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
expand_file_name ()
^
fep_edit.c:1762:9: warning: implicit declaration of function 'any' is invalid in C99 [-Wimplicit-function-declaration]
    if (any ('/', cp)) {
        ^
fep_edit.c:1783:6: warning: implicit declaration of function 'prefix' is invalid in C99 [-Wimplicit-function-declaration]
        if (prefix (cp, dp->d_name)) {
            ^
fep_edit.c:1835:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                for (i = 1; other = fileList [i]; i++) {
                            ~~~~~~^~~~~~~~~~~~~~
fep_edit.c:1835:21: note: place parentheses around the assignment to silence this warning
                for (i = 1; other = fileList [i]; i++) {
                                  ^
                            (                   )
fep_edit.c:1835:21: note: use '==' to turn this assignment into an equality comparison
                for (i = 1; other = fileList [i]; i++) {
                                  ^
                                  ==
fep_edit.c:1860:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
list_file_name ()
^
fep_edit.c:1908:5: warning: implicit declaration of function 'ls' is invalid in C99 [-Wimplicit-function-declaration]
    ls (dirp, cp);
    ^
fep_edit.c:1917:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clear_edit_line ()
^
fep_edit.c:1921:2: warning: non-void function 'clear_edit_line' should return a value [-Wreturn-type]
        return;
        ^
fep_edit.c:1926:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1928:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
recover_edit_line (put_prompt)
^
fep_edit.c:1933:2: warning: non-void function 'recover_edit_line' should return a value [-Wreturn-type]
        return;
        ^
fep_edit.c:1936:2: warning: non-void function 'recover_edit_line' should return a value [-Wreturn-type]
        return;
        ^
fep_edit.c:1942:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_edit.c:1949:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ls (dirp, prefixstring)
^
--- fep_com.o ---
fep_com.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
is_same_command (a, b)
^
fep_com.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_if (comline)
^
fep_com.c:128:12: warning: implicit declaration of function 'mkargv' is invalid in C99 [-Wimplicit-function-declaration]
    argc = mkargv (comline, argv, MAXARGS);
           ^
--- fep_edit.o ---
fep_edit.c:2026:5: warning: non-void function 'ls' should return a value [-Wreturn-type]
    return;
    ^
--- fep_com.o ---
fep_com.c:132:2: warning: non-void function 'fep_if' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:159:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (v = look_var (&argv[i][1]))
                    ~~^~~~~~~~~~~~~~~~~~~~~~~~
fep_com.c:159:9: note: place parentheses around the assignment to silence this warning
                if (v = look_var (&argv[i][1]))
                      ^
                    (                         )
fep_com.c:159:9: note: use '==' to turn this assignment into an equality comparison
                if (v = look_var (&argv[i][1]))
                      ^
                      ==
--- fep_edit.o ---
fep_edit.c:2074:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bind_key (ft, func, s, dfunc)
^
--- fep_com.o ---
fep_com.c:177:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
        if (eq (argv[2], "==") || eq (argv[2], "="))
            ^
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_com.c:177:6: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_com.c:183:6: warning: non-void function 'fep_if' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:202:5: warning: non-void function 'fep_if' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:205:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_else ()
^
fep_com.c:209:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (err = change_condition (1))
        ~~~~^~~~~~~~~~~~~~~~~~~~~~
fep_com.c:209:13: note: place parentheses around the assignment to silence this warning
    if (err = change_condition (1))
            ^
        (                         )
fep_com.c:209:13: note: use '==' to turn this assignment into an equality comparison
    if (err = change_condition (1))
            ^
            ==
fep_com.c:212:5: warning: non-void function 'fep_else' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:215:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_endif ()
^
fep_com.c:219:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (err = pop_condition ())
        ~~~~^~~~~~~~~~~~~~~~~~
fep_com.c:219:13: note: place parentheses around the assignment to silence this warning
    if (err = pop_condition ())
            ^
        (                     )
fep_com.c:219:13: note: use '==' to turn this assignment into an equality comparison
    if (err = pop_condition ())
            ^
            ==
fep_com.c:222:5: warning: non-void function 'fep_endif' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:225:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bind_to_key (comline)
^
fep_com.c:239:2: warning: non-void function 'bind_to_key' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:247:2: warning: non-void function 'bind_to_key' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:255:6: warning: implicit declaration of function 'bind_key' is invalid in C99 [-Wimplicit-function-declaration]
            bind_key (curFuncTab, fnte->func, argv[2], fep_abort);
            ^
fep_com.c:265:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alias(comline)
^
fep_com.c:277:6: warning: implicit declaration of function 'show_aliaslist' is invalid in C99 [-Wimplicit-function-declaration]
            show_aliaslist (NULL);
            ^
fep_com.c:285:6: warning: implicit declaration of function 'set_alias' is invalid in C99 [-Wimplicit-function-declaration]
            set_alias (argv[1], argv[2]);
            ^
fep_com.c:291:5: warning: non-void function 'alias' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:294:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unalias (comline)
^
fep_com.c:304:2: warning: implicit declaration of function 'unset_alias' is invalid in C99 [-Wimplicit-function-declaration]
        unset_alias (argv[i]);
        ^
fep_com.c:306:5: warning: non-void function 'unalias' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:309:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set (comline)
^
fep_com.c:321:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp = index (line, '='))
        ~~~^~~~~~~~~~~~~~~~~~~
fep_com.c:321:12: note: place parentheses around the assignment to silence this warning
    if (cp = index (line, '='))
           ^
        (                     )
fep_com.c:321:12: note: use '==' to turn this assignment into an equality comparison
    if (cp = index (line, '='))
           ^
           ==
fep_com.c:330:6: warning: implicit declaration of function 'show_varlist' is invalid in C99 [-Wimplicit-function-declaration]
            show_varlist ();
            ^
fep_com.c:331:6: warning: non-void function 'set' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:335:6: warning: implicit declaration of function 'set_var' is invalid in C99 [-Wimplicit-function-declaration]
            set_var (argv[1], "");
            ^
fep_com.c:336:6: warning: non-void function 'set' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:345:6: warning: non-void function 'set' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:347:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:349:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unset(comline)
^
fep_com.c:360:2: warning: non-void function 'unset' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:364:2: warning: implicit declaration of function 'unset_var' is invalid in C99 [-Wimplicit-function-declaration]
        unset_var (*vp);
        ^
fep_com.c:365:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:386:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
toggle_through()
^
fep_com.c:401:6: warning: non-void function 'toggle_through' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:411:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
            (void) close (slave_fd);
                   ^
fep_com.c:412:6: warning: non-void function 'toggle_through' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:439:2: warning: non-void function 'toggle_through' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:443:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:448:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fix_transparency()
^
fep_com.c:458:2: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:461:2: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:476:2: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:498:3: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
                return;
                ^
fep_com.c:500:24: warning: implicit declaration of function 'errorBell' is invalid in C99 [-Wimplicit-function-declaration]
            if (tty_fix_bell) errorBell ();
                              ^
fep_com.c:513:3: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
                return;
                ^
fep_com.c:522:2: warning: non-void function 'fix_transparency' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:524:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:526:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
putch (c)
^
fep_com.c:531:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_com.c:537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_bindings ()
^
fep_com.c:547:5: warning: implicit declaration of function 'clear_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
    clear_edit_line ();
    ^
fep_com.c:548:12: warning: implicit declaration of function 'showBindingTbl' is invalid in C99 [-Wimplicit-function-declaration]
    (void) showBindingTbl (m, curFuncTab, "");
           ^
fep_com.c:549:5: warning: implicit declaration of function 'recover_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
    recover_edit_line (1);
    ^
fep_com.c:551:5: warning: implicit declaration of function 'destroy_more' is invalid in C99 [-Wimplicit-function-declaration]
    destroy_more(m);
    ^
fep_com.c:555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
showBindingTbl (m, ft, prefix)
^
fep_com.c:586:8: warning: implicit declaration of function 'more' is invalid in C99 [-Wimplicit-function-declaration]
                if (!more(m))
                     ^
fep_com.c:610:3: warning: format specifies type 'unsigned int' but the argument has type 'FUNC' (aka 'int (*)()') [-Wformat]
                ft[i]
                ^~~~~
fep_com.c:616:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_help ()
^
fep_com.c:623:2: warning: non-void function 'show_help' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:630:5: warning: implicit declaration of function 'showTable' is invalid in C99 [-Wimplicit-function-declaration]
    showTable (m, FunctionNameTable)    &&
    ^
fep_com.c:636:5: warning: implicit declaration of function 'showVariables' is invalid in C99 [-Wimplicit-function-declaration]
    showVariables (m);
    ^
fep_com.c:639:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:641:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
showTable (m, fnte)
^
fep_com.c:659:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
showVariables (m)
^
fep_com.c:699:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
destroy_more(mp)
^
fep_com.c:704:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_com.c:706:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
more (mp)
^
fep_com.c:720:10: warning: implicit declaration of function 'getcharacter' is invalid in C99 [-Wimplicit-function-declaration]
        switch (getcharacter()) {
                ^
fep_com.c:741:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
        tputs (term_clear, 1, putch);
        ^
fep_com.c:749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_chdir (line)
^
fep_com.c:763:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (home = getenv ("HOME"))
                ~~~~~^~~~~~~~~~~~~~~~~
fep_com.c:763:15: note: place parentheses around the assignment to silence this warning
            if (home = getenv ("HOME"))
                     ^
                (                     )
fep_com.c:763:15: note: use '==' to turn this assignment into an equality comparison
            if (home = getenv ("HOME"))
                     ^
                     ==
fep_com.c:767:3: warning: non-void function 'fep_chdir' should return a value [-Wreturn-type]
                return;
                ^
fep_com.c:783:6: warning: non-void function 'fep_chdir' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:787:6: warning: non-void function 'fep_chdir' should return a value [-Wreturn-type]
            return;
            ^
fep_com.c:794:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
    if (chdir (argv[1]) < 0) {
        ^
fep_com.c:796:2: warning: non-void function 'fep_chdir' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:798:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:800:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_pwd (line)
^
fep_com.c:805:12: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration]
    (void) getcwd (cwd, sizeof(cwd));
           ^
fep_com.c:807:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_com.c:809:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_echo (comline)
^
fep_com.c:847:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_com.c:849:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_command (comline)
^
fep_com.c:862:2: warning: non-void function 'fep_command' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:867:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        strcat (buf, argv[i]);
        ^
fep_com.c:867:2: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
fep_com.c:871:5: warning: implicit declaration of function 'invoke_command' is invalid in C99 [-Wimplicit-function-declaration]
    invoke_command (buf);
    ^
fep_com.c:872:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:874:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_source (comline)
^
fep_com.c:886:2: warning: non-void function 'fep_source' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:890:5: warning: implicit declaration of function 'source_file' is invalid in C99 [-Wimplicit-function-declaration]
    source_file (file);
    ^
fep_com.c:892:5: warning: non-void function 'fep_source' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:895:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sourceRcFile ()
^
fep_com.c:902:2: warning: non-void function 'sourceRcFile' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:920:5: warning: non-void function 'sourceRcFile' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:923:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
source_file (file)
^
fep_com.c:932:2: warning: non-void function 'source_file' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:952:5: warning: non-void function 'source_file' should return a value [-Wreturn-type]
    return;
    ^
--- fep_main.o ---
fep_main.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
fep_main.c:141:5: warning: implicit declaration of function 'init_bind_table' is invalid in C99 [-Wimplicit-function-declaration]
    init_bind_table ();
    ^
fep_main.c:146:5: warning: implicit declaration of function 'set_default_vars' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_com.o ---
fep_com.c:964:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_main.o ---
    set_default_vars ();
    ^
--- fep_com.o ---
condition ()
^
--- fep_main.o ---
fep_main.c:153:37: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    if ((cp=getenv("EDITMODE")) && (eq(cp,"emacs")||eq(cp,"vi")))
                                    ^
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_main.c:153:37: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
fep_main.c:154:2: warning: implicit declaration of function 'set_only_var' is invalid in C99 [-Wimplicit-function-declaration]
        set_only_var ("editmode", cp);
        ^
fep_main.c:156:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp=getenv("USER"))
        ~~^~~~~~~~~~~~~~~
fep_main.c:156:11: note: place parentheses around the assignment to silence this warning
    if (cp=getenv("USER"))
          ^
        (                )
fep_main.c:156:11: note: use '==' to turn this assignment into an equality comparison
    if (cp=getenv("USER"))
          ^
          ==
--- fep_com.o ---
fep_com.c:1025:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
invoke_shell ()
^
--- fep_main.o ---
fep_main.c:159:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp=getenv("HOME"))
        ~~^~~~~~~~~~~~~~~
--- fep_com.o ---
fep_com.c:1033:1: warning: control reaches end of non-void function [-Wreturn-type]
--- fep_main.o ---
fep_main.c:159:11: note: place parentheses around the assignment to silence this warning
--- fep_com.o ---
}
^
--- fep_main.o ---
    if (cp=getenv("HOME"))
          ^
        (                )
fep_main.c:159:11: note: use '==' to turn this assignment into an equality comparison
    if (cp=getenv("HOME"))
          ^
          ==
fep_main.c:162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp=getenv("TERM"))
        ~~^~~~~~~~~~~~~~~
--- fep_com.o ---
fep_com.c:1035:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_main.o ---
fep_main.c:162:11: note: place parentheses around the assignment to silence this warning
--- fep_com.o ---
invoke_command (cmd)
^
--- fep_main.o ---
    if (cp=getenv("TERM"))
          ^
        (                )
fep_main.c:162:11: note: use '==' to turn this assignment into an equality comparison
    if (cp=getenv("TERM"))
          ^
          ==
fep_main.c:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp=getenv("SHELL"))
        ~~^~~~~~~~~~~~~~~~
--- fep_com.o ---
fep_com.c:1045:5: warning: implicit declaration of function 'recover_tty' is invalid in C99 [-Wimplicit-function-declaration]
    recover_tty();
    ^
--- fep_main.o ---
fep_main.c:165:11: note: place parentheses around the assignment to silence this warning
--- fep_com.o ---
fep_com.c:1046:5: warning: implicit declaration of function 'recover_signal' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_main.o ---
    if (cp=getenv("SHELL"))
          ^
        (                 )
--- fep_com.o ---
    recover_signal ();
    ^
fep_com.c:1048:5: warning: implicit declaration of function 'fix_signal' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_main.o ---
fep_main.c:165:11: note: use '==' to turn this assignment into an equality comparison
--- fep_com.o ---
    fix_signal ();
    ^
--- fep_main.o ---
    if (cp=getenv("SHELL"))
          ^
          ==
--- fep_com.o ---
fep_com.c:1049:5: warning: implicit declaration of function 'fix_tty' is invalid in C99 [-Wimplicit-function-declaration]
    fix_tty();
    ^
fep_com.c:1053:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_main.o ---
fep_main.c:194:4: warning: implicit declaration of function 'usageAndExit' is invalid in C99 [-Wimplicit-function-declaration]
                        usageAndExit ();
                        ^
--- fep_com.o ---
fep_com.c:1058:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_read_from_file (comline)
^
fep_com.c:1070:2: warning: non-void function 'fep_read_from_file' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:1080:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (redirect_fp = fopen (argv[1], "r")) {
        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
--- fep_main.o ---
fep_main.c:234:5: warning: implicit declaration of function 'look_cmdinfo' is invalid in C99 [-Wimplicit-function-declaration]
    look_cmdinfo (argv[1]);
    ^
fep_main.c:242:6: warning: implicit declaration of function 'any' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_com.o ---
fep_com.c:1080:21: note: place parentheses around the assignment to silence this warning
--- fep_main.o ---
        if (any ('/', cp))
            ^
--- fep_com.o ---
    if (redirect_fp = fopen (argv[1], "r")) {
                    ^
        (                                 )
fep_com.c:1080:21: note: use '==' to turn this assignment into an equality comparison
    if (redirect_fp = fopen (argv[1], "r")) {
                    ^
                    ==
--- fep_main.o ---
fep_main.c:244:2: warning: implicit declaration of function 'set_var' is invalid in C99 [-Wimplicit-function-declaration]
        set_var (cp, "1");
        ^
--- fep_com.o ---
fep_com.c:1089:5: warning: non-void function 'fep_read_from_file' should return a value [-Wreturn-type]
--- fep_main.o ---
fep_main.c:250:11: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_com.o ---
    return;
    ^
--- fep_main.o ---
    if (! isatty (0)) {
          ^
fep_main.c:251:2: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration]
        execvp (*commandv, commandv, 0);
        ^
fep_main.c:256:5: warning: implicit declaration of function 'get_pty_master' is invalid in C99 [-Wimplicit-function-declaration]
    get_pty_master ();
    ^
fep_main.c:257:5: warning: implicit declaration of function 'fix_tty' is invalid in C99 [-Wimplicit-function-declaration]
    fix_tty ();
    ^
fep_main.c:266:5: warning: implicit declaration of function 'init_hist' is invalid in C99 [-Wimplicit-function-declaration]
    init_hist (histlen);
    ^
fep_main.c:267:5: warning: implicit declaration of function 'init_edit_params' is invalid in C99 [-Wimplicit-function-declaration]
    init_edit_params ();
    ^
--- fep_com.o ---
fep_com.c:1097:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_read_from_command (comline)
^
--- fep_main.o ---
fep_main.c:277:7: warning: implicit declaration of function 'set_buffer' is invalid in C99 [-Wimplicit-function-declaration]
        if (!set_buffer (output_buffer, size)) {
             ^
--- fep_com.o ---
fep_com.c:1110:2: warning: non-void function 'fep_read_from_command' should return a value [-Wreturn-type]
        return;
        ^
--- fep_main.o ---
fep_main.c:279:6: warning: implicit declaration of function 'kill_process' is invalid in C99 [-Wimplicit-function-declaration]
            kill_process ();
            ^
fep_main.c:285:14: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        child_pid = fork ();
                    ^
--- fep_com.o ---
fep_com.c:1124:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (redirect_fp = popen (buf, "r")) {
        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
fep_com.c:1124:21: note: place parentheses around the assignment to silence this warning
--- fep_main.o ---
fep_main.c:292:6: warning: implicit declaration of function 'exec_to_command' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_com.o ---
    if (redirect_fp = popen (buf, "r")) {
                    ^
        (                             )
--- fep_main.o ---
            exec_to_command (commandv);
            ^
--- fep_com.o ---
fep_com.c:1124:21: note: use '==' to turn this assignment into an equality comparison
--- fep_main.o ---
fep_main.c:294:5: warning: implicit declaration of function 'fix_signal' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_com.o ---
    if (redirect_fp = popen (buf, "r")) {
                    ^
                    ==
--- fep_main.o ---
    fix_signal ();
    ^
fep_main.c:296:5: warning: implicit declaration of function 'input_handler' is invalid in C99 [-Wimplicit-function-declaration]
    input_handler ();
    ^
--- fep_com.o ---
fep_com.c:1133:5: warning: non-void function 'fep_read_from_command' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:1138:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_start_script (comline)
^
fep_com.c:1177:2: warning: non-void function 'fep_start_script' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:1184:2: warning: non-void function 'fep_start_script' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:1191:2: warning: non-void function 'fep_start_script' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:1194:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
    strncpy (script_file, name, sizeof (script_file));
    ^
fep_com.c:1194:5: note: include the header <string.h> or explicitly provide a declaration for 'strncpy'
fep_com.c:1199:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_com.c:1201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_end_script ()
^
fep_com.c:1207:2: warning: non-void function 'fep_end_script' should return a value [-Wreturn-type]
        return;
        ^
fep_com.c:1217:5: warning: non-void function 'fep_end_script' should return a value [-Wreturn-type]
    return;
    ^
fep_com.c:1220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_repaint(comline)
^
--- fep_hist.o ---
fep_hist.c:30:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_hist(size)
^
fep_hist.c:44:5: warning: implicit declaration of function 'set_var' is invalid in C99 [-Wimplicit-function-declaration]
    set_var ("history", itoa (HistorySize));
    ^
--- fep_com.o ---
fep_com.c:1280:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_main.o ---
fep_main.c:299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fix_signal ()
^
--- fep_com.o ---
fep_com.c:1282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
view_buffer (comline)
^
--- fep_main.o ---
fep_main.c:311:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_main.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
recover_signal ()
^
fep_main.c:319:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_main.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
input_handler()
^
fep_main.c:332:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (inputline = get_line ()) {
           ~~~~~~~~~~^~~~~~~~~~~~~
fep_main.c:332:22: note: place parentheses around the assignment to silence this warning
    while (inputline = get_line ()) {
                     ^
           (                      )
fep_main.c:332:22: note: use '==' to turn this assignment into an equality comparison
    while (inputline = get_line ()) {
                     ^
                     ==
fep_main.c:339:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
        register int nbyte = max (strlen (inputline), 1);
                                  ^
fep_main.c:339:28: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
--- fep_hist.o ---
fep_hist.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_main.o ---
fep_main.c:344:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_hist.o ---
addHistory(string)
^
--- fep_util.o ---
fep_util.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_main.o ---
        write (master, inputline, nbyte);
        ^
--- fep_util.o ---
message(messageString)
^
--- fep_hist.o ---
fep_hist.c:65:2: warning: non-void function 'addHistory' should return a value [-Wreturn-type]
        return;
        ^
--- fep_util.o ---
fep_util.c:20:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    write (2, messageString, strlen (messageString));
    ^
--- fep_main.o ---
fep_main.c:363:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:69:51: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    if (look_var ("ignore-same-line") && prev && !strcmp (string, prev))
                                                  ^
--- fep_util.o ---
fep_util.c:20:30: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
--- fep_hist.o ---
fep_hist.c:69:51: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
--- fep_util.o ---
    write (2, messageString, strlen (messageString));
                             ^
fep_util.c:20:30: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
--- fep_hist.o ---
fep_hist.c:70:2: warning: non-void function 'addHistory' should return a value [-Wreturn-type]
        return;
        ^
fep_hist.c:71:17: warning: implicit declaration of function 'lookd_var' is invalid in C99 [-Wimplicit-function-declaration]
    if ((slen = lookd_var ("ignore-short-line"))>0 && strlen (string) <= slen)
                ^
--- fep_main.o ---
fep_main.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_hist.o ---
fep_hist.c:71:55: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
--- fep_main.o ---
getcharacter()
^
--- fep_hist.o ---
    if ((slen = lookd_var ("ignore-short-line"))>0 && strlen (string) <= slen)
                                                      ^
--- fep_util.o ---
fep_util.c:21:1: warning: control reaches end of non-void function [-Wreturn-type]
--- fep_hist.o ---
fep_hist.c:71:55: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
--- fep_util.o ---
}
^
--- fep_hist.o ---
fep_hist.c:72:2: warning: non-void function 'addHistory' should return a value [-Wreturn-type]
        return;
        ^
--- fep_main.o ---
fep_main.c:445:10: warning: implicit declaration of function 'buf_read' is invalid in C99 [-Wimplicit-function-declaration]
        nbyte = buf_read (master, output_buffer);
                ^
--- fep_hist.o ---
fep_hist.c:81:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_util.o ---
fep_util.c:23:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
errorBell()
^
fep_util.c:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_alias.o ---
13 warnings generated.
--- fep_main.o ---
fep_main.c:565:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    nbyte = read (fd, bp->b_buf + bp->b_next, bp->b_max - bp->b_next);
            ^
--- fep_util.o ---
fep_util.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ctlprint(string)
^
--- fep_main.o ---
fep_main.c:591:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
buf_put (bp, s)
^
fep_main.c:603:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
        strncpy (bp->b_buf + bp->b_next, s, slen);
        ^
fep_main.c:603:2: note: include the header <string.h> or explicitly provide a declaration for 'strncpy'
fep_main.c:616:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_main.c:618:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
swallow_output()
^
fep_main.c:652:5: warning: non-void function 'swallow_output' should return a value [-Wreturn-type]
    return;
    ^
--- fep_hist.o ---
fep_hist.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getOldestHistNum()
^
fep_hist.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getYoungestHistNum()
^
--- fep_util.o ---
fep_util.c:43:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_main.o ---
fep_main.c:671:6: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration]
            message ("Child has stopped!!\n");
            ^
--- fep_hist.o ---
fep_hist.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_main.o ---
fep_main.c:679:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
exec_to_command(argv)
^
--- fep_hist.o ---
getCurrentHistNum()
^
--- fep_main.o ---
fep_main.c:690:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        (void) close (t);
               ^
fep_main.c:693:5: warning: implicit declaration of function 'get_pty_slave' is invalid in C99 [-Wimplicit-function-declaration]
    get_pty_slave ();
    ^
fep_main.c:696:5: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration]
    dup2 (slave, 0);
    ^
--- fep_hist.o ---
fep_hist.c:192:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
    strcpy(cp, string);
    ^
fep_hist.c:192:5: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
--- fep_main.o ---
fep_main.c:712:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fix_tty()
^
--- fep_util.o ---
fep_util.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
printS (string)
^
--- fep_main.o ---
fep_main.c:728:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_util.o ---
fep_util.c:54:2: warning: implicit declaration of function 'putChar' is invalid in C99 [-Wimplicit-function-declaration]
        putChar (*cp);
        ^
fep_util.c:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_util.c:60:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- fep_hist.o ---
fep_hist.c:263:3: warning: implicitly declaring library function 'strncat' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
--- fep_util.o ---
is_empty_line(line)
^
--- fep_hist.o ---
                strncat (buf, string, 64);
                ^
fep_hist.c:263:3: note: include the header <string.h> or explicitly provide a declaration for 'strncat'
--- fep_main.o ---
fep_main.c:771:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
kill_process()
^
fep_main.c:776:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_set.o ---
fep_set.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_default_vars ()
^
--- fep_util.o ---
fep_util.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
putChar(c)
^
--- fep_main.o ---
fep_main.c:793:12: warning: implicit declaration of function 'lookd_var' is invalid in C99 [-Wimplicit-function-declaration]
            num = lookd_var ("savehist");
                  ^
fep_main.c:794:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
            strcpy (buf, mk_home_relative (cp));
            ^
fep_main.c:794:6: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
fep_main.c:795:6: warning: implicit declaration of function 'save_history' is invalid in C99 [-Wimplicit-function-declaration]
            save_history (buf, num);
            ^
--- fep_util.o ---
fep_util.c:85:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_set.o ---
fep_set.c:95:2: warning: implicit declaration of function 'set_only_var' is invalid in C99 [-Wimplicit-function-declaration]
        set_only_var (vp->v_name, vp->v_value);
        ^
--- fep_main.o ---
fep_main.c:821:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_pty_master()
^
fep_main.c:829:2: warning: non-void function 'get_pty_master' should return a value [-Wreturn-type]
        return;
        ^
--- fep_hist.o ---
fep_hist.c:287:6: warning: implicit declaration of function 're_exec' is invalid in C99 [-Wimplicit-function-declaration]
        if (re_exec(HistoryTable[i % HistorySize]) == 1) {
            ^
--- fep_set.o ---
fep_set.c:96:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_util.o ---
fep_util.c:95:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        strcpy (dirname, dir);
        ^
fep_util.c:95:2: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
fep_util.c:100:21: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
            pw = getpwuid (getuid ());
                           ^
fep_util.c:113:10: warning: implicit declaration of function 'any' is invalid in C99 [-Wimplicit-function-declaration]
            if (any ('/', dir))
                ^
fep_util.c:114:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                strcat (dirname, index (dir, '/'));
                ^
fep_util.c:114:3: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
--- fep_main.o ---
fep_main.c:927:5: warning: non-void function 'get_pty_master' should return a value [-Wreturn-type]
    return;
    ^
--- fep_hist.o ---
fep_hist.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
changeHistorySize(newsize)
^
--- fep_main.o ---
fep_main.c:930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_pty_slave()
^
fep_main.c:938:9: warning: implicit declaration of function 'setsid' is invalid in C99 [-Wimplicit-function-declaration]
    if (setsid() == -1)
        ^
fep_main.c:971:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fep_main.c:973:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
recover_tty()
^
fep_main.c:982:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_main.c:984:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
suspend()
^
fep_main.c:990:11: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
    pid = getpid ();
          ^
fep_main.c:1012:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:373:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_history (comline)
^
fep_hist.c:378:12: warning: implicit declaration of function 'mkargv' is invalid in C99 [-Wimplicit-function-declaration]
    argc = mkargv (comline, argv, MAXARGS);
           ^
fep_hist.c:385:5: warning: implicit declaration of function 'hist_showHistory' is invalid in C99 [-Wimplicit-function-declaration]
    hist_showHistory (num);
    ^
fep_hist.c:386:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_main.o ---
fep_main.c:1014:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
look_cmdinfo (command)
^
--- fep_util.o ---
fep_util.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
scmp (a, b)
^
--- fep_main.o ---
fep_main.c:1021:2: warning: non-void function 'look_cmdinfo' should return a value [-Wreturn-type]
        return;
        ^
--- fep_util.o ---
fep_util.c:138:13: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    return (strcmp (*a, *b));
            ^
fep_util.c:138:13: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
--- fep_hist.o ---
fep_hist.c:388:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hist_showHistory (num)
^
--- fep_main.o ---
fep_main.c:1031:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_util.o ---
fep_util.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prefix (sub, str)
^
--- fep_hist.o ---
fep_hist.c:408:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
--- fep_set.o ---
fep_set.c:101:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_var (name, value)
^
--- fep_main.o ---
fep_main.c:1034:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usageAndExit()
^
--- fep_hist.o ---
        if (cp = getHistory(i)) {
            ~~~^~~~~~~~~~~~~~~
--- fep_util.o ---
fep_util.c:161:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
any (c, s)
^
--- fep_set.o ---
fep_set.c:108:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    if (eq (name, "history")) {
        ^
./fep_defs.h:26:19: note: expanded from macro 'eq'
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
--- fep_main.o ---
fep_main.c:1052:18: warning: implicit declaration of function 'itoa' is invalid in C99 [-Wimplicit-function-declaration]
        set_var ("crt", itoa (win.ws_row));
                        ^
--- fep_hist.o ---
fep_hist.c:408:9: note: place parentheses around the assignment to silence this warning
--- fep_set.o ---
fep_set.c:108:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
./fep_defs.h:26:19: note: expanded from macro 'eq'
--- fep_hist.o ---
        if (cp = getHistory(i)) {
               ^
            (                 )
--- fep_set.o ---
#define eq(a,b)         (strcmp(a,b) == 0)
                         ^
--- fep_hist.o ---
fep_hist.c:408:9: note: use '==' to turn this assignment into an equality comparison
        if (cp = getHistory(i)) {
               ^
               ==
--- fep_set.o ---
fep_set.c:109:7: warning: implicit declaration of function 'changeHistorySize' is invalid in C99 [-Wimplicit-function-declaration]
--- fep_util.o ---
fep_util.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
showArgs (comline)
^
--- fep_set.o ---
        if (!changeHistorySize (atoi (value)))
             ^
--- fep_hist.o ---
fep_hist.c:410:6: warning: implicit declaration of function 'ctlprint' is invalid in C99 [-Wimplicit-function-declaration]
            ctlprint(cp);
            ^
--- fep_util.o ---
fep_util.c:211:9: warning: implicit declaration of function 'mkargv' is invalid in C99 [-Wimplicit-function-declaration]
    c = mkargv (comline, argv, MAXARGS);
        ^
--- fep_hist.o ---
fep_hist.c:413:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_set.o ---
fep_set.c:119:6: warning: implicit declaration of function 'initEmacsBindings' is invalid in C99 [-Wimplicit-function-declaration]
            initEmacsBindings (curFuncTab, altFuncTab);
            ^
fep_set.c:123:6: warning: implicit declaration of function 'initViBindings' is invalid in C99 [-Wimplicit-function-declaration]
            initViBindings (curFuncTab, altFuncTab);
            ^
--- fep_util.o ---
fep_util.c:214:2: warning: non-void function 'showArgs' should return a value [-Wreturn-type]
        return;
        ^
--- fep_vi.o ---
fep_vi.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
initViBindings (cft, aft)
^
--- fep_util.o ---
fep_util.c:221:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:427:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        strcat (buf, "/");
        ^
fep_hist.c:427:2: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
fep_hist.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_save_history (comline)
^
fep_hist.c:456:6: warning: implicit declaration of function 'clear_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
            clear_edit_line ();
            ^
fep_hist.c:461:6: warning: implicit declaration of function 'recover_edit_line' is invalid in C99 [-Wimplicit-function-declaration]
            recover_edit_line (1);
            ^
fep_hist.c:462:6: warning: non-void function 'fep_save_history' should return a value [-Wreturn-type]
            return;
            ^
fep_hist.c:469:5: warning: implicit declaration of function 'save_history' is invalid in C99 [-Wimplicit-function-declaration]
    save_history (file, num);
    ^
fep_hist.c:470:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_set.o ---
fep_set.c:145:6: warning: non-void function 'set_var' should return a value [-Wreturn-type]
            return;
            ^
fep_set.c:147:7: warning: implicit declaration of function 'set_buffer' is invalid in C99 [-Wimplicit-function-declaration]
        if (!set_buffer (output_buffer, s))
             ^
fep_set.c:148:6: warning: non-void function 'set_var' should return a value [-Wreturn-type]
            return;
            ^
fep_set.c:152:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_util.o ---
fep_util.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mkargv (s, argv, maxarg)
^
--- fep_hist.o ---
fep_hist.c:474:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
save_history (file, num)
^
fep_hist.c:499:2: warning: non-void function 'save_history' should return a value [-Wreturn-type]
        return;
        ^
fep_hist.c:508:5: warning: non-void function 'save_history' should return a value [-Wreturn-type]
    return;
    ^
--- fep_vi.o ---
fep_vi.c:219:2: warning: implicit declaration of function 'bind_key' is invalid in C99 [-Wimplicit-function-declaration]
        bind_key (aft, ftp->bt_func, ftp->bt_s, fep_abort);
        ^
--- fep_set.o ---
fep_set.c:154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_only_var (name, value)
^
--- fep_hist.o ---
fep_hist.c:511:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fep_read_history (comline)
^
--- fep_set.o ---
fep_set.c:162:2: warning: non-void function 'set_only_var' should return a value [-Wreturn-type]
        return;
        ^
--- fep_vi.o ---
fep_vi.c:226:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:533:6: warning: non-void function 'fep_read_history' should return a value [-Wreturn-type]
            return;
            ^
--- fep_set.o ---
fep_set.c:168:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_hist.o ---
fep_hist.c:540:5: warning: implicit declaration of function 'read_history' is invalid in C99 [-Wimplicit-function-declaration]
    read_history (file);
    ^
fep_hist.c:541:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
--- fep_set.o ---
fep_set.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unset_var (name)
^
--- fep_hist.o ---
fep_hist.c:543:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
read_history (file)
^
--- fep_set.o ---
fep_set.c:181:2: warning: non-void function 'unset_var' should return a value [-Wreturn-type]
        return;
        ^
--- fep_hist.o ---
fep_hist.c:554:2: warning: non-void function 'read_history' should return a value [-Wreturn-type]
        return;
        ^
fep_hist.c:563:5: warning: non-void function 'read_history' should return a value [-Wreturn-type]
    return;
    ^
--- fep_util.o ---
fep_util.c:337:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
reverse_strcpy (to, from)
^
--- fep_set.o ---
fep_set.c:199:5: warning: non-void function 'unset_var' should return a value [-Wreturn-type]
    return;
    ^
--- fep_util.o ---
fep_util.c:344:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
fep_util.c:369:26: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
        if (status == NORMAL && strncmp (s, lookup, len) == 0)
                                ^
fep_util.c:369:26: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
--- fep_set.o ---
fep_set.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_varlist ()
^
fep_set.c:261:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--- fep_vi.o ---
fep_vi.c:228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_edit (c)
^
fep_vi.c:249:11: warning: implicit declaration of function 'is_eol' is invalid in C99 [-Wimplicit-function-declaration]
            if (!is_eol())
                 ^
fep_vi.c:252:13: warning: implicit declaration of function 'altenateEditmode' is invalid in C99 [-Wimplicit-function-declaration]
            (void) altenateEditmode (c);
                   ^
fep_vi.c:281:26: warning: implicit declaration of function 'getcharacter' is invalid in C99 [-Wimplicit-function-declaration]
            (void) self_insert (getcharacter ());
                                ^
fep_vi.c:285:13: warning: implicit declaration of function 'delete_next_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_next_n_character (count);
                   ^
fep_vi.c:294:13: warning: implicit declaration of function 'delete_previous_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_previous_n_character (count);
                   ^
fep_vi.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
altenateEditmode ()
^
fep_vi.c:325:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_num (c)
^
fep_vi.c:332:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_motion (c)
^
fep_vi.c:340:13: warning: implicit declaration of function 'forward_n_word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_n_word (count);
                   ^
fep_vi.c:344:13: warning: implicit declaration of function 'forward_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_n_Word (count);
                   ^
fep_vi.c:348:13: warning: implicit declaration of function 'forward_to_end_of_n_word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_to_end_of_n_word (count);
                   ^
fep_vi.c:352:13: warning: implicit declaration of function 'forward_to_end_of_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_to_end_of_n_Word (count);
                   ^
fep_vi.c:356:13: warning: implicit declaration of function 'backward_n_word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) backward_n_word (count);
                   ^
fep_vi.c:360:13: warning: implicit declaration of function 'backward_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) backward_n_Word (count);
                   ^
fep_vi.c:365:13: warning: implicit declaration of function 'forward_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) forward_n_character (count);
                   ^
fep_vi.c:370:13: warning: implicit declaration of function 'backward_n_character' is invalid in C99 [-Wimplicit-function-declaration]
            (void) backward_n_character (count);
                   ^
fep_vi.c:405:13: warning: implicit declaration of function 'moveto' is invalid in C99 [-Wimplicit-function-declaration]
            (void) moveto (count - 1);
                   ^
fep_vi.c:424:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_c (c)
^
fep_vi.c:440:13: warning: implicit declaration of function 'delete_next_n_word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_next_n_word (count);
                   ^
fep_vi.c:444:13: warning: implicit declaration of function 'delete_next_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_next_n_Word (count);
                   ^
fep_vi.c:448:13: warning: implicit declaration of function 'delete_previous_n_word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_previous_n_word (count);
                   ^
fep_vi.c:452:13: warning: implicit declaration of function 'delete_previous_n_Word' is invalid in C99 [-Wimplicit-function-declaration]
            (void) delete_previous_n_Word (count);
                   ^
fep_vi.c:467:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_d (c)
^
fep_vi.c:509:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_new_line (c)
^
fep_vi.c:523:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
vi_ins_edit (c)
^
--- fep_set.o ---
20 warnings generated.
--- fep_hist.o ---
43 warnings generated.
--- fep_vi.o ---
29 warnings generated.
--- fep_util.o ---
30 warnings generated.
--- fep_main.o ---
70 warnings generated.
--- fep_com.o ---
139 warnings generated.
--- fep_edit.o ---
153 warnings generated.
--- fep ---
clang -o fep -O2 -Wno-error=return-type -I/usr/include    -DTERMIOS -DHAVE_PTMX fep_main.o fep_edit.o fep_hist.o fep_com.o fep_funcs.o fep_set.o  fep_vi.o fep_util.o fep_alias.o -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -ltermcap
fep_hist.o: In function `historyExtract':
fep_hist.c:(.text+0x4cc): undefined reference to `re_comp'
fep_hist.c:(.text+0x504): undefined reference to `re_exec'
fep_hist.c:(.text+0x558): undefined reference to `re_comp'
fep_hist.c:(.text+0x594): undefined reference to `re_exec'
fep_hist.o: In function `search_reverse_history':
fep_hist.c:(.text+0x627): undefined reference to `re_comp'
fep_hist.c:(.text+0x674): undefined reference to `re_exec'
fep_hist.o: In function `search_forward_history':
fep_hist.c:(.text+0x6c2): undefined reference to `re_comp'
fep_hist.c:(.text+0x6fa): undefined reference to `re_exec'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [fep] Error code 1

make: stopped in /data/scratch/misc/fep/work
1 error

make: stopped in /data/scratch/misc/fep/work
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/misc/fep
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/misc/fep
