=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mush-7.2.6.b4.pl1nb6 --- main.o --- --- init.o --- --- misc.o --- --- mail.o --- --- init.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c init.c --- main.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c main.c --- misc.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c misc.c --- mail.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c mail.c --- init.o --- In file included from mush.h:93:0, from init.c:4: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from init.c:4: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- main.o --- In file included from mush.h:93:0, from main.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from main.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- mail.o --- In file included from mush.h:93:0, from mail.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf --- misc.o --- In file included from mush.h:93:0, from misc.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from misc.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- mail.o --- In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from mail.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- init.o --- init.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] source(argc, argv) ^~~~~~ init.c: In function 'source': init.c:191:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] init.c: At top level: init.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] src_parse(file, fp, if_else, depth, line_no) ^~~~~~~~~ --- misc.o --- misc.c:8:1: warning: return type defaults to 'int' [-Wimplicit-int] chk_msg(s) ^~~~~~~ misc.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] next_msg() ^~~~~~~~ --- mail.o --- mail.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] do_mail(n, argv, list) ^~~~~~~ --- main.o --- main.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ --- misc.o --- misc.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] print_help(argc, argv) ^~~~~~~~~~ misc.c: In function 'print_help': misc.c:51:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] help(unused, str, file) ^~~~ misc.c: In function 'help': misc.c:65:1: warning: type of 'unused' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] get_msg_list(argv, list) ^~~~~~~~~~~~ --- main.o --- In file included from main.c:3:0: main.c: In function 'main': mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ main.c:133:13: note: in expansion of macro 'fputs' (void) fputs(p, stderr), exit(1); ^~~~~ --- misc.o --- misc.c:197:1: warning: return type defaults to 'int' [-Wimplicit-int] cmd_line(buf, list) ^~~~~~~~ misc.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] msg_flags(c, v, list) ^~~~~~~~~ misc.c: In function 'msg_flags': misc.c:292:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] --- mail.o --- mail.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] mail_someone(to, subject, cc, bcc, flgs, list) ^~~~~~~~~~~~ --- main.o --- main.c: At top level: main.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] do_version() ^~~~~~~~~~ --- mail.o --- mail.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] start_file(list) ^~~~~~~~~~ --- misc.o --- misc.c: At top level: misc.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] do_pager(buf, start_pager) ^~~~~~~~ misc.c: In function 'do_pager': misc.c:418:1: warning: type of 'start_pager' defaults to 'int' [-Wimplicit-int] In file included from misc.c:3:0: mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ misc.c:537:9: note: in expansion of macro 'fputs' return fputs(buf, pp); /* returns EOF if user exited pager */ ^~~~~ --- mail.o --- mail.c:585:1: warning: return type defaults to 'int' [-Wimplicit-int] add_to_letter(line) ^~~~~~~~~~~~~ --- misc.o --- misc.c: At top level: misc.c:576:1: warning: return type defaults to 'int' [-Wimplicit-int] c_more(p) ^~~~~~ --- mail.o --- In file included from mail.c:3:0: mail.c: In function 'add_to_letter': mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ mail.c:598:9: note: in expansion of macro 'fputs' (void) fputs(line, ed_fp); ^~~~~ --- misc.o --- misc.c:797:1: warning: return type defaults to 'int' [-Wimplicit-int] check_flags(flags) ^~~~~~~~~~~ --- hdrs.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c hdrs.c In file included from mush.h:93:0, from hdrs.c:15: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from hdrs.c:15: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ hdrs.c: In function 'read_header_field': hdrs.c:58:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] read_header_field(n, str) ^~~~~~~~~~~~~~~~~ hdrs.c: In function 'header_field': hdrs.c:98:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] header_field(n, str) ^~~~~~~~~~~~ hdrs.c: At top level: hdrs.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] do_hdrs(argc, argv, list) ^~~~~~~ hdrs.c: In function 'do_hdrs': hdrs.c:124:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] hdrs.c: At top level: hdrs.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] specl_hdrs(argv, list) ^~~~~~~~~~ hdrs.c: In function 'reply_to': hdrs.c:649:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] reply_to(n, all, buf) ^~~~~~~~ hdrs.c:649:1: warning: type of 'all' defaults to 'int' [-Wimplicit-int] hdrs.c: In function 'subject_to': hdrs.c:813:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] subject_to(n, buf) ^~~~~~~~~~ hdrs.c: In function 'cc_to': hdrs.c:826:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] cc_to(n, buf) ^~~~~ --- execute.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c execute.c In file included from mush.h:93:0, from execute.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from execute.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- commands.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c commands.c --- print.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c print.c --- commands.o --- In file included from mush.h:93:0, from commands.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from commands.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ commands.c:5:8: warning: type defaults to 'int' in declaration of 'toggle_debug' [-Wimplicit-int] static toggle_debug(), preserve(), respond(); ^~~~~~~~~~~~ commands.c:5:24: warning: type defaults to 'int' in declaration of 'preserve' [-Wimplicit-int] static toggle_debug(), preserve(), respond(); ^~~~~~~~ commands.c:5:36: warning: type defaults to 'int' in declaration of 'respond' [-Wimplicit-int] static toggle_debug(), preserve(), respond(); ^~~~~~~ commands.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] toggle_debug(argc, argv) ^~~~~~~~~~~~ commands.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] readmsg(x, argv, list) ^~~~~~~ commands.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] preserve(n, argv, list) ^~~~~~~~ commands.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] lpr(n, argv, list) ^~~ commands.c:316:1: warning: return type defaults to 'int' [-Wimplicit-int] save_msg(n, argv, list) /* argc isn't used, so use space for variable 'n' */ ^~~~~~~~ commands.c:491:1: warning: return type defaults to 'int' [-Wimplicit-int] respond(n, argv, list) ^~~~~~~ commands.c:545:1: warning: return type defaults to 'int' [-Wimplicit-int] cd(x, argv) /* argc, unused -- use space for a non-register variable */ ^~ commands.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] mush_quit(argc, argv) ^~~~~~~~~ commands.c:630:1: warning: return type defaults to 'int' [-Wimplicit-int] delete(argc, argv, list) ^~~~~~ commands.c:706:1: warning: return type defaults to 'int' [-Wimplicit-int] do_from(n, argv, list) ^~~~~~~ commands.c:764:1: warning: return type defaults to 'int' [-Wimplicit-int] sorter(cmd1, cmd2) ^~~~~~ commands.c:770:1: warning: return type defaults to 'int' [-Wimplicit-int] question_mark(x, argv) ^~~~~~~~~~~~~ --- print.o --- In file included from mush.h:93:0, from print.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from print.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ print.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] Fputs(line, fp) ^~~~~ --- file.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c file.c In file included from mush.h:93:0, from file.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from file.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ file.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] file_to_fp(p, fp, mode) ^~~~~~~~~~ In file included from file.c:3:0: file.c: In function 'file_to_fp': mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ file.c:200:13: note: in expansion of macro 'fputs' (void) fputs(buf, tmp_fp); ^~~~~ file.c: At top level: file.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] emptyfile(fp, fname) ^~~~~~~~~ file.c:243:1: warning: return type defaults to 'int' [-Wimplicit-int] nopenfiles(argc) ^~~~~~~~~~ file.c: In function 'nopenfiles': file.c:243:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] file.c: At top level: file.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] closefileds (n) ^~~~~~~~~~~ file.c: In function 'closefileds': file.c:273:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c: In function 'open_file': file.c:297:1: warning: type of 'program' defaults to 'int' [-Wimplicit-int] open_file(p, program, lockit) ^~~~~~~~~ file.c:297:1: warning: type of 'lockit' defaults to 'int' [-Wimplicit-int] file.c: At top level: file.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] open_list(names, files, size) ^~~~~~~~~ file.c: In function 'open_list': file.c:348:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] file.c: At top level: file.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] find_files(s, names, size, force) ^~~~~~~~~~ file.c: In function 'find_files': file.c:392:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] file.c:392:1: warning: type of 'force' defaults to 'int' [-Wimplicit-int] file.c: At top level: file.c:453:1: warning: return type defaults to 'int' [-Wimplicit-int] Access(file, mode) ^~~~~~ file.c: In function 'Access': file.c:453:1: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] --- signals.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c signals.c In file included from mush.h:93:0, from signals.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from signals.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ signals.c: In function 'intrpt': signals.c:44:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] intrpt(sig) ^~~~~~ signals.c: In function 'catch': signals.c:58:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] catch(sig) ^~~~~ signals.c: In function 'tostop': signals.c:125:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] tostop(sig) ^~~~~~ signals.c: In function 'stop_start': signals.c:134:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] stop_start(sig) ^~~~~~~~~~ signals.c: In function 'cleanup': signals.c:220:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] cleanup(sig) ^~~~~~~ signals.c: At top level: signals.c:296:1: warning: return type defaults to 'int' [-Wimplicit-int] get_new_mail(update_size) ^~~~~~~~~~~~ signals.c:350:1: warning: return type defaults to 'int' [-Wimplicit-int] show_new_mail() ^~~~~~~~~~~~~ signals.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] check_new_mail() ^~~~~~~~~~~~~~ signals.c: In function 'bus_n_seg': signals.c:472:1: warning: type of 'sig' defaults to 'int' [-Wimplicit-int] bus_n_seg(sig) ^~~~~~~~~ --- setopts.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c setopts.c In file included from mush.h:93:0, from setopts.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from setopts.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- msgs.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c msgs.c --- setopts.o --- setopts.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] add_option(list, argv) ^~~~~~~~~~ setopts.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] un_set(list, p) ^~~~~~ setopts.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] set(n, argv, list) ^~~ setopts.c:465:1: warning: return type defaults to 'int' [-Wimplicit-int] alts(argc, argv) ^~~~ setopts.c: In function 'alts': setopts.c:465:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] --- pick.o --- --- setopts.o --- setopts.c: At top level: setopts.c:524:1: warning: return type defaults to 'int' [-Wimplicit-int] save_opts(cnt, argv) ^~~~~~~~~ setopts.c: In function 'save_opts': setopts.c:524:1: warning: type of 'cnt' defaults to 'int' [-Wimplicit-int] --- pick.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c pick.c --- setopts.o --- setopts.c: At top level: setopts.c:788:1: warning: return type defaults to 'int' [-Wimplicit-int] do_alias(argc, argv) ^~~~~~~~ setopts.c: In function 'do_alias': setopts.c:788:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] --- sort.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c sort.c --- msgs.o --- In file included from mush.h:93:0, from msgs.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from msgs.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ msgs.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_msg(n, fp, flags, pattern) ^~~~~~~~ In file included from msgs.c:3:0: msgs.c: In function 'copy_msg': mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ msgs.c:109:6: note: in expansion of macro 'fputs' fputs(format_hdr(n, indent_str, FALSE) + 9, fp); /* magic 9 !! */ ^~~~~ msgs.c: At top level: msgs.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] copyback(prompt, final) ^~~~~~~~ --- pick.o --- In file included from mush.h:93:0, from pick.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from pick.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- msgs.o --- msgs.c:572:1: warning: return type defaults to 'int' [-Wimplicit-int] mail_size() ^~~~~~~~~ msgs.c: In function 'mail_status': msgs.c:600:1: warning: type of 'as_prompt' defaults to 'int' [-Wimplicit-int] mail_status(as_prompt) ^~~~~~~~~~~ msgs.c: At top level: msgs.c:795:1: warning: return type defaults to 'int' [-Wimplicit-int] load_folder(file, append, list) ^~~~~~~~~~~ --- pick.o --- pick.c:5:8: warning: type defaults to 'int' in declaration of 'find_pattern' [-Wimplicit-int] static find_pattern(), date1(), ago_date(); ^~~~~~~~~~~~ pick.c:5:24: warning: type defaults to 'int' in declaration of 'date1' [-Wimplicit-int] static find_pattern(), date1(), ago_date(); ^~~~~ pick.c:5:33: warning: type defaults to 'int' in declaration of 'ago_date' [-Wimplicit-int] static find_pattern(), date1(), ago_date(); ^~~~~~~~ pick.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] do_pick(n, argv, list) ^~~~~~~ pick.c: In function 'pick': pick.c:74:1: warning: type of 'verbose' defaults to 'int' [-Wimplicit-int] pick(argv, list, ret_list, verbose) ^~~~ pick.c:253:12: warning: implicit declaration of function 'find_dups'; did you mean 'find_files'? [-Wimplicit-function-declaration] matches = find_dups(head_first? head_cnt : msg_cnt, ^~~~~~~~~ find_files pick.c: At top level: pick.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] find_dups(cnt, check_list, ret_list) ^~~~~~~~~ pick.c:430:1: warning: return type defaults to 'int' [-Wimplicit-int] find_pattern(cnt, p, check_list, ret_list) ^~~~~~~~~~~~ --- sort.o --- In file included from mush.h:93:0, from sort.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from sort.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- pick.o --- pick.c:618:1: warning: return type defaults to 'int' [-Wimplicit-int] search(flags) ^~~~~~ pick.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] date1(p) ^~~~~ pick.c:829:1: warning: return type defaults to 'int' [-Wimplicit-int] ago_date(argv) ^~~~~~~~ --- sort.o --- sort.c:5:8: warning: type defaults to 'int' in declaration of 'pri_cmp' [-Wimplicit-int] static pri_cmp(); ^~~~~~~ sort.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] status_cmp(msg1, msg2) ^~~~~~~~~~ sort.c:172:1: warning: return type defaults to 'int' [-Wimplicit-int] author_cmp(msg1, msg2) ^~~~~~~~~~ sort.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] size_cmp(msg1, msg2) ^~~~~~~~ sort.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] subject_cmp(msg1, msg2) ^~~~~~~~~~~ sort.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] subj_with_re(msg1, msg2) ^~~~~~~~~~~~ sort.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] addressee_cmp(msg1, msg2) ^~~~~~~~~~~~~ sort.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] date_cmp(msg1, msg2) ^~~~~~~~ sort.c:304:1: warning: return type defaults to 'int' [-Wimplicit-int] pri_cmp(msg1, msg2) ^~~~~~~ sort.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] msg_cmp(msg1, msg2) ^~~~~~~ --- expr.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c expr.c In file included from mush.h:93:0, from expr.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from expr.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- strings.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c strings.c In file included from mush.h:93:0, from strings.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from strings.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ strings.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] lcase_strncmp(str1, str2, n) ^~~~~~~~~~~~~ strings.c: In function 'lcase_strncmp': strings.c:193:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] strings.c: At top level: strings.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] Strcpy(dst, src) ^~~~~~ strings.c: In function 'itoa': strings.c:262:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] itoa(n) ^~~~ strings.c: In function 'ctrl_strcpy': strings.c:488:1: warning: type of 'bind_format' defaults to 'int' [-Wimplicit-int] ctrl_strcpy(s_out, s_in, bind_format) ^~~~~~~~~~~ --- folders.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c folders.c In file included from mush.h:93:0, from folders.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from folders.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ folders.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] folder(argc, argv, list) ^~~~~~ folders.c: In function 'folder': folders.c:20:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] folders.c: At top level: folders.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] folders(argc, argv) ^~~~~~~ folders.c: In function 'folders': folders.c:276:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] folders.c: At top level: folders.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int] test_folder(name, prompt) ^~~~~~~~~~~ folders.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] merge_folders(n, argv, list) ^~~~~~~~~~~~~ folders.c: In function 'merge_folders': folders.c:346:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] folders.c: At top level: folders.c:431:1: warning: return type defaults to 'int' [-Wimplicit-int] do_undigest(n, argv, list) ^~~~~~~~~~~ folders.c: In function 'do_undigest': folders.c:431:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] folders.c: At top level: folders.c:553:1: warning: return type defaults to 'int' [-Wimplicit-int] undigest(n, fp, sep) ^~~~~~~~ In file included from folders.c:3:0: folders.c: In function 'undigest': mush.h:112:16: warning: implicit declaration of function 'Fputs'; did you mean 'puts'? [-Wimplicit-function-declaration] # define fputs Fputs /* See comments in print.c */ ^ folders.c:579:6: note: in expansion of macro 'fputs' if (fputs(from, fp) == EOF) ^~~~~ --- dates.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c dates.c --- loop.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c loop.c --- viewopts.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c viewopts.c --- dates.o --- In file included from mush.h:93:0, from dates.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from dates.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ dates.c:515:1: warning: return type defaults to 'int' [-Wimplicit-int] month_to_n(name) ^~~~~~~~~~ --- loop.o --- In file included from mush.h:93:0, from loop.c:9: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from loop.c:9: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- viewopts.o --- In file included from mush.h:93:0, from viewopts.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from viewopts.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- loop.o --- loop.c: In function 'add_history': loop.c:162:5: warning: type of 'un_used' defaults to 'int' [-Wimplicit-int] int add_history(un_used, argv) ^~~~~~~~~~~ loop.c: At top level: loop.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] do_command(argc, argv, list) ^~~~~~~~~~ loop.c: In function 'do_command': loop.c:266:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] loop.c: At top level: loop.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] exec_argv(argc, argv, list) ^~~~~~~~~ loop.c: In function 'exec_argv': loop.c:339:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] loop.c: At top level: loop.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] alias_stuff(b, argc, Argv) ^~~~~~~~~~~ loop.c: In function 'alias_stuff': loop.c:429:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] --- viewopts.o --- viewopts.c: In function 'variable_stuff': viewopts.c:573:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] variable_stuff(count, str, buf) ^~~~~~~~~~~~~~ --- loop.o --- loop.c: At top level: loop.c:684:1: warning: return type defaults to 'int' [-Wimplicit-int] varexp(ref) ^~~~~~ loop.c:866:1: warning: return type defaults to 'int' [-Wimplicit-int] variable_expand(str) ^~~~~~~~~~~~~~~ loop.c: In function 'mk_argv': loop.c:948:1: warning: type of 'final' defaults to 'int' [-Wimplicit-int] mk_argv(str, argc, final) ^~~~~~~ loop.c: At top level: loop.c:1319:1: warning: return type defaults to 'int' [-Wimplicit-int] disp_hist(n, argv) /* argc not used -- use space for the variable, "n" */ ^~~~~~~~~ loop.c: In function 'init_history': loop.c:1372:5: warning: type of 'newsize' defaults to 'int' [-Wimplicit-int] int init_history(newsize) ^~~~~~~~~~~~ --- curses.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c curses.c In file included from mush.h:93:0, from curses.c:5: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from curses.c:5: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ curses.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] curses_init(argc, argv) ^~~~~~~~~~~ curses.c: In function 'curses_init': curses.c:9:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] curses.c: At top level: curses.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] curses_command(c) ^~~~~~~~~~~~~~ curses.c:771:1: warning: return type defaults to 'int' [-Wimplicit-int] vrfy_update(redo) ^~~~~~~~~~~ curses.c: In function 'scrn_line': curses.c:808:1: warning: type of 'line' defaults to 'int' [-Wimplicit-int] scrn_line(line, buf) ^~~~~~~~~ curses.c: At top level: curses.c:838:1: warning: return type defaults to 'int' [-Wimplicit-int] curses_help_msg(visible) ^~~~~~~~~~~~~~~ curses.c:943:1: warning: return type defaults to 'int' [-Wimplicit-int] hit_return() ^~~~~~~~~~ curses.c:961:1: warning: return type defaults to 'int' [-Wimplicit-int] curses_msg_list(str, list, m_list) ^~~~~~~~~~~~~~~ --- curs_io.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c curs_io.c In file included from mush.h:93:0, from curs_io.c:4: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from curs_io.c:4: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ curs_io.c:8:8: warning: type defaults to 'int' in declaration of 'check_map' [-Wimplicit-int] static check_map(), line_wrap(); ^~~~~~~~~ curs_io.c:8:21: warning: type defaults to 'int' in declaration of 'line_wrap' [-Wimplicit-int] static check_map(), line_wrap(); ^~~~~~~~~ curs_io.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] Getstr(String, length, offset) ^~~~~~ curs_io.c: In function 'Getstr': curs_io.c:130:1: warning: type of 'offset' defaults to 'int' [-Wimplicit-int] curs_io.c: At top level: curs_io.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int] check_map(c, map_list) ^~~~~~~~~ curs_io.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] line_wrap(string, count) ^~~~~~~~~ curs_io.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] errbell(ret) ^~~~~~~ curs_io.c:534:1: warning: return type defaults to 'int' [-Wimplicit-int] completion(string, count, showlist, ignore) ^~~~~~~~~~ curs_io.c:682:1: warning: return type defaults to 'int' [-Wimplicit-int] fignore(argc, argvp) ^~~~~~~ --- bind.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c bind.c In file included from mush.h:93:0, from bind.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from bind.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ bind.c:7:8: warning: type defaults to 'int' in declaration of 'un_bind' [-Wimplicit-int] static un_bind(), c_bind(), do_bind(); ^~~~~~~ bind.c:7:19: warning: type defaults to 'int' in declaration of 'c_bind' [-Wimplicit-int] static un_bind(), c_bind(), do_bind(); ^~~~~~ bind.c:7:29: warning: type defaults to 'int' in declaration of 'do_bind' [-Wimplicit-int] static un_bind(), c_bind(), do_bind(); ^~~~~~~ bind.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] getcmd() ^~~~~~ bind.c:270:1: warning: return type defaults to 'int' [-Wimplicit-int] bind_it(len, argv) ^~~~~~~ bind.c: In function 'bind_it': bind.c:270:1: warning: type of 'len' defaults to 'int' [-Wimplicit-int] bind.c: At top level: bind.c:491:1: warning: return type defaults to 'int' [-Wimplicit-int] c_bind(str, opts) ^~~~~~ bind.c:540:1: warning: return type defaults to 'int' [-Wimplicit-int] do_bind(str, func, args, map_list) ^~~~~~~ bind.c:609:1: warning: return type defaults to 'int' [-Wimplicit-int] un_bind(p, map_list) ^~~~~~~ bind.c:639:1: warning: return type defaults to 'int' [-Wimplicit-int] prefix(a, b) ^~~~~~ --- lock.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c lock.c In file included from mush.h:93:0, from lock.c:21: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from lock.c:21: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- macros.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c macros.c --- lock.o --- lock.c:463:1: warning: return type defaults to 'int' [-Wimplicit-int] close_lock(filename, fp) ^~~~~~~~~~ --- options.o --- --- macros.o --- In file included from mush.h:93:0, from macros.c:4: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from macros.c:4: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- options.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c options.c --- macros.o --- macros.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] mac_push(str) ^~~~~~~~ macros.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] mac_queue(str) ^~~~~~~~~ macros.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] mac_pending() ^~~~~~~~~~~ macros.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] get_mac_input(newline) ^~~~~~~~~~~~~ macros.c:227:1: warning: return type defaults to 'int' [-Wimplicit-int] m_getchar() ^~~~~~~~~ macros.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] read_long_cmd (buf) ^~~~~~~~~~~~~ macros.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] reserved_cmd (buf, do_exec) ^~~~~~~~~~~~ macros.c: In function 'reserved_cmd': macros.c:293:1: warning: type of 'do_exec' defaults to 'int' [-Wimplicit-int] macros.c: At top level: macros.c:316:1: warning: return type defaults to 'int' [-Wimplicit-int] long_mac_cmd (c, do_exec) ^~~~~~~~~~~~ macros.c: In function 'long_mac_cmd': macros.c:316:1: warning: type of 'do_exec' defaults to 'int' [-Wimplicit-int] macros.c: At top level: macros.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] check_mac_bindings(buf) ^~~~~~~~~~~~~~~~~~ --- addrs.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c addrs.c --- options.o --- In file included from mush.h:93:0, from options.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from options.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- malloc.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c malloc.c --- options.o --- options.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] preparse_opts(argcp, argv) ^~~~~~~~~~~~~ options.c: In function 'parse_options': options.c:345:32: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (look_again && ++(**argvp) != '\0') ^~ options.c:345:20: note: did you mean to dereference the pointer? if (look_again && ++(**argvp) != '\0') ^~ --- addrs.o --- In file included from mush.h:93:0, from addrs.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from addrs.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ addrs.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] compare_addrs(list1, list2, ret_buf) ^~~~~~~~~~~~~ addrs.c: In function 'set_header': addrs.c:445:1: warning: type of 'do_prompt' defaults to 'int' [-Wimplicit-int] set_header(str, curstr, do_prompt) ^~~~~~~~~~ addrs.c: In function 'improve_uucp_paths': addrs.c:528:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] improve_uucp_paths(original, size, route_path) ^~~~~~~~~~~~~~~~~~ --- malloc.o --- In file included from mush.h:93:0, from malloc.c:22: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from malloc.c:22: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- addrs.o --- addrs.c: In function 'wrap_addrs': addrs.c:1123:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] wrap_addrs(str, n) ^~~~~~~~~~ --- malloc.o --- malloc.c: In function 'xfree': malloc.c:440:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp); ^~~~ malloc.c:440:2: warning: incompatible implicit declaration of built-in function 'free' malloc.c:440:2: note: include '' or provide a declaration of 'free' --- glob.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c glob.c --- command2.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c command2.c --- pop.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c pop.c --- pmush.o --- --- glob.o --- In file included from mush.h:93:0, from glob.c:4: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from glob.c:4: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- pmush.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c pmush.c --- command2.o --- In file included from mush.h:93:0, from command2.c:3: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from command2.c:3: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ --- glob.o --- glob.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] catv(s1, v1, s2, v2) ^~~~ glob.c:583:1: warning: return type defaults to 'int' [-Wimplicit-int] glob2(str, pat1, pat2) ^~~~~ --- command2.o --- command2.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] ls(x, argv) ^~ command2.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] sh(un_used, argv) ^~ command2.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] stop(argc, argv) ^~~~ command2.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] Setenv(i, argv) ^~~~~~ command2.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] Unsetenv(n, argv) ^~~~~~~~ command2.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] Printenv(argc, argv) ^~~~~~~~ command2.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] my_stty(un_used, argv) ^~~~~~~ command2.c:244:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_msg(i, argv, list) ^~~~~~~~ command2.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] pipe_msg(x, argv, list) ^~~~~~~~ command2.c:401:1: warning: return type defaults to 'int' [-Wimplicit-int] do_echo(n, argv) ^~~~~~~ command2.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int] eval_cmd (argc, argv, list) ^~~~~~~~ command2.c:512:1: warning: return type defaults to 'int' [-Wimplicit-int] await(argc, argv, list) ^~~~~ command2.c:548:1: warning: return type defaults to 'int' [-Wimplicit-int] mark_msg(x, argv, list) ^~~~~~~~ --- xcreat.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPOSIX -DCURSES -DBSD -DBSD44 -DSIGRET=void -DBASENAME -DENV_MAIL -DMSGS_DYNAMIC -c xcreat.c In file included from mush.h:93:0, from xcreat.c:30: strings.h:7:0: warning: "sprintf" redefined #define sprintf Sprintf In file included from /usr/include/stdio.h:597:0, from /usr/include/wchar.h:67, from /usr/include/curses.h:45, from mush.h:47, from xcreat.c:30: /usr/include/ssp/stdio.h:55:0: note: this is the location of the previous definition #define sprintf(str, ...) \ xcreat.c: In function 'ultoan': xcreat.c:87:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; /* within the set [0-9A-Za-z-_] */ ^ xcreat.c: At top level: xcreat.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] unique(full, p, mode) ^~~~~~ xcreat.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] myrename(old, newn) ^~~~~~~~ xcreat.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] xcreat(name, mode) ^~~~~~ --- mush --- loading... ld: mail.o: in function `start_file': mail.c:(.text+0x3c7f): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()