=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 DWB-20150517nb1 CXX=c++ LEX=lex ./cfgr C++ compiler: /pbulk/work/textproc/DWB/work/.cwrapper/bin/c++ Lexer: /pbulk/work/textproc/DWB/work/.tools/bin/lex ---- Making all in directory doc/pub ---- ---- Making all in directory doc/pub.att ---- ---- Making all in directory index/deroff ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o deroff deroff.c deroff.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] main(ac, av) ^~~~ deroff.c: In function 'main': deroff.c:97:11: warning: type defaults to 'int' in declaration of 'optchar' [-Wimplicit-int] register optchar; ^~~~~~~ deroff.c:102:20: warning: implicit declaration of function 'getflags'; did you mean 'getline'? [-Wimplicit-function-declaration] while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { ^~~~~~~~ getline deroff.c:130:3: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); ^~~~~ atol deroff.c:151:2: warning: implicit declaration of function 'work' [-Wimplicit-function-declaration] work(); ^~~~ deroff.c: At top level: deroff.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] skeqn() ^~~~~ deroff.c: In function 'skeqn': deroff.c:164:8: warning: implicit declaration of function 'eof'; did you mean 'feof'? [-Wimplicit-function-declaration] c = eof(); ^~~ feof deroff.c: At top level: deroff.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] eof() ^~~ deroff.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(s,p) ^~~~~ deroff.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] work() ^~~~ deroff.c: In function 'work': deroff.c:266:4: warning: implicit declaration of function 'regline'; did you mean 'getline'? [-Wimplicit-function-declaration] regline(NO,TWO); ^~~~~~~ getline deroff.c: At top level: deroff.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] regline(macline,constant) ^~~~~~~ deroff.c: In function 'regline': deroff.c:305:4: warning: implicit declaration of function 'putmac'; did you mean 'putc'? [-Wimplicit-function-declaration] putmac(line,constant); ^~~~~~ putc deroff.c: At top level: deroff.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] putmac(s,constant) ^~~~~~ deroff.c: In function 'putmac': deroff.c:320:11: warning: type defaults to 'int' in declaration of 'found' [-Wimplicit-int] register found; ^~~~~ deroff.c: In function 'comline': deroff.c:414:4: warning: implicit declaration of function 'stbl'; did you mean 'atol'? [-Wimplicit-function-declaration] stbl(); ^~~~ atol deroff.c:416:8: warning: implicit declaration of function 'tbl'; did you mean 'atol'? [-Wimplicit-function-declaration] else tbl(); ^~~ atol deroff.c: At top level: deroff.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int] tbl() ^~~ deroff.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] stbl() ^~~~ ---- Making all in directory index/mptx ---- ---- Making all in directory index/ndx ---- cp ndx.sh ndx; chmod 755 ndx gcc -O2 -DBSD4_2 -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^~~~~~ lex ndexer.l gcc -O2 -DBSD4_2 -c -o ndexer.o lex.yy.c ndexer.l: In function 'yylex': ndexer.l:130:2: warning: implicit declaration of function 'copy_in' [-Wimplicit-function-declaration] ([a-zA-Z0-9][a-zA-Z0-9&'/-]*)|([A-Z][.]) {copy_in (yytext); ^~~~~~~ ndexer.l:136:7: warning: implicit declaration of function 'w_activate' [-Wimplicit-function-declaration] w_activate (w_ptr, 'L'); /*lit match*/ ^~~~~~~~~~ ndexer.l:139:15: warning: implicit declaration of function 'ulcase'; did you mean 'close'? [-Wimplicit-function-declaration] if (ulcase (lc_token)) ^~~~~~ close ndexer.l:147:18: warning: implicit declaration of function 'rootword' [-Wimplicit-function-declaration] root_token[rootword(root_token)] = '\0'; ^~~~~~~~ ndexer.l:148:7: warning: implicit declaration of function 'match_roots'; did you mean 'fchroot'? [-Wimplicit-function-declaration] match_roots (wlist, root_token); ^~~~~~~~~~~ fchroot ndexer.l:155:10: warning: implicit declaration of function 'subj_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] {subj_search (); ^~~~~~~~~~~ bsearch ndexer.l:156:10: warning: implicit declaration of function 'write_context' [-Wimplicit-function-declaration] write_context (); ^~~~~~~~~~~~~ ndexer.l:157:10: warning: implicit declaration of function 'wri_subjmacro' [-Wimplicit-function-declaration] wri_subjmacro (); ^~~~~~~~~~~~~ ndexer.l:158:10: warning: implicit declaration of function 'return_lists'; did you mean 'getgrouplist'? [-Wimplicit-function-declaration] return_lists (); ^~~~~~~~~~~~ getgrouplist ndexer.l:161:11: warning: implicit declaration of function 'init_vars'; did you mean 'initstate'? [-Wimplicit-function-declaration] {init_vars (); ^~~~~~~~~ initstate ndexer.l:170:2: warning: implicit declaration of function 'flush_context' [-Wimplicit-function-declaration] ^[.']([SN]H?([ ][0-9]))[ \t]+ {flush_context (); ^~~~~~~~~~~~~ ndexer.l:254:8: warning: implicit declaration of function 'init_subj'; did you mean 'initgroups'? [-Wimplicit-function-declaration] init_subj (s_count);} ^~~~~~~~~ initgroups ndexer.l:262:8: warning: implicit declaration of function 'build_subj' [-Wimplicit-function-declaration] build_subj (fsec);} ^~~~~~~~~~ ndexer.l: At top level: ndexer.l:292:1: warning: return type defaults to 'int' [-Wimplicit-int] init_subj (subjno) ^~~~~~~~~ ndexer.l:308:1: warning: return type defaults to 'int' [-Wimplicit-int] print_subj() /*For debugging, prints internal subj list*/ ^~~~~~~~~~ ndexer.l:338:1: warning: return type defaults to 'int' [-Wimplicit-int] build_subj ( flag) ^~~~~~~~~~ ndexer.l: In function 'subj_insert': ndexer.l:521:27: warning: implicit declaration of function 's_match' [-Wimplicit-function-declaration] while ((s != NULL) && (s_match(subject, s) == FALSE)) ^~~~~~~ ndexer.l:528:3: warning: implicit declaration of function 'w_update'; did you mean 'truncate'? [-Wimplicit-function-declaration] w_update (slist); /*update all words in this subj*/ ^~~~~~~~ truncate ndexer.l: At top level: ndexer.l:538:1: warning: return type defaults to 'int' [-Wimplicit-int] s_match (subj1, subj2) ^~~~~~~ ndexer.l:563:1: warning: return type defaults to 'int' [-Wimplicit-int] w_update (s) ^~~~~~~~ ndexer.l:592:1: warning: return type defaults to 'int' [-Wimplicit-int] prnt_slist () ^~~~~~~~~~ ndexer.l:604:1: warning: return type defaults to 'int' [-Wimplicit-int] printtree (tree, c) ^~~~~~~~~ ndexer.l:623:1: warning: return type defaults to 'int' [-Wimplicit-int] w_activate (w_ptr, m_type) ^~~~~~~~~~ ndexer.l: In function 'w_activate': ndexer.l:631:13: warning: implicit declaration of function 'already_act' [-Wimplicit-function-declaration] {if ((i = already_act (w_ptr)) != -1) ^~~~~~~~~~~ ndexer.l: At top level: ndexer.l:663:1: warning: return type defaults to 'int' [-Wimplicit-int] match_roots (tree, root) ^~~~~~~~~~~ ndexer.l: In function 'match_roots': ndexer.l:675:10: warning: implicit declaration of function 'min'; did you mean 'link'? [-Wimplicit-function-declaration] if (min (r_ptr->rootp, len) < 4) ^~~ link ndexer.l: At top level: ndexer.l:729:1: warning: return type defaults to 'int' [-Wimplicit-int] subj_search() ^~~~~~~~~~~ ndexer.l:798:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_in (text) /*copies a string to the context buf*/ ^~~~~~~ ndexer.l:833:1: warning: return type defaults to 'int' [-Wimplicit-int] flush_context () ^~~~~~~~~~~~~ ndexer.l:846:1: warning: return type defaults to 'int' [-Wimplicit-int] write_context () ^~~~~~~~~~~~~ ndexer.l:869:1: warning: return type defaults to 'int' [-Wimplicit-int] wri_subjmacro () /*write subj indexing macros to pagefile and*/ ^~~~~~~~~~~~~ ndexer.l:888:1: warning: return type defaults to 'int' [-Wimplicit-int] return_lists () ^~~~~~~~~~~~ ndexer.l:908:1: warning: return type defaults to 'int' [-Wimplicit-int] init_vars () ^~~~~~~~~ ndexer.l:929:1: warning: return type defaults to 'int' [-Wimplicit-int] min (i, j) ^~~ ndexer.l:942:1: warning: return type defaults to 'int' [-Wimplicit-int] ndx_text (pfname) ^~~~~~~~ ndexer.l:956:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap () ^~~~~~ ndexer.l:991:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc,argv) ^~~~ rm -f lex.yy.c gcc -O2 -DBSD4_2 -c rootwd.c In file included from rootwd.c:13:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] egetd() ^~~~~ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^~~~~~ ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] able(a0, a1, ptr) ^~~~ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ace(a0, a1, ptr) ^~~ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] age(a0, a1, ptr) ^~~ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ance(a0, a1, ptr) ^~~~ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ant(a0, a1, ptr) ^~~ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cal(a0, a1, ptr) ^~~ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cle(a0, a1, ptr) ^~~ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ee(a0, a1, ptr) ^~ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ence(a0, a1, ptr) ^~~~ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ess(a0, a1, ptr) ^~~ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] est(a0, a1, ptr) ^~~ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ful(a0, a1, ptr) ^~~ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ible(a0, a1, ptr) ^~~~ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ic(a0, a1, ptr) ^~ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ice(a0, a1, ptr) ^~~ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ion(a0, a1, ptr) ^~~ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ional(a0, a1, ptr) ^~~~~ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] is(a0, a1, ptr) ^~ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ish(a0, a1, ptr) ^~~ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ist(a0, a1, ptr) ^~~ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ite(a0, a1, ptr) ^~~ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ive(a0, a1, ptr) ^~~ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ize(a0, a1, ptr) ^~~ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lar(a0, a1, ptr) ^~~ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] less(a0, a1, ptr) ^~~~ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] man(a0, a1, ptr) ^~~ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ment(a0, a1, ptr) ^~~~ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ness(a0, a1, ptr) ^~~~ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ous(a0, a1, ptr) ^~~ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ship(a0, a1, ptr) ^~~~ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ss(a0, a1, ptr) ^~ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ure(a0, a1, ptr) ^~~ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] us(a0, a1, ptr) ^~ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ing(a0, a1, ptr) ^~~ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ed(a0, a1, ptr) ^~ rootwd.c: At top level: rootwd.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] rootword (token) ^~~~~~~~ rootwd.c: In function 'rootword': rootwd.c:41:6: warning: implicit declaration of function 'string'; did you mean 'stdin'? [-Wimplicit-function-declaration] if (string (token, TOKSIZE)) /*if token is a string*/ { ^~~~~~ stdin rootwd.c:48:13: warning: implicit declaration of function 'except'; did you mean 'ence'? [-Wimplicit-function-declaration] return (except(ed, token, len, 2)); ^~~~~~ ence rootwd.c: At top level: rootwd.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] except (endg, token, len, end) ^~~~~~ rootwd.c: In function 'except': rootwd.c:176:2: warning: implicit declaration of function 'strn_rev'; did you mean 'strnlen'? [-Wimplicit-function-declaration] strn_rev (token, rtok, (len - end)); /*reverse string minus ending*/ ^~~~~~~~ strnlen gcc -O2 -DBSD4_2 -c space.c gcc -O2 -DBSD4_2 -c str.c gcc -O2 -DBSD4_2 -c strr.c strr.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] strn_rev (str, rstr, n) ^~~~~~~~ gcc -O2 -DBSD4_2 -Wl,-zrelro -Wl,-R/usr/pkg/lib case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer ld: ndexer.o: in function `ndx_text': lex.yy.c:(.text+0x1751): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() gcc -O2 -DBSD4_2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ndxformat ndxformat.c ndxformat.c:9:0: warning: "gets" redefined #define gets(s) fgets(s, sizeof(s), stdin) In file included from /usr/include/stdio.h:597:0, from ndxformat.c:1: /usr/include/ssp/stdio.h:67:0: note: this is the location of the previous definition #define gets(str) \ ndxformat.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ gcc -O2 -DBSD4_2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o pages pages.c pages.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ pages.c: In function 'main': pages.c:37:3: warning: implicit declaration of function 'procnosect'; did you mean 'pclose'? [-Wimplicit-function-declaration] procnosect(); ^~~~~~~~~~ pclose pages.c:40:3: warning: implicit declaration of function 'procsect' [-Wimplicit-function-declaration] procsect(); ^~~~~~~~ pages.c: At top level: pages.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] procnosect() ^~~~~~~~~~ pages.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] procsect() ^~~~~~~~ gcc -O2 -DBSD4_2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o sbjprep sbjprep.c sbjprep.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ---- Making all in directory index/ptx ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ptx ptx.c ptx.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ ptx.c: In function 'main': ptx.c:125:6: warning: implicit declaration of function 'diag'; did you mean 'div'? [-Wimplicit-function-declaration] diag("Wrong width:",*optarg); ^~~~ div ptx.c:232:7: warning: implicit declaration of function 'storeh' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^~~~~~ ptx.c:232:14: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^~~~ ptx.c:261:3: warning: implicit declaration of function 'cmpline'; did you mean 'getline'? [-Wimplicit-function-declaration] cmpline(pend); ^~~~~~~ getline ptx.c:276:9: warning: implicit declaration of function 'wait'; did you mean 'main'? [-Wimplicit-function-declaration] while(wait(&status) != pid); ^~~~ main ptx.c:280:2: warning: implicit declaration of function 'getsort'; did you mean 'getopt'? [-Wimplicit-function-declaration] getsort(); ^~~~~~~ getopt ptx.c: At top level: ptx.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] diag(s,arg) ^~~~ ptx.c: In function 'dwb_getline': ptx.c:302:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c: At top level: ptx.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpline(pend) ^~~~~~~ ptx.c: In function 'cmpline': ptx.c:362:9: warning: implicit declaration of function 'cmpword' [-Wimplicit-function-declaration] if(cmpword(pstrt,pchar,cp)){ ^~~~~~~ ptx.c:365:8: warning: implicit declaration of function 'putline'; did you mean 'getline'? [-Wimplicit-function-declaration] putline(pstrt,pend); ^~~~~~~ getline ptx.c: At top level: ptx.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpword(cpp,pend,hpp) ^~~~~~~ ptx.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] putline(strt, end) ^~~~~~~ ptx.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] getsort() ^~~~~~~ ptx.c: In function 'getsort': ptx.c:414:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c:458:4: warning: implicit declaration of function 'putout'; did you mean 'getopt'? [-Wimplicit-function-declaration] putout(p1a,p1b); ^~~~~~ getopt ptx.c: In function 'rtrim': ptx.c:492:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *rtrim(a,c,d) ^~~~~ ptx.c: In function 'ltrim': ptx.c:505:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *ltrim(c,b,d) ^~~~~ ptx.c: At top level: ptx.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int] putout(strt,end) ^~~~~~ ptx.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(strtp,endp) ^~~~ ptx.c:565:1: warning: return type defaults to 'int' [-Wimplicit-int] storeh(num,strtp) ^~~~~~ ld: /tmp//cciZYldN.o: in function `main': ptx.c:(.text.startup+0x39d): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory index/subj ---- cp subj.sh subj; chmod 755 subj cp parts.sh parts; chmod 755 parts lex sbj1.l gcc -O2 -c -o sbj1.o lex.yy.c sbj1.l: In function 'yylex': sbj1.l:53:3: warning: implicit declaration of function 'skip' [-Wimplicit-function-declaration] ^[.]EQ.*[\n] { skip ('E');} ^~~~ sbj1.l:85:7: warning: implicit declaration of function 'italic_arg' [-Wimplicit-function-declaration] {italic_arg(); ^~~~~~~~~~ sbj1.l: At top level: sbj1.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] skip (type) ^~~~ sbj1.l:280:1: warning: return type defaults to 'int' [-Wimplicit-int] italic_arg() ^~~~~~~~~~ sbj1.l:326:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ rm -f lex.yy.c gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib sbj1.o -o sbj1 -lfl lex sbj2.l sbj2.l:65: warning, rule cannot be matched gcc -O2 -c -o sbj2.o lex.yy.c sbj2.l: In function 'yylex': sbj2.l:70:7: warning: implicit declaration of function 'writesubj'; did you mean 'write'? [-Wimplicit-function-declaration] {writesubj(type); ^~~~~~~~~ write sbj2.l:71:7: warning: implicit declaration of function 'reset_ptrs'; did you mean 'yyset_extra'? [-Wimplicit-function-declaration] reset_ptrs(); ^~~~~~~~~~ yyset_extra sbj2.l: At top level: sbj2.l:137:1: warning: return type defaults to 'int' [-Wimplicit-int] writesubj (type) ^~~~~~~~~ sbj2.l:181:1: warning: return type defaults to 'int' [-Wimplicit-int] reset_ptrs () ^~~~~~~~~~ rm -f lex.yy.c gcc -O2 -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^~~~~~ gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib sbj2.o case.o -o sbj2 -lfl lex sbj3.l gcc -O2 -c -o sbj3.o lex.yy.c sbj3.l: In function 'yylex': sbj3.l:54:6: warning: implicit declaration of function 'storeterm'; did you mean 'stresep'? [-Wimplicit-function-declaration] storeterm (); ^~~~~~~~~ stresep sbj3.l:61:6: warning: implicit declaration of function 'writesubj'; did you mean 'write'? [-Wimplicit-function-declaration] writesubj (); ^~~~~~~~~ write sbj3.l:62:6: warning: implicit declaration of function 'reset_ptrs'; did you mean 'yyset_extra'? [-Wimplicit-function-declaration] reset_ptrs(); ^~~~~~~~~~ yyset_extra sbj3.l: At top level: sbj3.l:72:1: warning: return type defaults to 'int' [-Wimplicit-int] storeterm() ^~~~~~~~~ sbj3.l: In function 'storeterm': sbj3.l:73:7: warning: implicit declaration of function 'omit'; did you mean 'exit'? [-Wimplicit-function-declaration] { if (omit(yytext) == FALSE) ^~~~ exit sbj3.l: At top level: sbj3.l:93:1: warning: return type defaults to 'int' [-Wimplicit-int] writesubj () ^~~~~~~~~ sbj3.l:106:1: warning: return type defaults to 'int' [-Wimplicit-int] reset_ptrs () ^~~~~~~~~~ rm -f lex.yy.c gcc -O2 -c omit.c omit.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] omit (word) ^~~~ gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib sbj3.o case.o omit.o -o sbj3 -lfl lex nwords.l gcc -O2 -c -o nwords.o lex.yy.c In file included from nwords.l:32:0: nhash.h: In function 'aahash': nhash.h:37:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^~~~~~ nhash.h:37:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] nhash.h: At top level: nhash.h:71:1: warning: return type defaults to 'int' [-Wimplicit-int] getd() ^~~~ nhash.h: In function 'lookup': nhash.h:87:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lookup(a0, a1, ptr) ^~~~~~ nhash.h: In function 'ary': nhash.h:100:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ary(a0, a1, ptr) ^~~ nhash.h: In function 'cy': nhash.h:113:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cy(a0, a1, ptr) ^~ nhash.h: In function 'ery': nhash.h:126:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ery(a0, a1, ptr) ^~~ nhash.h: In function 'fy': nhash.h:139:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] fy(a0, a1, ptr) ^~ nhash.h: In function 'gy': nhash.h:152:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] gy(a0, a1, ptr) ^~ nhash.h: In function 'ity': nhash.h:165:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ity(a0, a1, ptr) ^~~ nhash.h: In function 'ly': nhash.h:178:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ly(a0, a1, ptr) ^~ nhash.h: In function 'ory': nhash.h:191:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ory(a0, a1, ptr) ^~~ nhash.h: In function 'ry': nhash.h:204:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ry(a0, a1, ptr) ^~ nhash.h: In function 'ty': nhash.h:217:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ty(a0, a1, ptr) ^~ nhash.h: At top level: nhash.h:243:1: warning: return type defaults to 'int' [-Wimplicit-int] ygetd() ^~~~~ In file included from nwords.l:35:0: abbrev.h: In function 'abbrev': abbrev.h:17:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] abbrev(a0, a1, ptr) ^~~~~~ abbrev.h: At top level: abbrev.h:25:1: warning: return type defaults to 'int' [-Wimplicit-int] getab() ^~~~~ nwords.l: In function 'yylex': nwords.l:84:3: warning: implicit declaration of function 'pos' [-Wimplicit-function-declaration] pos(1); ^~~ nwords.l:168:7: warning: implicit declaration of function 'ahead'; did you mean 'pread'? [-Wimplicit-function-declaration] if(ahead() == 0)dot=1; ^~~~~ pread nwords.l:319:14: warning: implicit declaration of function 'look'; did you mean 'lockf'? [-Wimplicit-function-declaration] case 'c': look(cy,yyleng-2,NOUN); ^~~~ lockf nwords.l: At top level: nwords.l:457:1: warning: return type defaults to 'int' [-Wimplicit-int] look(f,n,cc) ^~~~ nwords.l:475:1: warning: return type defaults to 'int' [-Wimplicit-int] pos(flg){ ^~~ nwords.l: In function 'pos': nwords.l:475:1: warning: type of 'flg' defaults to 'int' [-Wimplicit-int] nwords.l: At top level: nwords.l:493:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ nwords.l:520:1: warning: return type defaults to 'int' [-Wimplicit-int] ahead(){ ^~~~~ rm -f lex.yy.c gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib nwords.o -o style1 -lfl lex end.l gcc -O2 -c -o end.o lex.yy.c In file included from end.l:28:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] egetd() ^~~~~ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^~~~~~ ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] able(a0, a1, ptr) ^~~~ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ace(a0, a1, ptr) ^~~ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] age(a0, a1, ptr) ^~~ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ance(a0, a1, ptr) ^~~~ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ant(a0, a1, ptr) ^~~ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cal(a0, a1, ptr) ^~~ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cle(a0, a1, ptr) ^~~ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ee(a0, a1, ptr) ^~ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ence(a0, a1, ptr) ^~~~ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ess(a0, a1, ptr) ^~~ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] est(a0, a1, ptr) ^~~ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ful(a0, a1, ptr) ^~~ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ible(a0, a1, ptr) ^~~~ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ic(a0, a1, ptr) ^~ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ice(a0, a1, ptr) ^~~ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ion(a0, a1, ptr) ^~~ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ional(a0, a1, ptr) ^~~~~ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] is(a0, a1, ptr) ^~ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ish(a0, a1, ptr) ^~~ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ist(a0, a1, ptr) ^~~ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ite(a0, a1, ptr) ^~~ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ive(a0, a1, ptr) ^~~ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ize(a0, a1, ptr) ^~~ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lar(a0, a1, ptr) ^~~ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] less(a0, a1, ptr) ^~~~ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] man(a0, a1, ptr) ^~~ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ment(a0, a1, ptr) ^~~~ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ness(a0, a1, ptr) ^~~~ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ous(a0, a1, ptr) ^~~ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ship(a0, a1, ptr) ^~~~ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ss(a0, a1, ptr) ^~ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ure(a0, a1, ptr) ^~~ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] us(a0, a1, ptr) ^~ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ing(a0, a1, ptr) ^~~ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ed(a0, a1, ptr) ^~ end.l: In function 'yylex': end.l:49:2: warning: implicit declaration of function 'look'; did you mean 'lockf'? [-Wimplicit-function-declaration] look(ic,2,ADJ); ^~~~ lockf end.l: At top level: end.l:221:1: warning: return type defaults to 'int' [-Wimplicit-int] look(f,n,nc) ^~~~ end.l:259:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap(){ ^~~~~~ rm -f lex.yy.c gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib end.o -o style2 -lfl lex part.l part.l:141: warning, rule cannot be matched gcc -O2 -c -o part.o lex.yy.c In file included from part.l:25:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^~~~~~ In file included from part.l:27:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^~~~~~~~ part.l: In function 'yylex': part.l:178:7: warning: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration] jj=scan(1,',',0); ^~~~ scanf part.l:197:2: warning: implicit declaration of function 'outp'; did you mean 'dup'? [-Wimplicit-function-declaration] outp(); ^~~~ dup part.l: At top level: part.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap(){ ^~~~~~ part.l: In function 'wperc': part.l:331:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] wperc(a) ^~~~~ part.l: In function 'sperc': part.l:336:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] sperc(a) ^~~~~ part.l: In function 'typersent': part.l:341:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] typersent(a) ^~~~~~~~~ part.l: In function 'vperc': part.l:346:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] vperc(a) ^~~~~ part.l: At top level: part.l:351:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ part.l: In function 'main': part.l:351:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O2 -c pscan.c In file included from pscan.c:13:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^~~~~~~~ pscan.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] scan(si, ce, command) /*scan a phrase */ ^~~~ pscan.c: In function 'scan': pscan.c:25:1: warning: type of 'command' defaults to 'int' [-Wimplicit-int] pscan.c:41:9: warning: implicit declaration of function 'getv'; did you mean 'getv2'? [-Wimplicit-function-declaration] verb = getv(i, ce); /*get verb if obvious*/ ^~~~ getv2 pscan.c:43:7: warning: implicit declaration of function 'getnoun'; did you mean 'notnoun'? [-Wimplicit-function-declaration] j = getnoun(i, ce); /*get subject*/ ^~~~~~~ notnoun pscan.c:148:8: warning: implicit declaration of function 'who' [-Wimplicit-function-declaration] i = who(i, ce); ^~~ pscan.c: At top level: pscan.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int] getv(si, ce) ^~~~ pscan.c:595:1: warning: return type defaults to 'int' [-Wimplicit-int] getnoun(k, ce) ^~~~~~~ pscan.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] who(kk, ce) ^~~ gcc -O2 -c outp.c In file included from outp.c:13:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^~~~~~ In file included from outp.c:15:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^~~~~~~~ gcc -O2 -c extern.c gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib part.o pscan.o outp.o extern.o -o style3 -lfl ---- Making all in directory laserjet/devpcl ---- ---- Making all in directory laserjet/dpcl ---- gcc -O2 -DBSD4_2 -c dpcl.c dpcl.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ dpcl.c: In function 'main': dpcl.c:154:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* interrupt handling */ ^~~~~~~~~~~~ strsignal dpcl.c:155:5: warning: implicit declaration of function 'options'; did you mean 'htons'? [-Wimplicit-function-declaration] options(); /* command line options */ ^~~~~~~ htons dpcl.c:156:5: warning: implicit declaration of function 'rasterlist'; did you mean 'strlcat'? [-Wimplicit-function-declaration] rasterlist(); /* grab raster file data */ ^~~~~~~~~~ strlcat dpcl.c:157:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* translate the input files */ ^~~~~~~~~ dpcl.c:158:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* clean up */ ^~~~ dpcl.c:159:5: warning: implicit declaration of function 'account'; did you mean 'popcount'? [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ popcount dpcl.c: At top level: dpcl.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ dpcl.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ dpcl.c: In function 'options': dpcl.c:210:19: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, names)) != EOF ) { ^~~~~~ cgetset dpcl.c:226:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ dpcl.c:258:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't open accounting file %s", optarg); ^~~~~ perror dpcl.c: At top level: dpcl.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ dpcl.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ dpcl.c: In function 'arguments': dpcl.c:343:2: warning: implicit declaration of function 'conv'; did you mean 'cosl'? [-Wimplicit-function-declaration] conv(stdin); ^~~~ cosl dpcl.c: At top level: dpcl.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ dpcl.c: In function 'done': dpcl.c:375:2: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ dpcl.c: At top level: dpcl.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ dpcl.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^~~~ dpcl.c: In function 'conv': dpcl.c:416:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* only do output after a page command */ ^~~~~~~~ select dpcl.c:442:12: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] put1(chindex(str)); ^~~~~~~ rindex dpcl.c:447:7: warning: implicit declaration of function 'oput'; did you mean 'put1'? [-Wimplicit-function-declaration] oput(m); ^~~~ put1 dpcl.c:452:4: warning: implicit declaration of function 't_sf'; did you mean 'tanf'? [-Wimplicit-function-declaration] t_sf(); ^~~~ tanf dpcl.c:456:5: warning: implicit declaration of function 'drawline'; did you mean 'raise'? [-Wimplicit-function-declaration] drawline(n, m); ^~~~~~~~ raise dpcl.c:467:8: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] drawcirc(n); ^~~~~~~~ dpcl.c:472:8: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] drawellip(m, n); ^~~~~~~~~ dpcl.c:477:8: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] drawarc(n, m, n1, m1); ^~~~~~~ dpcl.c:483:8: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] drawwig(buf); /* WRONG!! */ ^~~~~~~ dpcl.c:502:7: warning: implicit declaration of function 'setsize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~~ getbsize dpcl.c:502:15: warning: implicit declaration of function 't_size'; did you mean 'getbsize'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~ getbsize dpcl.c:507:7: warning: implicit declaration of function 'setfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~~ mapfont dpcl.c:507:15: warning: implicit declaration of function 't_font'; did you mean 'mapfont'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~ mapfont dpcl.c:535:7: warning: implicit declaration of function 't_page'; did you mean '__pure'? [-Wimplicit-function-declaration] t_page(n); ^~~~~~ __pure dpcl.c:550:7: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] devcntrl(fp); ^~~~~~~~ iscntrl dpcl.c: At top level: dpcl.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) ^~~~~~~~ dpcl.c: In function 'devcntrl': dpcl.c:585:3: warning: implicit declaration of function 't_init'; did you mean 'lrint'? [-Wimplicit-function-declaration] t_init(); ^~~~~~ lrint dpcl.c:608:3: warning: implicit declaration of function 'loadfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] loadfont(n, str, str1); ^~~~~~~~ mapfont dpcl.c: At top level: dpcl.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] loadfont(m, f, dir) ^~~~~~~~ dpcl.c: In function 'loadfont': dpcl.c:649:10: warning: implicit declaration of function 'mountfont'; did you mean 'loadfont'? [-Wimplicit-function-declaration] if ( mountfont(path, m) == -1 ) { ^~~~~~~~~ loadfont dpcl.c: At top level: dpcl.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] loadspecial() ^~~~~~~~~~~ dpcl.c:720:1: warning: return type defaults to 'int' [-Wimplicit-int] t_init() ^~~~~~ dpcl.c: In function 't_init': dpcl.c:736:7: warning: implicit declaration of function 'getdesc'; did you mean 'getenv'? [-Wimplicit-function-declaration] if ( getdesc(path) == -1 ) ^~~~~~~ getenv dpcl.c: At top level: dpcl.c:754:1: warning: return type defaults to 'int' [-Wimplicit-int] t_page(pg) ^~~~~~ dpcl.c:785:1: warning: return type defaults to 'int' [-Wimplicit-int] t_size(n) ^~~~~~ dpcl.c:814:1: warning: return type defaults to 'int' [-Wimplicit-int] t_font(s) ^~~~~~ dpcl.c:847:1: warning: return type defaults to 'int' [-Wimplicit-int] t_hmove() ^~~~~~~ dpcl.c:869:1: warning: return type defaults to 'int' [-Wimplicit-int] t_vmove() ^~~~~~~ dpcl.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(n) ^~~~~~~ dpcl.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(m) ^~~~~~~ dpcl.c:931:1: warning: return type defaults to 'int' [-Wimplicit-int] t_sf() ^~~~ dpcl.c: In function 't_sf': dpcl.c:941:26: warning: implicit declaration of function 'mounted'; did you mean 'round'? [-Wimplicit-function-declaration] if ( tf == stdout && mounted(font) ) { ^~~~~~~ round dpcl.c:942:2: warning: implicit declaration of function 'getrastdata'; did you mean 'setstate'? [-Wimplicit-function-declaration] getrastdata(dwb_mount[font]->name, pstab[size-1]); ^~~~~~~~~~~ setstate dpcl.c:943:2: warning: implicit declaration of function 'setfamily' [-Wimplicit-function-declaration] setfamily(); ^~~~~~~~~ dpcl.c: In function 'put1': dpcl.c:976:15: warning: implicit declaration of function 'onfont'; did you mean 't_font'? [-Wimplicit-function-declaration] if ( (i = onfont(lastc, k)) == -1 && smnt > 0 ) ^~~~~~ t_font dpcl.c: At top level: dpcl.c:996:1: warning: return type defaults to 'int' [-Wimplicit-int] oput(c) ^~~~ dpcl.c: In function 'oput': dpcl.c:1019:2: warning: implicit declaration of function 'download' [-Wimplicit-function-declaration] download(c); ^~~~~~~~ dpcl.c: At top level: dpcl.c:1028:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ dpcl.c: In function 'redirect': dpcl.c:1043:21: warning: implicit declaration of function 'in_olist'; did you mean 'in_port_t'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ in_port_t gcc -O2 -DBSD4_2 -c draw.c draw.c: In function 'drawline': draw.c:37:2: warning: implicit declaration of function 'setsize'; did you mean 'getline'? [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^~~~~~~ getline draw.c:37:10: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^~~~~~ draw.c:48:4: warning: implicit declaration of function 'put1'; did you mean 'putw'? [-Wimplicit-function-declaration] put1(drawdot); ^~~~ putw draw.c: At top level: draw.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] drawwig(s) /* draw wiggly line */ ^~~~~~~ draw.c: In function 'drawwig': draw.c:117:10: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] x[N] = atoi(temp); ^~~~ atan draw.c:131:14: warning: implicit declaration of function 'dist'; did you mean 'rint'? [-Wimplicit-function-declaration] numdots = (dist(x[i],y[i], x[i+1],y[i+1]) + dist(x[i+1],y[i+1], x[i+2],y[i+2])) / 2; ^~~~ rint draw.c: At top level: draw.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] drawcirc(d) ^~~~~~~~ draw.c: In function 'drawcirc': draw.c:170:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:176:2: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] conicarc(hpos + d/2, -vpos, hpos, -vpos, hpos, -vpos, d/2, d/2); ^~~~~~~~ draw.c: At top level: draw.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] dist(x1, y1, x2, y2) /* integer distance from x1,y1 to x2,y2 */ ^~~~ draw.c: In function 'dist': draw.c:181:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] drawarc(dx1, dy1, dx2, dy2) ^~~~~~~ draw.c: In function 'drawarc': draw.c:190:1: warning: type of 'dx1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dx2' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] drawellip(a, b) ^~~~~~~~~ draw.c: In function 'drawellip': draw.c:202:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:202:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] conicarc(x, y, x0, y0, x1, y1, a, b) ^~~~~~~~ draw.c: In function 'conicarc': draw.c:215:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c:366:4: warning: implicit declaration of function 'putdot'; did you mean 'putw'? [-Wimplicit-function-declaration] putdot((int)xc, (int)yc); ^~~~~~ putw draw.c: At top level: draw.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] putdot(x, y) ^~~~~~ draw.c: In function 'putdot': draw.c:423:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:423:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -O2 -DBSD4_2 -c font.c font.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] getdesc(path) ^~~~~~~ font.c: In function 'getdesc': font.c:74:3: warning: implicit declaration of function 'chadd'; did you mean 'chname'? [-Wimplicit-function-declaration] chadd(buf); ^~~~~ chname font.c: At top level: font.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] getfont(path, fpos) ^~~~~~~ font.c: In function 'getfont': font.c:122:2: warning: implicit declaration of function 'freefonts'; did you mean 'getfont'? [-Wimplicit-function-declaration] freefonts(); ^~~~~~~~~ getfont font.c:130:6: warning: implicit declaration of function 'release'; did you mean 'rename'? [-Wimplicit-function-declaration] release(fpos->name); ^~~~~~~ rename font.c:142:13: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] if ( (n = chindex(ch)) == -1 ) ^~~~~~~ rindex font.c: At top level: font.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] mountfont(path, m) ^~~~~~~~~ font.c: In function 'mountfont': font.c:234:34: warning: implicit declaration of function 'findfont'; did you mean 'mountfont'? [-Wimplicit-function-declaration] dwb_mount[m] = fpos = &fonts[findfont(path)]; ^~~~~~~~ mountfont font.c: At top level: font.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] freefonts() ^~~~~~~~~ font.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] findfont(path) ^~~~~~~~ font.c: In function 'findfont': font.c:272:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ font.c:281:15: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] for ( n = hash(path, MAXFONTS+2); fonts[n].state != NEWFONT; n = (n+1) % (MAXFONTS+2) ) ^~~~ font.c: At top level: font.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] mounted(m) ^~~~~~~ font.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] onfont(c, m) ^~~~~~ font.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] chwidth(n, m) ^~~~~~~ font.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] chcode(n, m) ^~~~~~ font.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] chindex(s) ^~~~~~~ font.c: In function 'chindex': font.c:392:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] chadd(s) ^~~~~ font.c: In function 'chadd': font.c:416:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c:426:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "out of table space adding character %s", s); ^~~~~ perror font.c: At top level: font.c:457:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(s, l) ^~~~ font.c: In function 'hash': font.c:464:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] release(ptr) ^~~~~~~ font.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpmount(m) ^~~~~~~~~ font.c: In function 'dumpmount': font.c:563:2: warning: implicit declaration of function 'dumpfont'; did you mean 'dumpmount'? [-Wimplicit-function-declaration] dumpfont((dwb_mount[m] - &fonts[0])); ^~~~~~~~ dumpmount font.c: At top level: font.c:570:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpfont(n) ^~~~~~~~ gcc -O2 -DBSD4_2 -c glob.c gcc -O2 -DBSD4_2 -c misc.c misc.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] out_list(str) ^~~~~~~~ misc.c: In function 'out_list': misc.c:36:17: warning: implicit declaration of function 'str_convert' [-Wimplicit-function-declaration] start = stop = str_convert(&str, 0); ^~~~~~~~~~~ misc.c:42:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "illegal range %d-%d", start, stop); ^~~~~ perror misc.c: At top level: misc.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] in_olist(num) ^~~~~~~~ misc.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] cat(file) ^~~ misc.c: In function 'cat': misc.c:107:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) ^~~~ fread misc.c:108:2: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(fd_out, buf, count); ^~~~~ fwrite misc.c:110:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd_in); ^~~~~ pclose misc.c: At top level: misc.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] putint(n, fp) ^~~~~~ misc.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] getint(fp) ^~~~~~ misc.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] str_convert(str, err) ^~~~~~~~~~~ misc.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] error(kind, mesg, a1, a2, a3) ^~~~~ misc.c: In function 'error': misc.c:222:6: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ gcc -O2 -DBSD4_2 -c rast.c rast.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] getfamdata(f, s) ^~~~~~~~~~ rast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] getrastdata(f, s) ^~~~~~~~~~~ rast.c: In function 'getrastdata': rast.c:87:9: warning: implicit declaration of function 'mapsize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] s = mapsize(f, s); /* best available size */ ^~~~~~~ getbsize rast.c:94:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "job uses too many raster files"); ^~~~~ perror rast.c:105:2: warning: implicit declaration of function 'readrastfile' [-Wimplicit-function-declaration] readrastfile(f, s); ^~~~~~~~~~~~ rast.c:108:2: warning: implicit declaration of function 'getoffsets'; did you mean 'cgetset'? [-Wimplicit-function-declaration] getoffsets(fam); ^~~~~~~~~~ cgetset rast.c: At top level: rast.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] readrastfile(f, s) ^~~~~~~~~~~~ rast.c: In function 'readrastfile': rast.c:148:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if ( access(name, 04) != 0 ) { /* rotate the portrait mode file */ ^~~~~~ rast.c:150:6: warning: implicit declaration of function 'rotate'; did you mean 'lstat'? [-Wimplicit-function-declaration] rotate(name); ^~~~~~ lstat rast.c:155:16: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if ( (fd = open(name, 0)) == -1 ) ^~~~ popen rast.c:164:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if ( read(fd, p, buf.st_size) != buf.st_size ) ^~~~ fread rast.c:174:10: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( write(fileno(tf), p, size) != size ) ^~~~~ fwrite rast.c:181:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose rast.c: At top level: rast.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] getoffsets(f) ^~~~~~~~~~ rast.c: In function 'rastalloc': rast.c:243:7: warning: implicit declaration of function 'freerast'; did you mean 'free'? [-Wimplicit-function-declaration] if ( freerast(1) == 0 ) ^~~~~~~~ free rast.c: At top level: rast.c:251:1: warning: return type defaults to 'int' [-Wimplicit-int] freerast(count) ^~~~~~~~ rast.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] rasterlist() ^~~~~~~~~~ rast.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] setfamily() ^~~~~~~~~ rast.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] mapsize(f, s) ^~~~~~~ rast.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] checkbit(p, n) ^~~~~~~~ rast.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int] setbit(p, n) ^~~~~~ rast.c:443:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpbitmap(bptr, height, width, rwid) ^~~~~~~~~~ gcc -O2 -DBSD4_2 -c rotate.c rotate.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] rotate(name) ^~~~~~ rotate.c: In function 'rotate': rotate.c:53:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't generate temporary file name"); ^~~~~ perror rotate.c:78:13: warning: implicit declaration of function 'getint'; did you mean 'cgetent'? [-Wimplicit-function-declaration] oloffset = getint(fp_in); /* need the rest of the header */ ^~~~~~ cgetent rotate.c:112:8: warning: implicit declaration of function 'checkbit' [-Wimplicit-function-declaration] if ( checkbit(obptr, orwid * j * BYTE + i) ) { ^~~~~~~~ rotate.c:115:7: warning: implicit declaration of function 'setbit'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setbit(bptr, rwid * y * BYTE + x); ^~~~~~ setbuf rotate.c:130:2: warning: implicit declaration of function 'putint'; did you mean 'putenv'? [-Wimplicit-function-declaration] putint(-otoffset, fp_out); ^~~~~~ putenv gcc -O2 -DBSD4_2 -c tempnam.c gcc -O2 -DBSD4_2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o dpcl dpcl.o draw.o font.o glob.o misc.o rast.o rotate.o tempnam.o -lm ld: rotate.o: in function `rotate': rotate.c:(.text+0x647): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory laserjet/rastpcl ---- ---- Making all in directory macros/man ---- ---- Making all in directory macros/mcolor ---- ---- Making all in directory macros/mcs ---- ---- Making all in directory macros/mm ---- ---- Making all in directory macros/mpictures ---- ---- Making all in directory macros/mps ---- ---- Making all in directory macros/ms ---- ---- Making all in directory macros/msafe ---- ---- Making all in directory macros/mv ---- ---- Making all in directory macros/mview ---- ---- Making all in directory misc/checkdoc ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o checkdoc checkdoc.c checkdoc.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ checkdoc.c: In function 'main': checkdoc.c:318:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fp); ^~~~~ pclose checkdoc.c: At top level: checkdoc.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg) /* Display an error message */ ^~~~~ checkdoc.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] warning(msg) /* Display a warning message */ ^~~~~~~ checkdoc.c: In function 'tbl_ck': checkdoc.c:1986:12: warning: implicit declaration of function 'findcol' [-Wimplicit-function-declaration] nr_cols=findcol(&p); ^~~~~~~ checkdoc.c: At top level: checkdoc.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] findcol(nextp) ^~~~~~~ checkdoc.c: In function 'findcol': checkdoc.c:2125:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ checkdoc.c: At top level: checkdoc.c:2883:1: warning: return type defaults to 'int' [-Wimplicit-int] str_nr_test(p) ^~~~~~~~~~~ ---- Making all in directory misc/col ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o col col.c col.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ col.c: In function 'main': col.c:89:6: warning: implicit declaration of function 'outc'; did you mean 'putc'? [-Wimplicit-function-declaration] outc(ESC); ^~~~ putc col.c:105:4: warning: implicit declaration of function 'incr'; did you mean 'minor'? [-Wimplicit-function-declaration] incr(); ^~~~ minor col.c:117:5: warning: implicit declaration of function 'decr'; did you mean 'memchr'? [-Wimplicit-function-declaration] decr(); ^~~~ memchr col.c:207:4: warning: implicit declaration of function 'emit'; did you mean 'exit'? [-Wimplicit-function-declaration] emit (page[(mustwr+i) % PL], mustwr+i-PL); ^~~~ exit col.c: At top level: col.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] outc (c) ^~~~ col.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] store (lno) ^~~~~ col.c: In function 'store': col.c:293:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:306:1: warning: return type defaults to 'int' [-Wimplicit-int] fetch(lno) ^~~~~ col.c: In function 'fetch': col.c:306:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] emit (s, lineno) ^~~~ col.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] incr() ^~~~ col.c:399:1: warning: return type defaults to 'int' [-Wimplicit-int] decr() ^~~~ ---- Making all in directory misc/diffmk ---- cp diffmk.sh diffmk; chmod 755 diffmk ---- Making all in directory misc/dsplit ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o dsplit dsplit.c dsplit.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ dsplit.c: In function 'main': dsplit.c:89:5: warning: implicit declaration of function 'options'; did you mean 'htons'? [-Wimplicit-function-declaration] options(); /* read the command line options */ ^~~~~~~ htons dsplit.c:90:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* translate the input files */ ^~~~~~~~~ dsplit.c: At top level: dsplit.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ dsplit.c: In function 'options': dsplit.c:112:19: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, names)) != EOF ) { ^~~~~~ cgetset dsplit.c:139:7: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror dsplit.c: At top level: dsplit.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ dsplit.c: In function 'arguments': dsplit.c:172:2: warning: implicit declaration of function 'conv' [-Wimplicit-function-declaration] conv(stdin); ^~~~ dsplit.c: At top level: dsplit.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^~~~ dsplit.c: In function 'conv': dsplit.c:208:5: warning: implicit declaration of function 'file_init'; did you mean 'fileno'? [-Wimplicit-function-declaration] file_init(); /* get ready for the next file */ ^~~~~~~~~ fileno dsplit.c:213:6: warning: implicit declaration of function 'put_char'; did you mean 'putchar'? [-Wimplicit-function-declaration] put_char(ch, fp_out); ^~~~~~~~ putchar dsplit.c:247:4: warning: implicit declaration of function 'get_int'; did you mean 'getline'? [-Wimplicit-function-declaration] get_int(fp); ^~~~~~~ getline dsplit.c:265:4: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] devcntrl(fp); ^~~~~~~~ iscntrl dsplit.c:269:4: warning: implicit declaration of function 'new_page' [-Wimplicit-function-declaration] new_page(); ^~~~~~~~ dsplit.c: At top level: dsplit.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] file_init() ^~~~~~~~~ dsplit.c: In function 'out_file': dsplit.c:354:12: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if ( ! access(filename, 00) ) /* don't clobber an existing file? */ ^~~~~~ dsplit.c: At top level: dsplit.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) ^~~~~~~~ dsplit.c: In function 'devcntrl': dsplit.c:406:3: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] loadfont(num, name); ^~~~~~~~ dsplit.c:422:5: warning: implicit declaration of function 'put_string' [-Wimplicit-function-declaration] put_string(line, fp_out); ^~~~~~~~~~ dsplit.c: At top level: dsplit.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] loadfont(pos, name) ^~~~~~~~ dsplit.c:456:1: warning: return type defaults to 'int' [-Wimplicit-int] new_page() ^~~~~~~~ dsplit.c: In function 'new_page': dsplit.c:469:2: warning: implicit declaration of function 'end_section'; did you mean '__section'? [-Wimplicit-function-declaration] end_section(); ^~~~~~~~~~~ __section dsplit.c:470:2: warning: implicit declaration of function 'new_section'; did you mean '__section'? [-Wimplicit-function-declaration] new_section(); ^~~~~~~~~~~ __section dsplit.c: At top level: dsplit.c:477:1: warning: return type defaults to 'int' [-Wimplicit-int] end_section() ^~~~~~~~~~~ dsplit.c:505:1: warning: return type defaults to 'int' [-Wimplicit-int] new_section() ^~~~~~~~~~~ dsplit.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] get_int(fp_in) ^~~~~~~ dsplit.c:580:1: warning: return type defaults to 'int' [-Wimplicit-int] put_char(ch, fp) ^~~~~~~~ dsplit.c:603:1: warning: return type defaults to 'int' [-Wimplicit-int] put_string(str, fp) ^~~~~~~~~~ dsplit.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] error(kind, mesg, a1, a2) ^~~~~ ---- Making all in directory misc/dwbv ---- ---- Making all in directory misc/gc2pic ---- gcc -O2 -c aligned.c aligned.c: In function 'range': aligned.c:44:7: warning: implicit declaration of function 'clk' [-Wimplicit-function-declaration] if ( clk(pt,pc) ) ^~~ aligned.c:46:7: warning: implicit declaration of function 'cclk' [-Wimplicit-function-declaration] if ( cclk(pt,pcc) ) ^~~~ gcc -O2 -c boxes.c boxes.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] boxes() ^~~~~ boxes.c: In function 'boxes': boxes.c:12:8: warning: implicit declaration of function 'horz' [-Wimplicit-function-declaration] if ( horz(top) ) ^~~~ boxes.c:15:10: warning: implicit declaration of function 'vert' [-Wimplicit-function-declaration] if ( vert(left) && eqpt(top->begin,left->begin) ) ^~~~ boxes.c:15:26: warning: implicit declaration of function 'eqpt' [-Wimplicit-function-declaration] if ( vert(left) && eqpt(top->begin,left->begin) ) ^~~~ boxes.c: At top level: boxes.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] eqpt(p,q) ^~~~ gcc -O2 -c globals.c gcc -O2 -c main.c main.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ main.c: In function 'main': main.c:25:21: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ( i < argc && strcmp(argv[i],"+s") == 0 ) ^~~~~~ main.c:31:3: warning: implicit declaration of function 'process' [-Wimplicit-function-declaration] process("-") ; ^~~~~~~ gcc -O2 -c out.c out.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] out() ^~~ out.c: In function 'out': out.c:9:2: warning: implicit declaration of function 'boxes'; did you mean 'bounds'? [-Wimplicit-function-declaration] boxes() ; ^~~~~ bounds out.c: In function 'revout': out.c:19:2: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] draw(object) ; ^~~~ out.c: In function 'bounds': out.c:80:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("(internal) unknown object\n") ; ^~~~~ perror out.c: At top level: out.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] draw(object) ^~~~ out.c: In function 'draw': out.c:101:4: warning: implicit declaration of function 'point'; did you mean 'printf'? [-Wimplicit-function-declaration] point(object->begin) ; ^~~~~ printf out.c: At top level: out.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] point(pnt) ^~~~~ out.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] free_all() ^~~~~~~~ out.c: In function 'free_all': out.c:182:4: warning: implicit declaration of function 'sm_free' [-Wimplicit-function-declaration] sm_free(object->text) ; ^~~~~~~ gcc -O2 -c process.c process.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] process(name) ^~~~~~~ process.c: In function 'process': process.c:34:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("can't open %s\n",name) ; ^~~~~ perror process.c:38:10: warning: implicit declaration of function 'get_line'; did you mean 'getline'? [-Wimplicit-function-declaration] while ( get_line(buf) != EOF ) ^~~~~~~~ getline process.c:44:4: warning: implicit declaration of function 'conv_init' [-Wimplicit-function-declaration] conv_init(p,convbuf) ; ^~~~~~~~~ process.c:57:6: warning: implicit declaration of function 'out'; did you mean 'putw'? [-Wimplicit-function-declaration] out() ; ^~~ putw process.c:64:6: warning: implicit declaration of function 'free_all'; did you mean 'ftell'? [-Wimplicit-function-declaration] free_all() ; ^~~~~~~~ ftell process.c:69:6: warning: implicit declaration of function 'write_line'; did you mean 'read_line'? [-Wimplicit-function-declaration] write_line(p) ; ^~~~~~~~~~ read_line process.c: At top level: process.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] write_line(p) ^~~~~~~~~~ process.c: In function 'write_line': process.c:334:3: warning: implicit declaration of function 'save_sym' [-Wimplicit-function-declaration] save_sym(obuf,index,j,line_num) ; ^~~~~~~~ process.c: At top level: process.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] conv_init(p,convbuf) ^~~~~~~~~ gcc -O2 -c rules.c gcc -O2 -c save_sym.c gcc -O2 -c sm_mem.c sm_mem.c: In function 'sm_alloc': sm_mem.c:12:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("out of memory\n") ; ^~~~~ perror sm_mem.c: At top level: sm_mem.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] sm_free(p) ^~~~~~~ gcc -O2 -c util.c util.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg,v) ^~~~~ gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o gc2pic aligned.o boxes.o globals.o main.o out.o process.o rules.o save_sym.o sm_mem.o util.o ---- Making all in directory misc/hyphen ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o hyphen hyphen.c hyphen.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ hyphen.c: In function 'main': hyphen.c:24:14: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] while ((r = getopt(argc,argv,"")) != EOF) { ^~~~~~ cgetset hyphen.c:39:17: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if ((ifile = open(*argv, 0)) < 0) { ^~~~ popen hyphen.c:47:23: warning: implicit declaration of function 'get'; did you mean 'getw'? [-Wimplicit-function-declaration] cont: while((b[++i] = get(ifile)) != 0) ^~~ getw hyphen.c: At top level: hyphen.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] get(ifile) ^~~ hyphen.c: In function 'get': hyphen.c:87:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if(nread = read(ifile,buf,BUFSIZ)) ^~~~ fread ---- Making all in directory misc/latin1 ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o atoL1 atoL1.c atoL1.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { /* filter escaped 7 bit ASCII to 8 bit Latin-1 */ ^~~~ gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o L1toa L1toa.c L1toa.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { /* filter 8 bit Latin-1 to escaped 7 bit ASCII */ ^~~~ gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o atoL1sim atoL1sim.c atoL1sim.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { /* filter escaped 7 bit ASCII to overstruck ASCII */ ^~~~ ---- Making all in directory misc/mm ---- cp mm.sh mm; chmod 755 mm ---- Making all in directory misc/mmt ---- cp mmt.sh mmt; chmod 755 mmt cp mmt.sh mvt; chmod 755 mvt ---- Making all in directory misc/tc ---- gcc -O2 -c tc.c tc.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ tc.c: In function 'main': tc.c:96:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] tc.c:116:4: warning: implicit declaration of function 'outlist' [-Wimplicit-function-declaration] outlist(&argv[1][2]); ^~~~~~~ tc.c:131:3: warning: implicit declaration of function 'conv'; did you mean 'done'? [-Wimplicit-function-declaration] conv(stdin); ^~~~ done tc.c:137:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't open %s", *argv); ^~~~~ perror tc.c: At top level: tc.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] outlist(s) /* process list of page numbers to be printed */ ^~~~~~~ tc.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] in_olist(n) /* is n in olist? */ ^~~~~~~~ tc.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^~~~ tc.c: In function 'conv': tc.c:208:4: warning: implicit declaration of function 't_push'; did you mean 't_page'? [-Wimplicit-function-declaration] t_push(); ^~~~~~ t_page tc.c:211:4: warning: implicit declaration of function 't_pop'; did you mean 't_page'? [-Wimplicit-function-declaration] t_pop(); ^~~~~ t_page tc.c:216:4: warning: implicit declaration of function 'hmot'; did you mean 'hmac'? [-Wimplicit-function-declaration] hmot((c-'0')*10 + getc(fp)-'0'); ^~~~ hmac tc.c:237:5: warning: implicit declaration of function 'drawline'; did you mean 'raise'? [-Wimplicit-function-declaration] drawline(n, m, "."); ^~~~~~~~ raise tc.c:241:5: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] drawcirc(n); ^~~~~~~~ tc.c:245:5: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] drawellip(m, n); ^~~~~~~~~ tc.c:249:5: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] drawarc(n, m, n1, m1); ^~~~~~~ tc.c:252:5: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] drawwig(buf+1); ^~~~~~~ tc.c:261:12: warning: implicit declaration of function 't_size'; did you mean 'setsize'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~ setsize tc.c:265:4: warning: implicit declaration of function 'setfont'; did you mean 'setenv'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~~ setenv tc.c:265:12: warning: implicit declaration of function 't_font'; did you mean 't_text'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~ t_text tc.c:276:4: warning: implicit declaration of function 'hgoto' [-Wimplicit-function-declaration] hgoto(k); ^~~~~ tc.c:293:4: warning: implicit declaration of function 'vgoto' [-Wimplicit-function-declaration] vgoto(n); ^~~~~ tc.c:297:4: warning: implicit declaration of function 'vmot' [-Wimplicit-function-declaration] vmot(n); ^~~~ tc.c:306:4: warning: implicit declaration of function 't_newline'; did you mean 'getline'? [-Wimplicit-function-declaration] t_newline(); ^~~~~~~~~ getline tc.c:314:4: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] devcntrl(fp); ^~~~~~~~ iscntrl tc.c: At top level: tc.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) /* interpret device control functions */ ^~~~~~~~ tc.c: In function 'devcntrl': tc.c:334:3: warning: implicit declaration of function 'fileinit'; did you mean 'fileno'? [-Wimplicit-function-declaration] fileinit(); ^~~~~~~~ fileno tc.c:335:3: warning: implicit declaration of function 't_init'; did you mean 't_text'? [-Wimplicit-function-declaration] t_init(0); ^~~~~~ t_text tc.c:341:3: warning: implicit declaration of function 't_trailer' [-Wimplicit-function-declaration] t_trailer(); ^~~~~~~~~ tc.c:344:3: warning: implicit declaration of function 't_reset'; did you mean 't_text'? [-Wimplicit-function-declaration] t_reset('p'); ^~~~~~~ t_text tc.c:354:3: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] loadfont(n, str); ^~~~~~~~ tc.c: At top level: tc.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] fileinit() /* read in font and code files, etc. */ ^~~~~~~~ tc.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] fontprint(i) /* debugging print of font i (0,...) */ ^~~~~~~~~ tc.c: In function 'fontprint': tc.c:365:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int] tc.c: At top level: tc.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] loadcode(n, nw) /* load codetab on position n (0...); #chars is nw */ ^~~~~~~~ tc.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] loadfont(n, s) /* load font info for font s on position n (1...) */ ^~~~~~~~ tc.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] error(f, s, a1, a2, a3, a4, a5, a6, a7) ^~~~~ tc.c: In function 'error': tc.c:386:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a2' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a3' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a4' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a5' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a6' defaults to 'int' [-Wimplicit-int] tc.c:386:1: warning: type of 'a7' defaults to 'int' [-Wimplicit-int] tc.c:395:3: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(2); ^~~~ tc.c:100:6: note: previous declaration of 'done' was here int done(); ^~~~ tc.c: At top level: tc.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] t_init(reinit) /* initialize device */ ^~~~~~ tc.c: In function 't_init': tc.c:441:2: warning: implicit declaration of function 'sendpt'; did you mean 'seed48'? [-Wimplicit-function-declaration] sendpt(); ^~~~~~ seed48 tc.c: At top level: tc.c:457:1: warning: return type defaults to 'int' [-Wimplicit-int] t_push() /* begin a new block */ ^~~~~~ tc.c: In function 't_push': tc.c:459:2: warning: implicit declaration of function 'hflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] hflush(); ^~~~~~ fflush tc.c: At top level: tc.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] t_pop() /* pop to previous state */ ^~~~~ tc.c: In function 't_page': tc.c:519:24: warning: implicit declaration of function 'readch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] for (bp = buf; (*bp = readch()); ) ^~~~~~ bsearch tc.c: At top level: tc.c:593:1: warning: return type defaults to 'int' [-Wimplicit-int] t_newline() /* do whatever for the end of a line */ ^~~~~~~~~ tc.c:598:1: warning: return type defaults to 'int' [-Wimplicit-int] t_size(n) /* convert integer to internal size number*/ ^~~~~~ tc.c:612:1: warning: return type defaults to 'int' [-Wimplicit-int] t_font(s) /* convert string to internal font number */ ^~~~~~ tc.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] t_reset(c) ^~~~~~~ tc.c: In function 't_reset': tc.c:653:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] tc.c: At top level: tc.c:665:1: warning: return type defaults to 'int' [-Wimplicit-int] t_trailer() ^~~~~~~~~ tc.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int] hgoto(n) ^~~~~ tc.c: In function 'hgoto': tc.c:669:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tc.c: At top level: tc.c:676:1: warning: return type defaults to 'int' [-Wimplicit-int] hmot(n) /* generate n units of horizontal motion */ ^~~~ tc.c:682:1: warning: return type defaults to 'int' [-Wimplicit-int] hflush() /* actual horizontal output occurs here */ ^~~~~~ tc.c:688:1: warning: return type defaults to 'int' [-Wimplicit-int] vgoto(n) ^~~~~ tc.c: In function 'vgoto': tc.c:688:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tc.c: At top level: tc.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] vmot(n) /* generate n units of vertical motion */ ^~~~ tc.c:751:1: warning: return type defaults to 'int' [-Wimplicit-int] t_fp(n, s) /* font position n now contains font s */ ^~~~ tc.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(n) /* set font to n */ ^~~~~~~ tc.c:762:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ tc.c:776:1: warning: return type defaults to 'int' [-Wimplicit-int] readch(){ ^~~~~~ tc.c: In function 'readch': tc.c:778:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (read(2,&c,1)<1) c=0; ^~~~ fread tc.c: At top level: tc.c:781:1: warning: return type defaults to 'int' [-Wimplicit-int] sendpt(){ ^~~~~~ gcc -O2 -c draw.c draw.c: In function 'drawline': draw.c:33:2: warning: implicit declaration of function 'setsize'; did you mean 'getline'? [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^~~~~~~ getline draw.c:33:10: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^~~~~~ draw.c:6:18: warning: implicit declaration of function 'vgoto'; did you mean 'hgoto'? [-Wimplicit-function-declaration] #define vmot(n) vgoto(vpos + n) ^ draw.c:42:4: note: in expansion of macro 'vmot' vmot(motincr); ^~~~ draw.c:43:4: warning: implicit declaration of function 'put1'; did you mean 'putw'? [-Wimplicit-function-declaration] put1(drawdot); ^~~~ putw draw.c: At top level: draw.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] drawwig(s) /* draw wiggly line */ ^~~~~~~ draw.c: In function 'drawwig': draw.c:110:10: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] x[N] = atoi(temp); ^~~~ atan draw.c:125:12: warning: implicit declaration of function 'dist'; did you mean 'rint'? [-Wimplicit-function-declaration] steps = (dist(x[i],y[i], x[i+1],y[i+1]) + dist(x[i+1],y[i+1], x[i+2],y[i+2])) / 2; ^~~~ rint draw.c: At top level: draw.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] drawcirc(d) ^~~~~~~~ draw.c: In function 'drawcirc': draw.c:163:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:169:2: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] conicarc(hpos + d/2, -vpos, hpos, -vpos, hpos, -vpos, d/2, d/2); ^~~~~~~~ draw.c: At top level: draw.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] dist(x1, y1, x2, y2) /* integer distance from x1,y1 to x2,y2 */ ^~~~ draw.c: In function 'dist': draw.c:174:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:174:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:174:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] draw.c:174:1: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] drawarc(dx1, dy1, dx2, dy2) ^~~~~~~ draw.c: In function 'drawarc': draw.c:183:1: warning: type of 'dx1' defaults to 'int' [-Wimplicit-int] draw.c:183:1: warning: type of 'dy1' defaults to 'int' [-Wimplicit-int] draw.c:183:1: warning: type of 'dx2' defaults to 'int' [-Wimplicit-int] draw.c:183:1: warning: type of 'dy2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] drawellip(a, b) ^~~~~~~~~ draw.c: In function 'drawellip': draw.c:195:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:195:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] conicarc(x, y, x0, y0, x1, y1, a, b) ^~~~~~~~ draw.c: In function 'conicarc': draw.c:208:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'x0' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'y0' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:208:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c:359:4: warning: implicit declaration of function 'putdot'; did you mean 'putw'? [-Wimplicit-function-declaration] putdot((int)xc, (int)yc); ^~~~~~ putw draw.c: At top level: draw.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] putdot(x, y) ^~~~~~ draw.c: In function 'putdot': draw.c:416:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:416:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o tc tc.o draw.o -lm ---- Making all in directory misc/xpand ---- gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o xpand xpand.c -lm xpand.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ xpand.c: In function 'main': xpand.c:39:17: warning: implicit declaration of function 'fgetline'; did you mean 'getline'? [-Wimplicit-function-declaration] while (fgetline(line,LINSIZE,filept[i]) != 0) ^~~~~~~~ getline xpand.c: At top level: xpand.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] fgetline(s,lim,stream) ^~~~~~~~