+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DWB-20150517nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DWB-20150517nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for DWB-20150517nb1 CXX=c++ LEX=lex ./cfgr C++ compiler: /home/pbulk/build/textproc/DWB/work/.cwrapper/bin/c++ Lexer: /home/pbulk/build/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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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' [-Wimplicit-function-declaration] else tbl(); ^~~ 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 cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^~~~~~ lex ndexer.l cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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 'chroot'? [-Wimplicit-function-declaration] match_roots (wlist, root_token); ^~~~~~~~~~~ chroot 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' [-Wimplicit-function-declaration] return_lists (); ^~~~~~~~~~~~ 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' [-Wimplicit-function-declaration] init_subj (s_count);} ^~~~~~~~~ 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'; did you mean 'rpmatch'? [-Wimplicit-function-declaration] while ((s != NULL) && (s_match(subject, s) == FALSE)) ^~~~~~~ rpmatch 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) ^~~~ ndexer.l: In function 'ndx_text': ndexer.l:949:2: warning: ignoring return value of 'tmpnam', declared with attribute warn_unused_result [-Wunused-result] tmpnam (tmpbuf); ^~~~~~~~~~~~~~~ rm -f lex.yy.c cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c rootwd.c In file included from rootwd.c:13: 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 cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c space.c cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c str.c cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c strr.c strr.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] strn_rev (str, rstr, n) ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer ndexer.o: In function `ndx_text': lex.yy.c:(.text+0x17fa): warning: the use of `tmpnam' is dangerous, better use `mkstemp' cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ndxformat ndxformat.c ndxformat.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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'; did you mean 'pselect'? [-Wimplicit-function-declaration] procsect(); ^~~~~~~~ pselect 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() ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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) ^~~~~~ /tmp/ccWcRJaL.o: In function `main': ptx.c:(.text.startup+0x56f): warning: the use of `mktemp' is dangerous, better 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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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 cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib sbj1.o -o sbj1 -lfl lex sbj2.l sbj2.l:65: warning, rule cannot be matched cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib sbj2.o case.o -o sbj2 -lfl lex sbj3.l cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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 'strstr'? [-Wimplicit-function-declaration] storeterm (); ^~~~~~~~~ strstr 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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c omit.c omit.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] omit (word) ^~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib sbj3.o case.o omit.o -o sbj3 -lfl lex nwords.l cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c -o nwords.o lex.yy.c In file included from nwords.l:32: 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: 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 cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib nwords.o -o style1 -lfl lex end.l cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c -o end.o lex.yy.c In file included from end.l:28: 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 cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib end.o -o style2 -lfl lex part.l part.l:141: warning, rule cannot be matched cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c -o part.o lex.yy.c In file included from part.l:25: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^~~~~~ In file included from part.l:27: 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 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c pscan.c In file included from pscan.c:13: 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) ^~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c outp.c In file included from outp.c:13: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^~~~~~ In file included from outp.c:15: 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; ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c extern.c cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 ---- cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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' [-Wimplicit-function-declaration] options(); /* command line options */ ^~~~~~~ dpcl.c:156:5: warning: implicit declaration of function 'rasterlist'; did you mean 'atexit'? [-Wimplicit-function-declaration] rasterlist(); /* grab raster file data */ ^~~~~~~~~~ atexit 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' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ 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 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, names)) != EOF ) { ^~~~~~ getsubopt 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'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix 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 'setstate'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~~ setstate dpcl.c:502:15: warning: implicit declaration of function 't_size'; did you mean 'dysize'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~ dysize 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' [-Wimplicit-function-declaration] t_page(n); ^~~~~~ 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 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit dpcl.c: In function 'conv': dpcl.c:441:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:446:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &m); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:461:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d %c", &n, &m, &n1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:466:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:471:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d", &m, &n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:476:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d %d %d", &n, &m, &n1, &m1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:482:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:489:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:501:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); /* ignore fractional sizes */ ^~~~~~~~~~~~~~~~~~~~ dpcl.c:506:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:511:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:516:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:524:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:529:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:534:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c: In function 'devcntrl': dpcl.c:581:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:589:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", dwb_devname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:599:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &res); ^~~~~~~~~~~~~~~~~~~~~~ dpcl.c:603:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %s", &n, str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:604:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof buf, fp); /* in case there's a filename */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:613:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpcl.c:617:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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 'puts'? [-Wimplicit-function-declaration] put1(drawdot); ^~~~ puts 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 'puts'? [-Wimplicit-function-declaration] putdot((int)xc, (int)yc); ^~~~~~ puts 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] cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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) ^~~~~~~~ font.c: In function 'getdesc': font.c:59:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &devres); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:61:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &unitwidth); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:67:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &mlimit); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:69:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &nfonts); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:71:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ font.c: In function 'getfont': font.c:131:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~~ font.c:135:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~~ font.c:138:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", ch); ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c glob.c cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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' [-Wimplicit-function-declaration] s = mapsize(f, s); /* best available size */ ^~~~~~~ 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' [-Wimplicit-function-declaration] getoffsets(fam); ^~~~~~~~~~ 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) ^~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -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 'getenv'? [-Wimplicit-function-declaration] oloffset = getint(fp_in); /* need the rest of the header */ ^~~~~~ getenv 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 rotate.c:67:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bptr, 1, 26, fp_in); /* first read the font header */ ^~~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:75:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp_in, "\033(s%*dW"); /* skip the next escape code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:76:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bptr, 1, 6, fp_in); /* and first six bytes in the header */ ^~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:104:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(obptr, 1, omapsize, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -I/usr/pkg/include -c tempnam.c cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dpcl dpcl.o draw.o font.o glob.o misc.o rast.o rotate.o tempnam.o -lm rotate.o: In function `rotate': rotate.c:(.text+0x484): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- 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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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' [-Wimplicit-function-declaration] incr(); ^~~~ 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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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' [-Wimplicit-function-declaration] options(); /* read the command line options */ ^~~~~~~ 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 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, names)) != EOF ) { ^~~~~~ getsubopt 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' [-Wimplicit-function-declaration] end_section(); ^~~~~~~~~~~ dsplit.c:470:2: warning: implicit declaration of function 'new_section' [-Wimplicit-function-declaration] new_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) ^~~~~ dsplit.c: In function 'devcntrl': dsplit.c:384:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ---- Making all in directory misc/dwbv ---- ---- Making all in directory misc/gc2pic ---- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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) ) ^~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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) ^~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c globals.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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("-") ; ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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) ; ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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 'puts'? [-Wimplicit-function-declaration] out() ; ^~~ puts 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) ^~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c rules.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c save_sym.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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) ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c util.c util.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg,v) ^~~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 'getsubopt'? [-Wimplicit-function-declaration] while ((r = getopt(argc,argv,"")) != EOF) { ^~~~~~ getsubopt 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 ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 */ ^~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 */ ^~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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 ---- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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' [-Wimplicit-function-declaration] hmot((c-'0')*10 + getc(fp)-'0'); ^~~~ 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 'rpmatch'? [-Wimplicit-function-declaration] for (bp = buf; (*bp = readch()); ) ^~~~~~ rpmatch 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(){ ^~~~~~ tc.c: In function 'conv': tc.c:223:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ tc.c:227:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:232:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:260:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); /* ignore fractional sizes */ ^~~~~~~~~~~~~~~~~~~~ tc.c:264:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ tc.c:292:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ tc.c:296:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ tc.c:300:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ tc.c: In function 'devcntrl': tc.c:331:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ tc.c:338:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", dwb_devname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:350:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &res); ^~~~~~~~~~~~~~~~~~~~~~ tc.c:353:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %s", &n, str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -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 'puts'? [-Wimplicit-function-declaration] put1(drawdot); ^~~~ puts 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 'puts'? [-Wimplicit-function-declaration] putdot((int)xc, (int)yc); ^~~~~~ puts 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] cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o tc tc.o draw.o -lm ---- Making all in directory misc/xpand ---- cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -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) ^~~~~~~~ ---- Making all in directory postscript/buildtables ---- sed -e "s'^FONTDIR=.*'FONTDIR=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font'" -e "s'^POSTBIN=.*'POSTBIN=/usr/lbin/postscript'" -e "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" buildtables.sh >buildtables ---- Making all in directory postscript/common ---- ---- Making all in directory postscript/cropmarks ---- sed "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" cropmarks.sh >cropmarks ---- Making all in directory postscript/devLatin1 ---- ---- Making all in directory postscript/devpost ---- ---- Making all in directory postscript/download ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -I/usr/pkg/include -c download.c download.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ download.c: In function 'main': download.c:111:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal download.c:112:5: warning: implicit declaration of function 'options'; did you mean 'futimens'? [-Wimplicit-function-declaration] options(); /* first get command line options */ ^~~~~~~ futimens download.c:115:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* then process non-option arguments */ ^~~~~~~~~ download.c:116:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* and clean things up */ ^~~~ download.c: At top level: download.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ download.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ download.c: In function 'options': download.c:165:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) { ^~~~~~ getsubopt download.c:204:7: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror download.c: In function 'readmap': download.c:256:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if ( read(fd, stringspace, sbuf.st_size) == -1 ) ^~~~ fread download.c:258:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose download.c: In function 'readresident': download.c:315:21: warning: implicit declaration of function 'lookup'; did you mean 'lockf'? [-Wimplicit-function-declaration] else if ( (n = lookup(buf)) < next ) ^~~~~~ lockf download.c: At top level: download.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ download.c: In function 'arguments': download.c:338:2: warning: implicit declaration of function 'download' [-Wimplicit-function-declaration] download(); ^~~~~~~~ download.c: At top level: download.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ download.c: In function 'done': download.c:371:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix download.c: At top level: download.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int] download() ^~~~~~~~ download.c: In function 'download': download.c:413:3: warning: implicit declaration of function 'copyfonts'; did you mean 'options'? [-Wimplicit-function-declaration] copyfonts(buf); ^~~~~~~~~ options download.c:421:5: warning: implicit declaration of function 'copyinput' [-Wimplicit-function-declaration] copyinput(); ^~~~~~~~~ download.c: At top level: download.c:427:1: warning: return type defaults to 'int' [-Wimplicit-int] copyfonts(list) ^~~~~~~~~ download.c: In function 'copyfonts': download.c:458:3: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] cat(path); ^~~ gcvt download.c: At top level: download.c:469:1: warning: return type defaults to 'int' [-Wimplicit-int] copyinput() ^~~~~~~~~ download.c:497:1: warning: return type defaults to 'int' [-Wimplicit-int] lookup(font) ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -c glob.c cc -pipe -O2 -I/usr/pkg/include -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -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:83:1: warning: return type defaults to 'int' [-Wimplicit-int] setencoding(name) ^~~~~~~~~~~ misc.c: In function 'setencoding': misc.c:106:5: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] cat(path); ^~~ gcvt misc.c: At top level: misc.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] cat(file) ^~~ misc.c: In function 'cat': misc.c:135: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:136:2: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(fd_out, buf, count); ^~~~~ fwrite misc.c:138: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:146:1: warning: return type defaults to 'int' [-Wimplicit-int] str_convert(str, err) ^~~~~~~~~~~ misc.c: In function 'error_chk_kind': misc.c:192:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix misc.c: At top level: misc.c:197:1: warning: return type defaults to 'int' [-Wimplicit-int] error(kind, mesg, a1, a2, a3) ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DBSD4_2 -c tempnam.c cc -pipe -O2 -I/usr/pkg/include -I../common -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o download download.o ../common/glob.o ../common/misc.o ../common/tempnam.o download.o: In function `download': download.c:(.text+0x67d): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- Making all in directory postscript/dpost ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c dpost.c dpost.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ dpost.c: In function 'main': dpost.c:279:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* interrupt handling */ ^~~~~~~~~~~~ strsignal dpost.c:280:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* structuring comments */ ^~~~~~ dpost.c:281:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* command line options */ ^~~~~~~ dpost.c:282:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* translate the input files */ ^~~~~~~~~ dpost.c:283:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* add trailing comments etc. */ ^~~~ dpost.c:284:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ dpost.c: At top level: dpost.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ dpost.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ dpost.c: In function 'header': dpost.c:332:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ getsubopt dpost.c:334:6: warning: implicit declaration of function 'setpaths'; did you mean 'realpath'? [-Wimplicit-function-declaration] setpaths(optarg); ^~~~~~~~ realpath dpost.c:350:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt dpost.c: At top level: dpost.c:364:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ dpost.c: In function 'options': dpost.c:408:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ dpost.c:478:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ dpost.c: At top level: dpost.c:516:1: warning: return type defaults to 'int' [-Wimplicit-int] setpaths(name) ^~~~~~~~ dpost.c:556:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ dpost.c: In function 'setup': dpost.c:571:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests e.g. manual feed */ ^~~~~~~~~~~~ dpost.c:574:2: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding((useencoding != NULL) ? useencoding : fontencoding); ^~~~~~~~~~~ sigpending dpost.c:587:2: warning: implicit declaration of function 'translate' [-Wimplicit-function-declaration] translate(pagewidth/2.0, pageheight/2.0); ^~~~~~~~~ dpost.c:589:6: warning: implicit declaration of function 'rotate'; did you mean 'rename'? [-Wimplicit-function-declaration] rotate(90.0); ^~~~~~ rename dpost.c:596:2: warning: implicit declaration of function 'scale'; did you mean 'scalb'? [-Wimplicit-function-declaration] scale(magnification, magnification); ^~~~~ scalb dpost.c: At top level: dpost.c:604:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ dpost.c: In function 'arguments': dpost.c:617:2: warning: implicit declaration of function 'conv'; did you mean 'cosl'? [-Wimplicit-function-declaration] conv(stdin); ^~~~ cosl dpost.c: At top level: dpost.c:635:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ dpost.c: In function 'done': dpost.c:664:2: warning: implicit declaration of function 'writebbox' [-Wimplicit-function-declaration] writebbox(stdout, BOUNDINGBOX, 10); ^~~~~~~~~ dpost.c: At top level: dpost.c:670:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ dpost.c:687:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^~~~ dpost.c: In function 'conv': dpost.c:704:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* do output only after a page command */ ^~~~~~~~ select dpost.c:730:12: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] put1(chindex(str)); ^~~~~~~ rindex dpost.c:735:7: warning: implicit declaration of function 'flushtext' [-Wimplicit-function-declaration] flushtext(); ^~~~~~~~~ dpost.c:736:7: warning: implicit declaration of function 'oput'; did you mean 'put1'? [-Wimplicit-function-declaration] oput(m); ^~~~ put1 dpost.c:741:7: warning: implicit declaration of function 'getdraw'; did you mean 'getw'? [-Wimplicit-function-declaration] getdraw(); ^~~~~~~ getw dpost.c:743:4: warning: implicit declaration of function 't_sf'; did you mean 'tanf'? [-Wimplicit-function-declaration] t_sf(); ^~~~ tanf dpost.c:747:5: warning: implicit declaration of function 'drawline'; did you mean 'raise'? [-Wimplicit-function-declaration] drawline(n, m); ^~~~~~~~ raise dpost.c:758:8: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] drawcirc(n); ^~~~~~~~ dpost.c:763:8: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] drawellip(m, n); ^~~~~~~~~ dpost.c:769:8: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] drawarc(n, m, n1, m1, c); ^~~~~~~ dpost.c:773:8: warning: implicit declaration of function 'drawspline'; did you mean 'skipline'? [-Wimplicit-function-declaration] drawspline(fp, 1); ^~~~~~~~~~ skipline dpost.c:794:7: warning: implicit declaration of function 'setfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~~ mapfont dpost.c:794:15: warning: implicit declaration of function 't_font'; did you mean 'mapfont'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~ mapfont dpost.c:822:7: warning: implicit declaration of function 't_page' [-Wimplicit-function-declaration] t_page(n); ^~~~~~ dpost.c:837:7: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] devcntrl(fp); ^~~~~~~~ iscntrl dpost.c: At top level: dpost.c:854:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) ^~~~~~~~ dpost.c: In function 'devcntrl': dpost.c:880:3: warning: implicit declaration of function 'loadfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] loadfont(n, str, str1); ^~~~~~~~ mapfont dpost.c:884:3: warning: implicit declaration of function 't_init'; did you mean 'lrint'? [-Wimplicit-function-declaration] t_init(); ^~~~~~ lrint dpost.c:901:3: warning: implicit declaration of function 't_charht' [-Wimplicit-function-declaration] t_charht(n); ^~~~~~~~ dpost.c:906:3: warning: implicit declaration of function 't_slant' [-Wimplicit-function-declaration] t_slant(n); ^~~~~~~ dpost.c:918:7: warning: implicit declaration of function 'picture' [-Wimplicit-function-declaration] picture(buf); ^~~~~~~ dpost.c:920:7: warning: implicit declaration of function 'inlinepic' [-Wimplicit-function-declaration] inlinepic(fp, buf); ^~~~~~~~~ dpost.c:922:7: warning: implicit declaration of function 'beginpath'; did you mean 'realpath'? [-Wimplicit-function-declaration] beginpath(buf, FALSE); ^~~~~~~~~ realpath dpost.c:924:7: warning: implicit declaration of function 'drawpath'; did you mean 'realpath'? [-Wimplicit-function-declaration] drawpath(buf, FALSE); ^~~~~~~~ realpath dpost.c:930:7: warning: implicit declaration of function 'newbaseline' [-Wimplicit-function-declaration] newbaseline(buf); ^~~~~~~~~~~ dpost.c:932:7: warning: implicit declaration of function 'drawtext'; did you mean 'atexit'? [-Wimplicit-function-declaration] drawtext(buf); ^~~~~~~~ atexit dpost.c:934:7: warning: implicit declaration of function 'settext'; did you mean 'setenv'? [-Wimplicit-function-declaration] settext(buf); ^~~~~~~ setenv dpost.c:936:7: warning: implicit declaration of function 'newcolor' [-Wimplicit-function-declaration] newcolor(buf); ^~~~~~~~ dpost.c:937:7: warning: implicit declaration of function 'setcolor'; did you mean 'getchar'? [-Wimplicit-function-declaration] setcolor(); ^~~~~~~~ getchar dpost.c:946:4: warning: implicit declaration of function 'restore'; did you mean 'remove'? [-Wimplicit-function-declaration] restore(); ^~~~~~~ remove dpost.c:948:4: warning: implicit declaration of function 'save' [-Wimplicit-function-declaration] save(); ^~~~ dpost.c: At top level: dpost.c:960:1: warning: return type defaults to 'int' [-Wimplicit-int] loadfont(m, f, name) ^~~~~~~~ dpost.c: In function 'loadfont': dpost.c:983:10: warning: implicit declaration of function 'mountfont'; did you mean 'loadfont'? [-Wimplicit-function-declaration] if ( mountfont(path, m) == -1 ) { ^~~~~~~~~ loadfont dpost.c: At top level: dpost.c:1039:1: warning: return type defaults to 'int' [-Wimplicit-int] loadspecial() ^~~~~~~~~~~ dpost.c:1055:1: warning: return type defaults to 'int' [-Wimplicit-int] t_init() ^~~~~~ dpost.c: In function 't_init': dpost.c:1074:11: warning: implicit declaration of function 'checkdesc' [-Wimplicit-function-declaration] if ( checkdesc(path) ) ^~~~~~~~~ dpost.c:1079:7: warning: implicit declaration of function 'getdesc'; did you mean 'getenv'? [-Wimplicit-function-declaration] if ( getdesc(path) == -1 ) ^~~~~~~ getenv dpost.c:1092:5: warning: implicit declaration of function 'reset'; did you mean 'tzset'? [-Wimplicit-function-declaration] reset(); ^~~~~ tzset dpost.c: At top level: dpost.c:1098:1: warning: return type defaults to 'int' [-Wimplicit-int] t_page(pg) ^~~~~~ dpost.c:1156:1: warning: return type defaults to 'int' [-Wimplicit-int] t_font(s) ^~~~~~ dpost.c:1189:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(m) ^~~~~~~ dpost.c:1210:1: warning: return type defaults to 'int' [-Wimplicit-int] t_sf() ^~~~ dpost.c: In function 't_sf': dpost.c:1226:26: warning: implicit declaration of function 'mounted'; did you mean 'round'? [-Wimplicit-function-declaration] if ( tf == stdout && mounted(font) ) { ^~~~~~~ round dpost.c:1233:3: warning: implicit declaration of function 'exportstring' [-Wimplicit-function-declaration] exportstring(temp); ^~~~~~~~~~~~ dpost.c:1239:3: warning: implicit declaration of function 'exportfile'; did you mean 'flockfile'? [-Wimplicit-function-declaration] exportfile(temp); ^~~~~~~~~~ flockfile dpost.c: At top level: dpost.c:1256:1: warning: return type defaults to 'int' [-Wimplicit-int] t_charht(n) ^~~~~~~~ dpost.c:1275:1: warning: return type defaults to 'int' [-Wimplicit-int] t_slant(n) ^~~~~~~ dpost.c:1294:1: warning: return type defaults to 'int' [-Wimplicit-int] xymove(x, y) ^~~~~~ dpost.c: In function 'put1': dpost.c:1346: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 dpost.c: At top level: dpost.c:1366:1: warning: return type defaults to 'int' [-Wimplicit-int] oput(c) ^~~~ dpost.c: In function 'oput': dpost.c:1388:2: warning: implicit declaration of function 'endline'; did you mean 'getline'? [-Wimplicit-function-declaration] endline(); ^~~~~~~ getline dpost.c:1390:5: warning: implicit declaration of function 'starttext' [-Wimplicit-function-declaration] starttext(); ^~~~~~~~~ dpost.c:1393:2: warning: implicit declaration of function 'endstring' [-Wimplicit-function-declaration] endstring(); ^~~~~~~~~ dpost.c:1400:7: warning: implicit declaration of function 'addchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] addchar('\\'); ^~~~~~~ putchar dpost.c:1406:2: warning: implicit declaration of function 'addoctal'; did you mean 'alloca'? [-Wimplicit-function-declaration] addoctal(c); ^~~~~~~~ alloca dpost.c:1407:10: warning: implicit declaration of function 'charlib' [-Wimplicit-function-declaration] else charlib(c); ^~~~~~~ dpost.c:1414:2: warning: implicit declaration of function 'cover' [-Wimplicit-function-declaration] cover(llx, lly); ^~~~~ dpost.c: At top level: dpost.c:1424:1: warning: return type defaults to 'int' [-Wimplicit-int] starttext() ^~~~~~~~~ dpost.c:1475:1: warning: return type defaults to 'int' [-Wimplicit-int] flushtext() ^~~~~~~~~ dpost.c:1536:1: warning: return type defaults to 'int' [-Wimplicit-int] endstring() ^~~~~~~~~ dpost.c:1595:1: warning: return type defaults to 'int' [-Wimplicit-int] endline() ^~~~~~~ dpost.c:1618:1: warning: return type defaults to 'int' [-Wimplicit-int] addchar(c) ^~~~~~~ dpost.c:1651:1: warning: return type defaults to 'int' [-Wimplicit-int] addoctal(c) ^~~~~~~~ dpost.c:1685:1: warning: return type defaults to 'int' [-Wimplicit-int] charlib(code) ^~~~~~~ dpost.c: In function 'charlib': dpost.c:1732:11: warning: implicit declaration of function 'access'; did you mean 'acosl'? [-Wimplicit-function-declaration] if ( access(temp, 04) == 0 && tf == stdout ) ^~~~~~ acosl dpost.c: At top level: dpost.c:1742:1: warning: return type defaults to 'int' [-Wimplicit-int] reset() ^~~~~ dpost.c:1762:1: warning: return type defaults to 'int' [-Wimplicit-int] resetpos() ^~~~~~~~ dpost.c:1780:1: warning: return type defaults to 'int' [-Wimplicit-int] save() ^~~~ dpost.c:1804:1: warning: return type defaults to 'int' [-Wimplicit-int] restore() ^~~~~~~ dpost.c:1823:1: warning: return type defaults to 'int' [-Wimplicit-int] exportfile(path) ^~~~~~~~~~ dpost.c:1852:1: warning: return type defaults to 'int' [-Wimplicit-int] exportstring(str) ^~~~~~~~~~~~ dpost.c:1876:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ dpost.c: In function 'redirect': dpost.c:1891:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit dpost.c: In function 'conv': dpost.c:729:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpost.c:734:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &m); ^~~~~~~~~~~~~~~~~~~~ dpost.c:752:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d %c", &n, &m, &n1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:757:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:762:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d", &m, &n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:768:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d %d %d", &n, &m, &n1, &m1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:789:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &size); /* ignore fractional sizes */ ^~~~~~~~~~~~~~~~~~~~~~~ dpost.c:793:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpost.c:798:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:803:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:811:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:816:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:821:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c: In function 'devcntrl': dpost.c:871:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dpost.c:875:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %s", &n, str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:876:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof buf, fp); /* in case there's a filename */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:891:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &res); ^~~~~~~~~~~~~~~~~~~~~~ dpost.c:900:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:905:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dpost.c:910:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", dwb_devname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:914:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, " %[^: \n]:", str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpost.c:915:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c draw.c draw.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] getdraw() ^~~~~~~ draw.c: In function 'getdraw': draw.c:136:2: warning: implicit declaration of function 'exportfile'; did you mean 'flockfile'? [-Wimplicit-function-declaration] exportfile(drawfile); ^~~~~~~~~~ flockfile draw.c: At top level: draw.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] drawline(dx, dy) ^~~~~~~~ draw.c: In function 'drawline': draw.c:159:2: warning: implicit declaration of function 'drawcirc'; did you mean 'drawline'? [-Wimplicit-function-declaration] drawcirc(1); ^~~~~~~~ drawline draw.c:163:2: warning: implicit declaration of function 'cover' [-Wimplicit-function-declaration] cover((double)hpos, (double)-vpos); ^~~~~ draw.c:170:5: warning: implicit declaration of function 'resetpos'; did you mean 'fsetpos'? [-Wimplicit-function-declaration] resetpos(); /* not sure where the printer is */ ^~~~~~~~ fsetpos draw.c: At top level: draw.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] drawcirc(d) ^~~~~~~~ draw.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] drawarc(dx1, dy1, dx2, dy2, c) ^~~~~~~ draw.c: In function 'drawarc': draw.c:259:6: warning: implicit declaration of function 'arc_extreme' [-Wimplicit-function-declaration] arc_extreme(dx1, dy1, dx2, dy2); ^~~~~~~~~~~ draw.c: At top level: draw.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] drawspline(fp, flag) ^~~~~~~~~~ draw.c:362:1: warning: return type defaults to 'int' [-Wimplicit-int] arc_extreme(dx1, dy1, dx2, dy2) ^~~~~~~~~~~ draw.c: In function 'arc_extreme': draw.c:405:6: warning: implicit declaration of function 'quadrant' [-Wimplicit-function-declaration] j = quadrant(x0,y0); ^~~~~~~~ draw.c: At top level: draw.c:433:1: warning: return type defaults to 'int' [-Wimplicit-int] quadrant(x,y) ^~~~~~~~ draw.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] beginpath(buf, copy) ^~~~~~~~~ draw.c: In function 'beginpath': draw.c:481:2: warning: implicit declaration of function 'flushtext' [-Wimplicit-function-declaration] flushtext(); ^~~~~~~~~ draw.c:483:2: warning: implicit declaration of function 'getcolor'; did you mean 'getchar'? [-Wimplicit-function-declaration] getcolor(); ^~~~~~~~ getchar draw.c: At top level: draw.c:497:1: warning: return type defaults to 'int' [-Wimplicit-int] drawpath(buf, copy) ^~~~~~~~ draw.c: In function 'drawpath': draw.c:528:7: warning: implicit declaration of function 'parsebuf'; did you mean 'setbuf'? [-Wimplicit-function-declaration] else parsebuf(buf); ^~~~~~~~ setbuf draw.c:531:2: warning: implicit declaration of function 'reset'; did you mean 'memset'? [-Wimplicit-function-declaration] reset(); ^~~~~ memset draw.c: At top level: draw.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] parsebuf(buf) ^~~~~~~~ draw.c:641:1: warning: return type defaults to 'int' [-Wimplicit-int] getbaseline() ^~~~~~~~~~~ draw.c:663:1: warning: return type defaults to 'int' [-Wimplicit-int] newbaseline(buf) ^~~~~~~~~~~ draw.c:720:1: warning: return type defaults to 'int' [-Wimplicit-int] drawtext(buf) ^~~~~~~~ draw.c: In function 'drawtext': draw.c:760:2: warning: implicit declaration of function 'xymove'; did you mean 'remove'? [-Wimplicit-function-declaration] xymove(hpos, vpos); ^~~~~~ remove draw.c: At top level: draw.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] settext(buf) ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c color.c color.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] getcolor() ^~~~~~~~ color.c: In function 'getcolor': color.c:116:2: warning: implicit declaration of function 'exportfile'; did you mean 'flockfile'? [-Wimplicit-function-declaration] exportfile(colorfile); ^~~~~~~~~~ flockfile color.c: At top level: color.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] newcolor(name) ^~~~~~~~ color.c:162:1: warning: return type defaults to 'int' [-Wimplicit-int] setcolor() ^~~~~~~~ color.c: In function 'setcolor': color.c:182:2: warning: implicit declaration of function 'flushtext' [-Wimplicit-function-declaration] flushtext(); ^~~~~~~~~ color.c:206:6: warning: implicit declaration of function 'resetpos'; did you mean 'fsetpos'? [-Wimplicit-function-declaration] resetpos(); ^~~~~~~~ fsetpos cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c font.c font.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] checkdesc(path) ^~~~~~~~~ font.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] getdesc(path) ^~~~~~~ font.c: In function 'getdesc': font.c:108:3: warning: implicit declaration of function 'chadd'; did you mean 'chname'? [-Wimplicit-function-declaration] chadd(buf); ^~~~~ chname font.c: At top level: font.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] getfont(path, fpos) ^~~~~~~ font.c: In function 'getfont': font.c:156:2: warning: implicit declaration of function 'freefonts'; did you mean 'getfont'? [-Wimplicit-function-declaration] freefonts(); ^~~~~~~~~ getfont font.c:163:6: warning: implicit declaration of function 'release'; did you mean 'rename'? [-Wimplicit-function-declaration] release(fpos->name); ^~~~~~~ rename font.c:194:17: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] if ( (n = chindex(ch)) == -1 ) /* global? */ ^~~~~~~ rindex font.c: At top level: font.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] mountfont(path, m) ^~~~~~~~~ font.c: In function 'mountfont': font.c:251: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:259:1: warning: return type defaults to 'int' [-Wimplicit-int] freefonts() ^~~~~~~~~ font.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] findfont(path) ^~~~~~~~ font.c: In function 'findfont': font.c:289:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ font.c:298: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:307:1: warning: return type defaults to 'int' [-Wimplicit-int] mounted(m) ^~~~~~~ font.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] onfont(c, m) ^~~~~~ font.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] chwidth(n, m) ^~~~~~~ font.c:383:1: warning: return type defaults to 'int' [-Wimplicit-int] chcode(n, m) ^~~~~~ font.c:403:1: warning: return type defaults to 'int' [-Wimplicit-int] chindex(s) ^~~~~~~ font.c: In function 'chindex': font.c:409:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:427:1: warning: return type defaults to 'int' [-Wimplicit-int] chadd(s) ^~~~~ font.c: In function 'chadd': font.c:433:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c:443: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:474:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(s, l) ^~~~ font.c: In function 'hash': font.c:481:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:548:1: warning: return type defaults to 'int' [-Wimplicit-int] release(ptr) ^~~~~~~ font.c:567:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpmount(m) ^~~~~~~~~ font.c: In function 'dumpmount': font.c:580: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:587:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpfont(n) ^~~~~~~~ font.c: In function 'checkdesc': font.c:54:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ font.c: In function 'getdesc': font.c:92:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &devres); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:94:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &unitwidth); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:98:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &mlimit); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:100:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ font.c:103:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &nfonts); ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:105:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ font.c: In function 'getfont': font.c:164:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~~ font.c:168:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c pictures.c pictures.c: In function 'picture': pictures.c:110:5: warning: implicit declaration of function 'flushtext' [-Wimplicit-function-declaration] flushtext(); ^~~~~~~~~ pictures.c:115:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(NON_FATAL, "too few arguments to specify picture"); ^~~~~ perror pictures.c:157:5: warning: implicit declaration of function 'restore'; did you mean 'remove'? [-Wimplicit-function-declaration] restore(); ^~~~~~~ remove pictures.c:158:5: warning: implicit declaration of function 'ps_include'; did you mean 'picture'? [-Wimplicit-function-declaration] ps_include(fp_in, tf, page, whiteout, outline, scaleboth, ^~~~~~~~~~ picture pictures.c:160:5: warning: implicit declaration of function 'save' [-Wimplicit-function-declaration] save(); ^~~~ pictures.c: In function 'picopen': pictures.c:199:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(tname); ^~~~~~ unix pictures.c:201:3: warning: implicit declaration of function 'piccopy'; did you mean 'picopen'? [-Wimplicit-function-declaration] piccopy(fp_pic, fp, total); ^~~~~~~ picopen pictures.c: At top level: pictures.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] inlinepic(fp, buf) ^~~~~~~~~ pictures.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] piccopy(fp_in, fp_out, total) ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -I/usr/pkg/include -c ps_include.c ps_include.c:13:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] static print(FILE *, char **); ^~~~~ ps_include.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] ps_include(fin, fout, page_no, whiteout, outline, scaleboth, cx, cy, sx, sy, ax, ay, rot) ^~~~~~~~~~ ps_include.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] print(fout, s) ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -c bbox.c bbox.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] cover(x, y) ^~~~~ bbox.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] writebbox(fp, keyword, slop) ^~~~~~~~~ bbox.c: In function 'writebbox': bbox.c:114:5: warning: implicit declaration of function 'resetbbox'; did you mean 'writebbox'? [-Wimplicit-function-declaration] resetbbox((fp == stdout) ? TRUE : FALSE); ^~~~~~~~~ writebbox bbox.c: At top level: bbox.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] resetbbox(output) ^~~~~~~~~ bbox.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] scale(sx, sy) ^~~~~ bbox.c: In function 'scale': bbox.c:168:5: warning: implicit declaration of function 'concat'; did you mean 'strncat'? [-Wimplicit-function-declaration] concat(matrix1); ^~~~~~ strncat bbox.c: At top level: bbox.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] translate(tx, ty) ^~~~~~~~~ bbox.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] rotate(angle) ^~~~~~ bbox.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] concat(m1) ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -c request.c request.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] saverequest(want) ^~~~~~~~~~~ request.c: In function 'saverequest': request.c:50:31: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] else request[nextreq].page = atoi(page); ^~~~ request.c:54:12: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] } else error(NON_FATAL, "too many requests - ignoring %s", want); ^~~~~ perror request.c: At top level: request.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] writerequest(page, fp_out) ^~~~~~~~~~~~ request.c: In function 'writerequest': request.c:78:6: warning: implicit declaration of function 'dumprequest'; did you mean 'saverequest'? [-Wimplicit-function-declaration] dumprequest(request[i].want, request[i].file, fp_out); ^~~~~~~~~~~ saverequest request.c: At top level: request.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] dumprequest(want, file, fp_out) ^~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -DDHOSTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font/postscript\"" -DDFONTDIR="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dpost dpost.o draw.o color.o font.o pictures.o ps_include.o ../common/bbox.o ../common/glob.o ../common/misc.o ../common/request.o ../common/tempnam.o -lm pictures.o: In function `picopen': pictures.c:(.text+0x11b): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- Making all in directory postscript/grabit ---- sed "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" grabit.sh >grabit ---- Making all in directory postscript/hardcopy ---- sed "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" hardcopy.sh >hardcopy ---- Making all in directory postscript/picpack ---- cc -pipe -O2 -I/usr/pkg/include -I../common -I/usr/pkg/include -c picpack.c picpack.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ picpack.c: In function 'main': picpack.c:97:5: warning: implicit declaration of function 'options'; did you mean 'futimens'? [-Wimplicit-function-declaration] options(); /* command line options */ ^~~~~~~ futimens picpack.c:98:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* translate all the input files */ ^~~~~~~~~ picpack.c:99:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* clean things up */ ^~~~ picpack.c: At top level: picpack.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ picpack.c: In function 'options': picpack.c:122:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, "k:qDI")) != EOF ) { ^~~~~~ getsubopt picpack.c:125:7: warning: implicit declaration of function 'newkeys' [-Wimplicit-function-declaration] newkeys(optarg); ^~~~~~~ picpack.c:141:7: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror picpack.c: At top level: picpack.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] newkeys(list) ^~~~~~~ picpack.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ picpack.c: In function 'arguments': picpack.c:205:2: warning: implicit declaration of function 'picpack' [-Wimplicit-function-declaration] picpack(); ^~~~~~~ picpack.c: In function 'copystdin': picpack.c:241:20: warning: implicit declaration of function 'creat'; did you mean 'fread'? [-Wimplicit-function-declaration] if ( (fd_out = creat(tfile, 0660)) == -1 ) ^~~~~ fread picpack.c:244:5: warning: implicit declaration of function 'copyfile'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] copyfile(fileno(stdin), fd_out); ^~~~~~~~ tmpfile picpack.c:245:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd_out); ^~~~~ pclose picpack.c:250:5: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(tfile); ^~~~~~ unix picpack.c: At top level: picpack.c:257:1: warning: return type defaults to 'int' [-Wimplicit-int] copyfile(fd_in, fd_out) ^~~~~~~~ picpack.c: In function 'copyfile': picpack.c:274:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) ^~~~ fread picpack.c:275:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( write(fd_out, buf, count) != count ) ^~~~~ fwrite picpack.c: At top level: picpack.c:282:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ picpack.c:300:1: warning: return type defaults to 'int' [-Wimplicit-int] picpack() ^~~~~~~ picpack.c: In function 'picpack': picpack.c:324:12: warning: implicit declaration of function 'gotpicfile'; did you mean 'addpicfile'? [-Wimplicit-function-declaration] if ( gotpicfile(name) == FALSE ) ^~~~~~~~~~ addpicfile picpack.c: At top level: picpack.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] gotpicfile(name) ^~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o picpack picpack.o ../common/glob.o ../common/misc.o ../common/tempnam.o picpack.o: In function `copystdin': picpack.c:(.text+0x1e1): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- Making all in directory postscript/postbgi ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postbgi.c postbgi.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postbgi.c: In function 'main': postbgi.c:244:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* set up interrupt handling */ ^~~~~~~~~~~~ strsignal postbgi.c:245:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header comments */ ^~~~~~ postbgi.c:246:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* command line options */ ^~~~~~~ postbgi.c:247:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postbgi.c:248:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postbgi.c:249:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postbgi.c:250:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postbgi.c: At top level: postbgi.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postbgi.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postbgi.c: In function 'header': postbgi.c:302:19: warning: implicit declaration of function 'getopt'; did you mean 'get_font'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ get_font postbgi.c:306:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postbgi.c:316:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postbgi.c: At top level: postbgi.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postbgi.c: In function 'options': postbgi.c:366:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postbgi.c:411:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postbgi.c: At top level: postbgi.c:465:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postbgi.c: In function 'setup': postbgi.c:476:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postbgi.c:477:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending postbgi.c: At top level: postbgi.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postbgi.c: In function 'arguments': postbgi.c:505:2: warning: implicit declaration of function 'conv'; did you mean 'cosl'? [-Wimplicit-function-declaration] conv(); ^~~~ cosl postbgi.c: At top level: postbgi.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postbgi.c:543:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postbgi.c:560:1: warning: return type defaults to 'int' [-Wimplicit-int] conv() ^~~~ postbgi.c: In function 'conv': postbgi.c:573:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* get ready for the first page */ ^~~~~~~~ select postbgi.c:575:5: warning: implicit declaration of function 'formfeed'; did you mean 'free'? [-Wimplicit-function-declaration] formfeed(); ^~~~~~~~ free postbgi.c:577:19: warning: implicit declaration of function 'get_char'; did you mean 'getchar'? [-Wimplicit-function-declaration] while ( (ch = get_char()) != EOF ) { ^~~~~~~~ getchar postbgi.c:581:8: warning: implicit declaration of function 'text'; did you mean 'exit'? [-Wimplicit-function-declaration] text(90); ^~~~ exit postbgi.c:594:8: warning: implicit declaration of function 'subr_def' [-Wimplicit-function-declaration] subr_def(); ^~~~~~~~ postbgi.c:598:8: warning: implicit declaration of function 'subr_end'; did you mean 'strlen'? [-Wimplicit-function-declaration] subr_end(); ^~~~~~~~ strlen postbgi.c:602:8: warning: implicit declaration of function 'subr_call'; did you mean 'strcoll'? [-Wimplicit-function-declaration] subr_call(); ^~~~~~~~~ strcoll postbgi.c:615:8: warning: implicit declaration of function 'repeat'; did you mean 'select'? [-Wimplicit-function-declaration] repeat(); ^~~~~~ select postbgi.c:619:8: warning: implicit declaration of function 'hgoto'; did you mean 'hypotl'? [-Wimplicit-function-declaration] hgoto(get_int(0)); ^~~~~ hypotl postbgi.c:619:14: warning: implicit declaration of function 'get_int'; did you mean 'get_font'? [-Wimplicit-function-declaration] hgoto(get_int(0)); ^~~~~~~ get_font postbgi.c:623:8: warning: implicit declaration of function 'vgoto' [-Wimplicit-function-declaration] vgoto(get_int(0)); ^~~~~ postbgi.c:636:8: warning: implicit declaration of function 'vector'; did you mean 'qecvt_r'? [-Wimplicit-function-declaration] vector(X_COORD, VISIBLE); ^~~~~~ qecvt_r postbgi.c:660:8: warning: implicit declaration of function 'rectangle' [-Wimplicit-function-declaration] rectangle(OUTLINE); ^~~~~~~~~ postbgi.c:665:8: warning: implicit declaration of function 'point_plot' [-Wimplicit-function-declaration] point_plot(ch, get_char()); ^~~~~~~~~~ postbgi.c:669:8: warning: implicit declaration of function 'line_plot' [-Wimplicit-function-declaration] line_plot(); ^~~~~~~~~ postbgi.c:673:41: warning: implicit declaration of function 'get_data'; did you mean 'get_font'? [-Wimplicit-function-declaration] fprintf(fp_out, "%s l\n", styles[get_data()]); ^~~~~~~~ get_font postbgi.c:693:8: warning: implicit declaration of function 'set_color'; did you mean 'strcoll'? [-Wimplicit-function-declaration] set_color(get_data()); ^~~~~~~~~ strcoll postbgi.c:697:8: warning: implicit declaration of function 'trapezoid' [-Wimplicit-function-declaration] trapezoid(); ^~~~~~~~~ postbgi.c:701:8: warning: implicit declaration of function 'pattern' [-Wimplicit-function-declaration] pattern(); ^~~~~~~ postbgi.c:705:8: warning: implicit declaration of function 'setsize'; did you mean 'setstate'? [-Wimplicit-function-declaration] setsize(get_data()); ^~~~~~~ setstate postbgi.c: At top level: postbgi.c:726:1: warning: return type defaults to 'int' [-Wimplicit-int] hgoto(n) ^~~~~ postbgi.c:744:1: warning: return type defaults to 'int' [-Wimplicit-int] vgoto(n) ^~~~~ postbgi.c:762:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(n) ^~~~~~~ postbgi.c:788:1: warning: return type defaults to 'int' [-Wimplicit-int] repeat() ^~~~~~ postbgi.c:810:1: warning: return type defaults to 'int' [-Wimplicit-int] text(angle) ^~~~ postbgi.c:864:1: warning: return type defaults to 'int' [-Wimplicit-int] formfeed() ^~~~~~~~ postbgi.c:912:1: warning: return type defaults to 'int' [-Wimplicit-int] subr_def() ^~~~~~~~ postbgi.c:965:1: warning: return type defaults to 'int' [-Wimplicit-int] subr_end() ^~~~~~~~ postbgi.c:1010:1: warning: return type defaults to 'int' [-Wimplicit-int] subr_call() ^~~~~~~~~ postbgi.c:1039:1: warning: return type defaults to 'int' [-Wimplicit-int] vector(var, mode) ^~~~~~ postbgi.c:1098:1: warning: return type defaults to 'int' [-Wimplicit-int] rectangle(mode) ^~~~~~~~~ postbgi.c:1127:1: warning: return type defaults to 'int' [-Wimplicit-int] trapezoid() ^~~~~~~~~ postbgi.c:1164:1: warning: return type defaults to 'int' [-Wimplicit-int] point_plot(mode, ch) ^~~~~~~~~~ postbgi.c:1226:1: warning: return type defaults to 'int' [-Wimplicit-int] line_plot() ^~~~~~~~~ postbgi.c:1309:1: warning: return type defaults to 'int' [-Wimplicit-int] pattern() ^~~~~~~ postbgi.c: In function 'pattern': postbgi.c:1341:9: warning: implicit declaration of function 'get_color'; did you mean 'get_font'? [-Wimplicit-function-declaration] red += get_color(val, RED); ^~~~~~~~~ get_font postbgi.c: At top level: postbgi.c:1352:1: warning: return type defaults to 'int' [-Wimplicit-int] get_color(val, component) ^~~~~~~~~ postbgi.c:1402:1: warning: return type defaults to 'int' [-Wimplicit-int] set_color(val) ^~~~~~~~~ postbgi.c:1420:1: warning: return type defaults to 'int' [-Wimplicit-int] get_int(highbyte) ^~~~~~~ postbgi.c:1448:1: warning: return type defaults to 'int' [-Wimplicit-int] get_data() ^~~~~~~~ postbgi.c:1470:1: warning: return type defaults to 'int' [-Wimplicit-int] get_char() ^~~~~~~~ postbgi.c:1499:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postbgi.c: In function 'redirect': postbgi.c:1514:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postbgi postbgi.o ../common/glob.o ../common/misc.o ../common/request.o -lm ---- Making all in directory postscript/postdaisy ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postdaisy.c postdaisy.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postdaisy.c: In function 'main': postdaisy.c:163:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postdaisy.c:164:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header comments */ ^~~~~~ postdaisy.c:165:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ postdaisy.c:166:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postdaisy.c:167:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postdaisy.c:168:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postdaisy.c:169:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postdaisy.c: At top level: postdaisy.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postdaisy.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postdaisy.c: In function 'header': postdaisy.c:221:19: warning: implicit declaration of function 'getopt'; did you mean 'get_font'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ get_font postdaisy.c:225:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postdaisy.c:235:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postdaisy.c: At top level: postdaisy.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postdaisy.c: In function 'options': postdaisy.c:303:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postdaisy.c:362:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postdaisy.c: At top level: postdaisy.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postdaisy.c: In function 'setup': postdaisy.c:428:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postdaisy.c:429:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending postdaisy.c: At top level: postdaisy.c:444:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postdaisy.c: In function 'arguments': postdaisy.c:459:2: warning: implicit declaration of function 'text'; did you mean 'exit'? [-Wimplicit-function-declaration] text(); ^~~~ exit postdaisy.c: At top level: postdaisy.c:478:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postdaisy.c:498:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postdaisy.c:516:1: warning: return type defaults to 'int' [-Wimplicit-int] text() ^~~~ postdaisy.c: In function 'text': postdaisy.c:530:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* get ready for the first page */ ^~~~~~~~ select postdaisy.c:531:5: warning: implicit declaration of function 'formfeed'; did you mean 'free'? [-Wimplicit-function-declaration] formfeed(); /* force PAGE comment etc. */ ^~~~~~~~ free postdaisy.c:532:5: warning: implicit declaration of function 'inittabs'; did you mean 'initstate'? [-Wimplicit-function-declaration] inittabs(); ^~~~~~~~ initstate postdaisy.c:537:7: warning: implicit declaration of function 'backspace'; did you mean 'isspace'? [-Wimplicit-function-declaration] backspace(); ^~~~~~~~~ isspace postdaisy.c:541:7: warning: implicit declaration of function 'htab' [-Wimplicit-function-declaration] htab(); ^~~~ postdaisy.c:545:7: warning: implicit declaration of function 'linefeed' [-Wimplicit-function-declaration] linefeed(); ^~~~~~~~ postdaisy.c:549:7: warning: implicit declaration of function 'vtab' [-Wimplicit-function-declaration] vtab(); ^~~~ postdaisy.c:557:7: warning: implicit declaration of function 'carriage' [-Wimplicit-function-declaration] carriage(); ^~~~~~~~ postdaisy.c:570:7: warning: implicit declaration of function 'escape'; did you mean 'vscanf'? [-Wimplicit-function-declaration] escape(); ^~~~~~ vscanf postdaisy.c:574:7: warning: implicit declaration of function 'oput'; did you mean 'open'? [-Wimplicit-function-declaration] oput(ch); ^~~~ open postdaisy.c: At top level: postdaisy.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] inittabs() ^~~~~~~~ postdaisy.c:607:1: warning: return type defaults to 'int' [-Wimplicit-int] cleartabs() ^~~~~~~~~ postdaisy.c:629:1: warning: return type defaults to 'int' [-Wimplicit-int] formfeed() ^~~~~~~~ postdaisy.c: In function 'formfeed': postdaisy.c:646:5: warning: implicit declaration of function 'endline'; did you mean 'getline'? [-Wimplicit-function-declaration] endline(); /* print the last line */ ^~~~~~~ getline postdaisy.c:664:5: warning: implicit declaration of function 'vgoto' [-Wimplicit-function-declaration] vgoto(topmargin); ^~~~~ postdaisy.c:665:5: warning: implicit declaration of function 'hgoto' [-Wimplicit-function-declaration] hgoto(leftmargin); ^~~~~ postdaisy.c: At top level: postdaisy.c:673:1: warning: return type defaults to 'int' [-Wimplicit-int] linefeed() ^~~~~~~~ postdaisy.c: In function 'linefeed': postdaisy.c:688:5: warning: implicit declaration of function 'vmot' [-Wimplicit-function-declaration] vmot(vmi); ^~~~ postdaisy.c: At top level: postdaisy.c:703:1: warning: return type defaults to 'int' [-Wimplicit-int] carriage() ^~~~~~~~ postdaisy.c: In function 'carriage': postdaisy.c:715:2: warning: implicit declaration of function 'changefont' [-Wimplicit-function-declaration] changefont(fontname); ^~~~~~~~~~ postdaisy.c: At top level: postdaisy.c:729:1: warning: return type defaults to 'int' [-Wimplicit-int] htab() ^~~~ postdaisy.c:761:1: warning: return type defaults to 'int' [-Wimplicit-int] vtab() ^~~~ postdaisy.c:790:1: warning: return type defaults to 'int' [-Wimplicit-int] backspace() ^~~~~~~~~ postdaisy.c: In function 'backspace': postdaisy.c:804:2: warning: implicit declaration of function 'hmot' [-Wimplicit-function-declaration] hmot(-hmi); ^~~~ postdaisy.c: At top level: postdaisy.c:813:1: warning: return type defaults to 'int' [-Wimplicit-int] escape() ^~~~~~ postdaisy.c:984:1: warning: return type defaults to 'int' [-Wimplicit-int] vmot(n) ^~~~ postdaisy.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] vgoto(n) ^~~~~ postdaisy.c:1020:1: warning: return type defaults to 'int' [-Wimplicit-int] hmot(n) ^~~~ postdaisy.c:1041:1: warning: return type defaults to 'int' [-Wimplicit-int] hgoto(n) ^~~~~ postdaisy.c:1059:1: warning: return type defaults to 'int' [-Wimplicit-int] changefont(name) ^~~~~~~~~~ postdaisy.c:1079:1: warning: return type defaults to 'int' [-Wimplicit-int] startline() ^~~~~~~~~ postdaisy.c:1105:1: warning: return type defaults to 'int' [-Wimplicit-int] endline() ^~~~~~~ postdaisy.c:1125:1: warning: return type defaults to 'int' [-Wimplicit-int] endstring() ^~~~~~~~~ postdaisy.c:1147:1: warning: return type defaults to 'int' [-Wimplicit-int] oput(ch) ^~~~ postdaisy.c:1199:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postdaisy.c: In function 'redirect': postdaisy.c:1214:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postdaisy postdaisy.o ../common/glob.o ../common/misc.o ../common/request.o ---- Making all in directory postscript/postdmd ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postdmd.c postdmd.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postdmd.c: In function 'main': postdmd.c:160:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postdmd.c:161:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header comments */ ^~~~~~ postdmd.c:162:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ postdmd.c:163:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postdmd.c:164:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postdmd.c:165:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postdmd.c:166:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postdmd.c: At top level: postdmd.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postdmd.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postdmd.c: In function 'header': postdmd.c:218:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ getsubopt postdmd.c:222:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postdmd.c:232:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postdmd.c: At top level: postdmd.c:243:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postdmd.c: In function 'options': postdmd.c:287:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postdmd.c:332:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postdmd.c: At top level: postdmd.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postdmd.c: In function 'setup': postdmd.c:371:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postdmd.c:372:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); /* unnecessary */ ^~~~~~~~~~~ sigpending postdmd.c: At top level: postdmd.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postdmd.c: In function 'arguments': postdmd.c:402:2: warning: implicit declaration of function 'bitmap'; did you mean 'bcmp'? [-Wimplicit-function-declaration] bitmap(stdin); ^~~~~~ bcmp postdmd.c: At top level: postdmd.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postdmd.c:442:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postdmd.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] bitmap(fp) ^~~~~~ postdmd.c: In function 'bitmap': postdmd.c:479:13: warning: implicit declaration of function 'dimensions' [-Wimplicit-function-declaration] while ( dimensions() == TRUE ) { ^~~~~~~~~~ postdmd.c:486:2: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(++page); ^~~~~~~~ select postdmd.c:499:3: warning: implicit declaration of function 'putrast'; did you mean 'addrast'? [-Wimplicit-function-declaration] putrast(); ^~~~~~~ addrast postdmd.c: At top level: postdmd.c:519:1: warning: return type defaults to 'int' [-Wimplicit-int] dimensions() ^~~~~~~~~~ postdmd.c: In function 'dimensions': postdmd.c:536:23: warning: implicit declaration of function 'getint'; did you mean 'getenv'? [-Wimplicit-function-declaration] if ( (scanlines = getint()) == 0 ) { ^~~~~~ getenv postdmd.c: At top level: postdmd.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] putrast() ^~~~~~~ postdmd.c: In function 'putrast': postdmd.c:633:7: warning: implicit declaration of function 'patncmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] if ( patncmp(p1, n) == TRUE ) { ^~~~~~~ strncmp postdmd.c: At top level: postdmd.c:657:1: warning: return type defaults to 'int' [-Wimplicit-int] patncmp(p1, n) ^~~~~~~ postdmd.c:685:1: warning: return type defaults to 'int' [-Wimplicit-int] getint() ^~~~~~ postdmd.c:706:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postdmd.c: In function 'redirect': postdmd.c:721:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postdmd postdmd.o ../common/glob.o ../common/misc.o ../common/request.o ---- Making all in directory postscript/postgif ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postgif.c postgif.c: In function 'allocate': postgif.c:54:37: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] if ((p = malloc(size)) == NULL) error(FATAL, "not enough memory"); ^~~~~ perror postgif.c: In function 'nextbyte': postgif.c:173:12: warning: type defaults to 'int' in declaration of 'ibufindex' [-Wimplicit-int] static ibufindex; ^~~~~~~~~ postgif.c: In function 'redirect': postgif.c:473:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit postgif.c: In function 'header': postgif.c:559:19: warning: implicit declaration of function 'getopt'; did you mean 'getcode'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ getcode postgif.c:573:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postgif.c: In function 'options': postgif.c:622:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postgif.c: At top level: postgif.c:732:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postgif.c: In function 'readgcolormap': postgif.c:115:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(gcmap, sizeof(*gcmap), entries*3, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c: In function 'readlcolormap': postgif.c:139:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(lcmap, sizeof(*lcmap), entries*3, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c: In function 'nextbyte': postgif.c:180:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:183:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] if (byteinibuf) fread(ibuf, sizeof(*ibuf), byteinibuf, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c: In function 'readimage': postgif.c:356:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 9, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:379:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:411:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:414:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] if (bytecount) fread(ibuf, sizeof(*ibuf), bytecount, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c: In function 'readextensionblock': postgif.c:434:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:438:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:441:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] if (bytecount) fread(ibuf, sizeof(*ibuf), bytecount, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c: In function 'readgif': postgif.c:490:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 6, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:493:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 122, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:494:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 6, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:499:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 7, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgif.c:522:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ibuf, sizeof(*ibuf), 1, fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postgif postgif.o ../common/glob.o ../common/misc.o ../common/request.o -lm ---- Making all in directory postscript/postio ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DBSD4_2 -I/usr/pkg/include -c postio.c postio.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postio.c: In function 'main': postio.c:184:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postio.c:185:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* get command line options */ ^~~~~~~ postio.c:186:5: warning: implicit declaration of function 'initialize'; did you mean 'initstate'? [-Wimplicit-function-declaration] initialize(); /* must be done after options() */ ^~~~~~~~~~ initstate postio.c:188:5: warning: implicit declaration of function 'split' [-Wimplicit-function-declaration] split(); /* into read/write processes - maybe */ ^~~~~ postio.c:189:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* then send each input file */ ^~~~~~~~~ postio.c:191:5: warning: implicit declaration of function 'cleanup'; did you mean 'clearenv'? [-Wimplicit-function-declaration] cleanup(); /* make sure the write process stops */ ^~~~~~~ clearenv postio.c: At top level: postio.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postio.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postio.c: In function 'options': postio.c:249:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) { ^~~~~~ getsubopt postio.c:252:18: warning: implicit declaration of function 'getbaud'; did you mean 'setbuf'? [-Wimplicit-function-declaration] baudrate = getbaud(optarg); ^~~~~~~ setbuf postio.c:292:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(NON_FATAL, "can't open log file %s", optarg); ^~~~~ perror postio.c: At top level: postio.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] getbaud(rate) ^~~~~~~ postio.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize() ^~~~~~~~~~ postio.c: In function 'initialize': postio.c:413:5: warning: implicit declaration of function 'setupline'; did you mean 'getline'? [-Wimplicit-function-declaration] setupline(); /* configure the communications line */ ^~~~~~~~~ getline postio.c:414:5: warning: implicit declaration of function 'setupstdin'; did you mean 'setstate'? [-Wimplicit-function-declaration] setupstdin(0); /* save current stdin terminal settings */ ^~~~~~~~~~ setstate postio.c: In function 'start': postio.c:433:5: warning: implicit declaration of function 'logit' [-Wimplicit-function-declaration] logit("printer startup\n"); ^~~~~ postio.c:436:5: warning: implicit declaration of function 'clearline'; did you mean 'clearenv'? [-Wimplicit-function-declaration] clearline(); ^~~~~~~~~ clearenv postio.c:439:11: warning: implicit declaration of function 'getstatus'; did you mean 'setstate'? [-Wimplicit-function-declaration] switch ( getstatus(1) ) { ^~~~~~~~~ setstate postio.c:443:4: warning: implicit declaration of function 'Write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] Write(ttyo, postbegin, strlen(postbegin)); ^~~~~ fwrite postio.c:450:4: warning: implicit declaration of function 'Rest' [-Wimplicit-function-declaration] Rest(1); ^~~~ postio.c: At top level: postio.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] split() ^~~~~ postio.c: In function 'split': postio.c:507:7: warning: implicit declaration of function 'resetline'; did you mean 'getline'? [-Wimplicit-function-declaration] if ( resetline() == TRUE ) { ^~~~~~~~~ getline postio.c:508:12: warning: implicit declaration of function 'getpid'; did you mean 'getbaud'? [-Wimplicit-function-declaration] pid = getpid(); ^~~~~~ getbaud postio.c:510:23: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if ( (otherpid = fork()) == -1 ) ^~~~ postio.c: At top level: postio.c:529:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postio.c: In function 'arguments': postio.c:557:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd_in); ^~~~~ pclose postio.c: In function 'send': postio.c:593:2: warning: implicit declaration of function 'slowsend'; did you mean 'send'? [-Wimplicit-function-declaration] slowsend(fd_in); ^~~~~~~~ send postio.c:597:13: warning: implicit declaration of function 'readblock'; did you mean 'realloc'? [-Wimplicit-function-declaration] while ( readblock(fd_in) ) ^~~~~~~~~ realloc postio.c:609:7: warning: implicit declaration of function 'writeblock'; did you mean 'sigblock'? [-Wimplicit-function-declaration] writeblock(); ^~~~~~~~~~ sigblock postio.c: In function 'done': postio.c:674:4: warning: implicit declaration of function 'sendsignal'; did you mean 'strsignal'? [-Wimplicit-function-declaration] sendsignal(joinsig); ^~~~~~~~~~ strsignal postio.c: At top level: postio.c:732:1: warning: return type defaults to 'int' [-Wimplicit-int] cleanup() ^~~~~~~ postio.c: In function 'cleanup': postio.c:747:47: warning: implicit declaration of function 'wait'; did you mean 'main'? [-Wimplicit-function-declaration] while ( sendsignal(SIGKILL) != -1 && (w = wait((int *)0)) != otherpid && w != -1 ) ; ^~~~ main postio.c: At top level: postio.c:753:1: warning: return type defaults to 'int' [-Wimplicit-int] readblock(fd_in) ^~~~~~~~~ postio.c: In function 'readblock': postio.c:776:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if ( (tail = read(fd_in, block, blocksize)) == -1 ) ^~~~ fread postio.c: At top level: postio.c:789:1: warning: return type defaults to 'int' [-Wimplicit-int] writeblock() ^~~~~~~~~~ postio.c: In function 'writeblock': postio.c:803:19: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( (count = write(ttyo, &block[head], tail - head)) == -1 ) ^~~~~ fwrite postio.c: At top level: postio.c:815:1: warning: return type defaults to 'int' [-Wimplicit-int] getstatus(t) ^~~~~~~~~ postio.c: In function 'getstatus': postio.c:838:40: warning: implicit declaration of function 'readline'; did you mean 'getline'? [-Wimplicit-function-declaration] if ( canread == TRUE && (gotline = readline()) == TRUE ) { ^~~~~~~~ getline postio.c:839:10: warning: implicit declaration of function 'parsemesg' [-Wimplicit-function-declaration] state = parsemesg(); ^~~~~~~~~ postio.c: At top level: postio.c:866:1: warning: return type defaults to 'int' [-Wimplicit-int] parsemesg() ^~~~~~~~~ postio.c: In function 'parsemesg': postio.c:926:20: warning: comparison between pointer and zero character constant [-Wpointer-compare] return(mesgptr == '\0' ? nostatus : UNKNOWN); ^~ postio.c:926:12: note: did you mean to dereference the pointer? return(mesgptr == '\0' ? nostatus : UNKNOWN); ^ postio.c: At top level: postio.c:960:1: warning: return type defaults to 'int' [-Wimplicit-int] clearline() ^~~~~~~~~ postio.c:978:1: warning: return type defaults to 'int' [-Wimplicit-int] sendsignal(sig) ^~~~~~~~~~ postio.c: In function 'interrupt': postio.c:1023:2: warning: implicit declaration of function 'quit'; did you mean 'exit'? [-Wimplicit-function-declaration] quit(sig); ^~~~ exit postio.c: At top level: postio.c:1033:1: warning: return type defaults to 'int' [-Wimplicit-int] logit(mesg, a1, a2, a3) ^~~~~ postio.c:1055:1: warning: return type defaults to 'int' [-Wimplicit-int] error(kind, mesg, a1, a2, a3) ^~~~~ postio.c:1091:1: warning: return type defaults to 'int' [-Wimplicit-int] quit(sig) ^~~~ postio.c: In function 'quit': postio.c:1132:5: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(0); /* prevents sleep() loop on V9 systems */ ^~~~~ postio.c: At top level: postio.c:1141:1: warning: return type defaults to 'int' [-Wimplicit-int] Rest(t) ^~~~ postio.c: In function 'Rest': postio.c:1157:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(t); ^~~~~ postio.c: At top level: postio.c:1163:1: warning: return type defaults to 'int' [-Wimplicit-int] Read(fd, buf, n) ^~~~ postio.c:1193:1: warning: return type defaults to 'int' [-Wimplicit-int] Write(fd, buf, n) ^~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DBSD4_2 -I/usr/pkg/include -c ifdef.c ifdef.c:503:1: warning: return type defaults to 'int' [-Wimplicit-int] setupline() ^~~~~~~~~ ifdef.c: In function 'setupline': ifdef.c:528:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't open %s", line); ^~~~~ perror ifdef.c:530:18: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] if ( (ttyo = dup(ttyi)) == -1 ) ^~~ ifdef.c:533:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if (ioctl(ttyi, TIOCSETD, &disc) == -1 ) ^~~~~ ifdef.c: At top level: ifdef.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] resetline() ^~~~~~~~~ ifdef.c:594:1: warning: return type defaults to 'int' [-Wimplicit-int] setupstdin(mode) ^~~~~~~~~~ ifdef.c: In function 'setupstdin': ifdef.c:618:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if ( isatty(0) != 1 ) ^~~~~~ ifdef.c: At top level: ifdef.c:642:1: warning: return type defaults to 'int' [-Wimplicit-int] readline() ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DBSD4_2 -I/usr/pkg/include -c slowsend.c slowsend.c:30:8: warning: type defaults to 'int' in declaration of 'writeblock' [-Wimplicit-int] static writeblock(int num); ^~~~~~~~~~ slowsend.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] slowsend(fd_in) ^~~~~~~~ slowsend.c: In function 'slowsend': slowsend.c:51:13: warning: implicit declaration of function 'readblock'; did you mean 'writeblock'? [-Wimplicit-function-declaration] while ( readblock(fd_in) ) ^~~~~~~~~ writeblock slowsend.c:52:11: warning: implicit declaration of function 'getstatus' [-Wimplicit-function-declaration] switch ( getstatus(0) ) { ^~~~~~~~~ slowsend.c:68:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(30); ^~~~~ slowsend.c:73:7: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "PostScript Error"); ^~~~~ perror slowsend.c: At top level: slowsend.c:93:8: warning: return type defaults to 'int' [-Wimplicit-int] static writeblock(num) ^~~~~~~~~~ slowsend.c: In function 'writeblock': slowsend.c:112:19: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( (count = write(ttyo, &block[head], num)) == -1 ) ^~~~~ fwrite cc -pipe -O2 -I/usr/pkg/include -I../common -DBSD4_2 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postio postio.o ifdef.o slowsend.o ---- Making all in directory postscript/postmd ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postmd.c postmd.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postmd.c: In function 'main': postmd.c:231:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postmd.c:232:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header comments */ ^~~~~~ postmd.c:233:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ postmd.c:234:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postmd.c:235:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postmd.c:236:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postmd.c:237:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postmd.c: At top level: postmd.c:245:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postmd.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postmd.c: In function 'header': postmd.c:290:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ getsubopt postmd.c:294:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postmd.c:304:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postmd.c: At top level: postmd.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postmd.c: In function 'options': postmd.c:367:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postmd.c:412:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postmd.c: At top level: postmd.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postmd.c: In function 'setup': postmd.c:451:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postmd.c:452:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending postmd.c: At top level: postmd.c:467:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postmd.c: In function 'arguments': postmd.c:480:2: warning: implicit declaration of function 'matrix'; did you mean 'main'? [-Wimplicit-function-declaration] matrix(); ^~~~~~ main postmd.c: At top level: postmd.c:501:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postmd.c: In function 'done': postmd.c:517:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix postmd.c: At top level: postmd.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postmd.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] matrix() ^~~~~~ postmd.c: In function 'matrix': postmd.c:567:2: warning: implicit declaration of function 'copystdin'; did you mean 'stdin'? [-Wimplicit-function-declaration] copystdin(); ^~~~~~~~~ stdin postmd.c:572:5: warning: implicit declaration of function 'buildilist'; did you mean 'isdigit'? [-Wimplicit-function-declaration] buildilist(interval); /* build the default ilist[] */ ^~~~~~~~~~ isdigit postmd.c:573:5: warning: implicit declaration of function 'addcolormap' [-Wimplicit-function-declaration] addcolormap(colormap); /* add the colormap - if not NULL */ ^~~~~~~~~~~ postmd.c:574:5: warning: implicit declaration of function 'setwindow'; did you mean 'rewind'? [-Wimplicit-function-declaration] setwindow(window); /* and setup the initial matrix window */ ^~~~~~~~~ rewind postmd.c:576:5: warning: implicit declaration of function 'getheader'; did you mean 'header'? [-Wimplicit-function-declaration] getheader(); /* matrix dimensions at the very least */ ^~~~~~~~~ header postmd.c:577:5: warning: implicit declaration of function 'dimensions' [-Wimplicit-function-declaration] dimensions(); /* make sure we have the dimensions etc. */ ^~~~~~~~~~ postmd.c:584:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(++page); ^~~~~~~~ select postmd.c:592:7: warning: implicit declaration of function 'inwindow'; did you mean 'rewind'? [-Wimplicit-function-declaration] if ( inwindow() ) *rptr++ = mapfloat(element); ^~~~~~~~ rewind postmd.c:592:30: warning: implicit declaration of function 'mapfloat'; did you mean 'malloc'? [-Wimplicit-function-declaration] if ( inwindow() ) *rptr++ = mapfloat(element); ^~~~~~~~ malloc postmd.c:594:11: warning: implicit declaration of function 'inrange' [-Wimplicit-function-declaration] if ( inrange() ) ^~~~~~~ postmd.c:595:3: warning: implicit declaration of function 'putrow'; did you mean 'putw'? [-Wimplicit-function-declaration] putrow(); ^~~~~~ putw postmd.c:601:5: warning: implicit declaration of function 'labelmatrix'; did you mean 'matrix'? [-Wimplicit-function-declaration] labelmatrix(); ^~~~~~~~~~~ matrix postmd.c: At top level: postmd.c:613:1: warning: return type defaults to 'int' [-Wimplicit-int] copystdin() ^~~~~~~~~ postmd.c: In function 'copystdin': postmd.c:642:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) ^~~~ fread postmd.c:643:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( write(fd_out, buf, count) != count ) ^~~~~ fwrite postmd.c:646:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd_out); ^~~~~ pclose postmd.c: At top level: postmd.c:655:1: warning: return type defaults to 'int' [-Wimplicit-int] getheader() ^~~~~~~~~ postmd.c:752:1: warning: return type defaults to 'int' [-Wimplicit-int] dimensions() ^~~~~~~~~~ postmd.c:803:1: warning: return type defaults to 'int' [-Wimplicit-int] buildilist(list) ^~~~~~~~~~ postmd.c:864:1: warning: return type defaults to 'int' [-Wimplicit-int] addcolormap(list) ^~~~~~~~~~~ postmd.c:897:1: warning: return type defaults to 'int' [-Wimplicit-int] setwindow(list) ^~~~~~~~~ postmd.c:932:1: warning: return type defaults to 'int' [-Wimplicit-int] inwindow() ^~~~~~~~ postmd.c:954:1: warning: return type defaults to 'int' [-Wimplicit-int] inrange() ^~~~~~~ postmd.c:971:1: warning: return type defaults to 'int' [-Wimplicit-int] mapfloat(element) ^~~~~~~~ postmd.c:999:1: warning: return type defaults to 'int' [-Wimplicit-int] putrow() ^~~~~~ postmd.c: In function 'putrow': postmd.c:1018:7: warning: implicit declaration of function 'patncmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] if ( patncmp(p1, n) == TRUE ) { ^~~~~~~ strncmp postmd.c: At top level: postmd.c:1042:1: warning: return type defaults to 'int' [-Wimplicit-int] labelmatrix() ^~~~~~~~~~~ postmd.c:1077:1: warning: return type defaults to 'int' [-Wimplicit-int] patncmp(p1, n) ^~~~~~~ postmd.c:1131:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postmd.c: In function 'redirect': postmd.c:1146:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit postmd.c: In function 'getheader': postmd.c:720:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp_in, "%dx%d", &rows, &columns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:722:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:725:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:728:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:731:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:734:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp_in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postmd.c:737:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp_in, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postmd postmd.o ../common/glob.o ../common/misc.o ../common/request.o ../common/tempnam.o -lm postmd.o: In function `copystdin': postmd.c:(.text+0x80b): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- Making all in directory postscript/postplot ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postplot.c postplot.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postplot.c: In function 'main': postplot.c:178:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postplot.c:179:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header and prologue */ ^~~~~~ postplot.c:180:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ postplot.c:181:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postplot.c:182:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postplot.c:183:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postplot.c:184:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postplot.c: At top level: postplot.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postplot.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postplot.c: In function 'header': postplot.c:236:19: warning: implicit declaration of function 'getopt'; did you mean 'get_font'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ get_font postplot.c:240:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postplot.c:250:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postplot.c: At top level: postplot.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postplot.c: In function 'options': postplot.c:302:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postplot.c:351:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postplot.c: At top level: postplot.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postplot.c: In function 'setup': postplot.c:416:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postplot.c:417:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending postplot.c: At top level: postplot.c:432:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postplot.c: In function 'arguments': postplot.c:445:2: warning: implicit declaration of function 'plot' [-Wimplicit-function-declaration] plot(); ^~~~ postplot.c: At top level: postplot.c:464:1: warning: return type defaults to 'int' [-Wimplicit-int] plot() ^~~~ postplot.c: In function 'plot': postplot.c:481:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); ^~~~~~~~ select postplot.c:482:5: warning: implicit declaration of function 'formfeed'; did you mean 'free'? [-Wimplicit-function-declaration] formfeed(); ^~~~~~~~ free postplot.c:487:10: warning: implicit declaration of function 'getint'; did you mean 'getenv'? [-Wimplicit-function-declaration] hpos = getint(); ^~~~~~ getenv postplot.c:519:3: warning: implicit declaration of function 'connect' [-Wimplicit-function-declaration] connect(); ^~~~~~~ postplot.c:558:3: warning: implicit declaration of function 'setstyle'; did you mean 'setstate'? [-Wimplicit-function-declaration] setstyle(s); ^~~~~~~~ setstate postplot.c: At top level: postplot.c:583:1: warning: return type defaults to 'int' [-Wimplicit-int] connect() ^~~~~~~ postplot.c:619:1: warning: return type defaults to 'int' [-Wimplicit-int] setstyle(str) ^~~~~~~~ postplot.c:647:1: warning: return type defaults to 'int' [-Wimplicit-int] getint() ^~~~~~ postplot.c:697:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postplot.c:718:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postplot.c:736:1: warning: return type defaults to 'int' [-Wimplicit-int] formfeed() ^~~~~~~~ postplot.c:779:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postplot.c: In function 'redirect': postplot.c:794:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postplot postplot.o ../common/glob.o ../common/misc.o ../common/request.o ---- Making all in directory postscript/postprint ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c postprint.c postprint.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postprint.c: In function 'main': postprint.c:145:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postprint.c:146:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header and prologue */ ^~~~~~ postprint.c:147:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ postprint.c:148:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf postprint.c:149:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ postprint.c:150:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ postprint.c:151:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ postprint.c: At top level: postprint.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postprint.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ postprint.c: In function 'header': postprint.c:203:19: warning: implicit declaration of function 'getopt'; did you mean 'get_font'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ get_font postprint.c:207:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror postprint.c:217:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt postprint.c: At top level: postprint.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postprint.c: In function 'options': postprint.c:284:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postprint.c:338:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ postprint.c: At top level: postprint.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ postprint.c: In function 'setup': postprint.c:407:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ postprint.c:408:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending postprint.c: At top level: postprint.c:426:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postprint.c: In function 'arguments': postprint.c:439:2: warning: implicit declaration of function 'text'; did you mean 'exit'? [-Wimplicit-function-declaration] text(); ^~~~ exit postprint.c: At top level: postprint.c:458:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postprint.c:479:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ postprint.c:497:1: warning: return type defaults to 'int' [-Wimplicit-int] text() ^~~~ postprint.c: In function 'text': postprint.c:514:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* get ready for the first page */ ^~~~~~~~ select postprint.c:515:5: warning: implicit declaration of function 'formfeed'; did you mean 'free'? [-Wimplicit-function-declaration] formfeed(); /* force PAGE comment etc. */ ^~~~~~~~ free postprint.c:520:7: warning: implicit declaration of function 'newline'; did you mean 'getline'? [-Wimplicit-function-declaration] newline(); ^~~~~~~ getline postprint.c:526:7: warning: implicit declaration of function 'spaces'; did you mean 'isspace'? [-Wimplicit-function-declaration] spaces(ch); ^~~~~~ isspace postprint.c:541:7: warning: implicit declaration of function 'oput'; did you mean 'open'? [-Wimplicit-function-declaration] oput(ch); ^~~~ open postprint.c: At top level: postprint.c:551:1: warning: return type defaults to 'int' [-Wimplicit-int] formfeed() ^~~~~~~~ postprint.c: In function 'formfeed': postprint.c:573:5: warning: implicit declaration of function 'endline'; did you mean 'getline'? [-Wimplicit-function-declaration] endline(); /* print the last line */ ^~~~~~~ getline postprint.c: At top level: postprint.c:596:1: warning: return type defaults to 'int' [-Wimplicit-int] newline() ^~~~~~~ postprint.c: In function 'newline': postprint.c:607:5: warning: implicit declaration of function 'startline'; did you mean 'strnlen'? [-Wimplicit-function-declaration] startline(); ^~~~~~~~~ strnlen postprint.c: At top level: postprint.c:617:1: warning: return type defaults to 'int' [-Wimplicit-int] spaces(ch) ^~~~~~ postprint.c: In function 'spaces': postprint.c:664:2: warning: implicit declaration of function 'endstring' [-Wimplicit-function-declaration] endstring(); ^~~~~~~~~ postprint.c: At top level: postprint.c:672:1: warning: return type defaults to 'int' [-Wimplicit-int] startline() ^~~~~~~~~ postprint.c:694:1: warning: return type defaults to 'int' [-Wimplicit-int] endstring() ^~~~~~~~~ postprint.c:716:1: warning: return type defaults to 'int' [-Wimplicit-int] endline() ^~~~~~~ postprint.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] oput(ch) ^~~~ postprint.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ postprint.c: In function 'redirect': postprint.c:784:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postprint postprint.o ../common/glob.o ../common/misc.o ../common/request.o ---- Making all in directory postscript/postreverse ---- cc -pipe -O2 -I/usr/pkg/include -I../common -I/usr/pkg/include -c postreverse.c postreverse.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ postreverse.c: In function 'main': postreverse.c:128:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal postreverse.c:129:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* first get command line options */ ^~~~~~~ postreverse.c:130:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* then process non-option arguments */ ^~~~~~~~~ postreverse.c:131:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* and clean things up */ ^~~~ postreverse.c: At top level: postreverse.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ postreverse.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ postreverse.c: In function 'options': postreverse.c:184:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) { ^~~~~~ getsubopt postreverse.c:188:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "illegal forms request %s", optarg); ^~~~~ perror postreverse.c:192:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ postreverse.c: At top level: postreverse.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ postreverse.c: In function 'arguments': postreverse.c:256:5: warning: implicit declaration of function 'reverse' [-Wimplicit-function-declaration] reverse(); ^~~~~~~ postreverse.c: At top level: postreverse.c:262:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ postreverse.c: In function 'done': postreverse.c:274:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(temp_file); ^~~~~~ unix postreverse.c: In function 'copystdin': postreverse.c:306:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) ^~~~ fread postreverse.c:307:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ( write(fd_out, buf, count) != count ) ^~~~~ fwrite postreverse.c:310:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd_out); ^~~~~ pclose postreverse.c: At top level: postreverse.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] reverse() ^~~~~~~ postreverse.c: In function 'reverse': postreverse.c:338:10: warning: implicit declaration of function 'moreprolog' [-Wimplicit-function-declaration] if ( moreprolog(ENDPROLOG) == TRUE ) { ^~~~~~~~~~ postreverse.c:339:2: warning: implicit declaration of function 'readpages'; did you mean 'realpath'? [-Wimplicit-function-declaration] readpages(); ^~~~~~~~~ realpath postreverse.c:340:2: warning: implicit declaration of function 'writepages' [-Wimplicit-function-declaration] writepages(); ^~~~~~~~~~ postreverse.c:341:2: warning: implicit declaration of function 'trailer'; did you mean 'raise'? [-Wimplicit-function-declaration] trailer(); ^~~~~~~ raise postreverse.c: At top level: postreverse.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] moreprolog(str) ^~~~~~~~~~ postreverse.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] readpages() ^~~~~~~~~ postreverse.c: In function 'readpages': postreverse.c:418:11: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( in_olist(page++) == ON ) { ^~~~~~~~ on_exit postreverse.c: At top level: postreverse.c:451:1: warning: return type defaults to 'int' [-Wimplicit-int] writepages() ^~~~~~~~~~ postreverse.c: In function 'writepages': postreverse.c:488:13: warning: implicit declaration of function 'copypage' [-Wimplicit-function-declaration] } else copypage(pages[j].start, pages[j].stop); ^~~~~~~~ postreverse.c: At top level: postreverse.c:494:1: warning: return type defaults to 'int' [-Wimplicit-int] copypage(start, stop) ^~~~~~~~ postreverse.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] trailer() ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I../common -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o postreverse postreverse.o ../common/glob.o ../common/misc.o ../common/tempnam.o postreverse.o: In function `copystdin': postreverse.c:(.text+0x201): warning: the use of `tempnam' is dangerous, better use `mkstemp' ---- Making all in directory postscript/posttek ---- cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -I/usr/pkg/include -c posttek.c posttek.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^~~~ posttek.c: In function 'main': posttek.c:178:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] init_signals(); /* sets up interrupt handling */ ^~~~~~~~~~~~ strsignal posttek.c:179:5: warning: implicit declaration of function 'header' [-Wimplicit-function-declaration] header(); /* PostScript header comments */ ^~~~~~ posttek.c:180:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* handle the command line options */ ^~~~~~~ posttek.c:181:5: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); /* for PostScript */ ^~~~~ setbuf posttek.c:182:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* followed by each input file */ ^~~~~~~~~ posttek.c:183:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* print the last page etc. */ ^~~~ posttek.c:184:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^~~~~~~ posttek.c: At top level: posttek.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^~~~~~~~~~~~ posttek.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] header() ^~~~~~ posttek.c: In function 'header': posttek.c:236:19: warning: implicit declaration of function 'getopt'; did you mean 'get_font'? [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, optnames)) != EOF ) ^~~~~~ get_font posttek.c:240:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, ""); ^~~~~ perror posttek.c:250:10: warning: implicit declaration of function 'cat'; did you mean 'gcvt'? [-Wimplicit-function-declaration] if ( cat(prologue) == FALSE ) ^~~ gcvt posttek.c: At top level: posttek.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^~~~~~~ posttek.c: In function 'options': posttek.c:302:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^~~~~~~~ posttek.c:347:7: warning: implicit declaration of function 'saverequest' [-Wimplicit-function-declaration] saverequest(optarg); ^~~~~~~~~~~ posttek.c: At top level: posttek.c:401:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^~~~~ posttek.c: In function 'setup': posttek.c:412:5: warning: implicit declaration of function 'writerequest' [-Wimplicit-function-declaration] writerequest(0, stdout); /* global requests eg. manual feed */ ^~~~~~~~~~~~ posttek.c:413:5: warning: implicit declaration of function 'setencoding'; did you mean 'sigpending'? [-Wimplicit-function-declaration] setencoding(fontencoding); ^~~~~~~~~~~ sigpending posttek.c: At top level: posttek.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^~~~~~~~~ posttek.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ posttek.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^~~~~~~ posttek.c: In function 'statemachine': posttek.c:513:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] redirect(-1); /* get ready for the first page */ ^~~~~~~~ select posttek.c:514:5: warning: implicit declaration of function 'formfeed'; did you mean 'free'? [-Wimplicit-function-declaration] formfeed(); ^~~~~~~~ free posttek.c:520:7: warning: implicit declaration of function 'reset'; did you mean 'memset'? [-Wimplicit-function-declaration] reset(); ^~~~~ memset posttek.c:528:7: warning: implicit declaration of function 'gin'; did you mean 'main'? [-Wimplicit-function-declaration] gin(); ^~~ main posttek.c:537:7: warning: implicit declaration of function 'point'; did you mean 'printf'? [-Wimplicit-function-declaration] point(); ^~~~~ printf posttek.c: At top level: posttek.c:553:1: warning: return type defaults to 'int' [-Wimplicit-int] reset() ^~~~~ posttek.c: In function 'reset': posttek.c:564:5: warning: implicit declaration of function 'home'; did you mean 'done'? [-Wimplicit-function-declaration] home(); ^~~~ done posttek.c:565:5: warning: implicit declaration of function 'setfont'; did you mean 'get_font'? [-Wimplicit-function-declaration] setfont(TEKFONT); ^~~~~~~ get_font posttek.c:566:5: warning: implicit declaration of function 'setmode'; did you mean 'memmove'? [-Wimplicit-function-declaration] setmode(ALPHA); ^~~~~~~ memmove posttek.c: In function 'alpha': posttek.c:586:15: warning: implicit declaration of function 'nextchar'; did you mean 'getchar'? [-Wimplicit-function-declaration] if ( (c = nextchar()) == OUTMODED ) ^~~~~~~~ getchar posttek.c:589:29: warning: implicit declaration of function 'control' [-Wimplicit-function-declaration] if ( (c < 040) && ((c = control(c)) <= 0) ) ^~~~~~~ posttek.c:632:3: warning: implicit declaration of function 'move'; did you mean 'done'? [-Wimplicit-function-declaration] move(x, y); ^~~~ done posttek.c:650:2: warning: implicit declaration of function 'text'; did you mean 'exit'? [-Wimplicit-function-declaration] text(); ^~~~ exit posttek.c: In function 'graph': posttek.c:721:2: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] draw(); ^~~~ posttek.c: At top level: posttek.c:734:1: warning: return type defaults to 'int' [-Wimplicit-int] point() ^~~~~ posttek.c:807:1: warning: return type defaults to 'int' [-Wimplicit-int] gin() ^~~ posttek.c:823:1: warning: return type defaults to 'int' [-Wimplicit-int] control(c) ^~~~~~~ posttek.c: In function 'control': posttek.c:886:10: warning: implicit declaration of function 'esc'; did you mean 'getc'? [-Wimplicit-function-declaration] return(esc()); ^~~ getc posttek.c: At top level: posttek.c:899:1: warning: return type defaults to 'int' [-Wimplicit-int] esc() ^~~ posttek.c:987:1: warning: return type defaults to 'int' [-Wimplicit-int] move(x, y) ^~~~ posttek.c:1006:1: warning: return type defaults to 'int' [-Wimplicit-int] setmode(mode) ^~~~~~~ posttek.c:1038:1: warning: return type defaults to 'int' [-Wimplicit-int] home() ^~~~ posttek.c:1055:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(newfont) ^~~~~~~ posttek.c:1079:1: warning: return type defaults to 'int' [-Wimplicit-int] text() ^~~~ posttek.c:1098:1: warning: return type defaults to 'int' [-Wimplicit-int] draw() ^~~~ posttek.c:1120:1: warning: return type defaults to 'int' [-Wimplicit-int] formfeed() ^~~~~~~~ posttek.c:1160:1: warning: return type defaults to 'int' [-Wimplicit-int] nextchar() ^~~~~~~~ posttek.c:1185:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^~~~~~~~ posttek.c: In function 'redirect': posttek.c:1200:21: warning: implicit declaration of function 'in_olist'; did you mean 'on_exit'? [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^~~~~~~~ on_exit cc -pipe -O2 -I/usr/pkg/include -I../common -DPOSTLIB="\"/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o posttek posttek.o ../common/glob.o ../common/misc.o ../common/request.o ---- Making all in directory postscript/printfont ---- sed "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" printfont.sh >printfont ---- Making all in directory postscript/psencoding ---- sed "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" psencoding.sh >psencoding ---- Making all in directory postscript/psfiles ---- ---- Making all in directory postscript/trofftable ---- sed -e "s'^FONTDIR=.*'FONTDIR=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/font'" -e "s'^POSTBIN=.*'POSTBIN=/usr/lbin/postscript'" -e "s'^POSTLIB=.*'POSTLIB=/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/postscript'" trofftable.sh >trofftable ---- Making all in directory text/devnroff ---- ---- Making all in directory text/devnroff-12 ---- ---- Making all in directory text/dnroff ---- cc -pipe -O2 -I/usr/pkg/include -DBSD4_2 -D'NDEVNAME="37"' -D'NTERMDIR="/usr/lib/nterm"' -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dnroff dnroff.c dnroff.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ dnroff.c: In function 'main': dnroff.c:112:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] dnroff.c:133:4: warning: implicit declaration of function 'outlist' [-Wimplicit-function-declaration] outlist(&argv[1][2]); ^~~~~~~ dnroff.c:153:3: warning: implicit declaration of function 'conv'; did you mean 'done'? [-Wimplicit-function-declaration] conv(stdin); ^~~~ done dnroff.c:159:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't open %s", *argv); ^~~~~ perror dnroff.c: At top level: dnroff.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] outlist(s) /* process list of page numbers to be printed */ ^~~~~~~ dnroff.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^~~~ dnroff.c: In function 'conv': dnroff.c:232:4: warning: implicit declaration of function 'put1s'; did you mean 'put1'? [-Wimplicit-function-declaration] put1s(str); ^~~~~ put1 dnroff.c:236:4: warning: implicit declaration of function 'put1a'; did you mean 'put1'? [-Wimplicit-function-declaration] put1a(n); ^~~~~ put1 dnroff.c:243:5: warning: implicit declaration of function 'drawline'; did you mean 'raise'? [-Wimplicit-function-declaration] drawline(n, m, "."); ^~~~~~~~ raise dnroff.c:247:5: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] drawcirc(n); ^~~~~~~~ dnroff.c:251:5: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] drawellip(m, n); ^~~~~~~~~ dnroff.c:255:5: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] drawarc(n, m, n1, m1); ^~~~~~~ dnroff.c:258:5: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] drawwig(buf+1); ^~~~~~~ dnroff.c:267:4: warning: implicit declaration of function 'setsize'; did you mean 'setstate'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~~ setstate dnroff.c:267:12: warning: implicit declaration of function 't_size'; did you mean 't_page'? [-Wimplicit-function-declaration] setsize(t_size(n)); ^~~~~~ t_page dnroff.c:271:4: warning: implicit declaration of function 'setfont'; did you mean 'setenv'? [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~~ setenv dnroff.c:271:12: warning: implicit declaration of function 't_font' [-Wimplicit-function-declaration] setfont(t_font(str)); ^~~~~~ dnroff.c:317:4: warning: implicit declaration of function 't_newline'; did you mean 'getline'? [-Wimplicit-function-declaration] t_newline(); ^~~~~~~~~ getline dnroff.c:324:4: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] devcntrl(fp); ^~~~~~~~ iscntrl dnroff.c:334:4: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); ^~~~ dnroff.c:116:6: note: previous declaration of 'done' was here int done(); ^~~~ dnroff.c: At top level: dnroff.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) /* interpret device control functions */ ^~~~~~~~ dnroff.c: In function 'devcntrl': dnroff.c:348:3: warning: implicit declaration of function 'fileinit'; did you mean 'fileno'? [-Wimplicit-function-declaration] fileinit(); ^~~~~~~~ fileno dnroff.c:349:3: warning: implicit declaration of function 't_init'; did you mean 'si_int'? [-Wimplicit-function-declaration] t_init(0); ^~~~~~ si_int dnroff.c:358:3: warning: implicit declaration of function 't_trailer' [-Wimplicit-function-declaration] t_trailer(); ^~~~~~~~~ dnroff.c:361:3: warning: implicit declaration of function 't_reset' [-Wimplicit-function-declaration] t_reset('p'); ^~~~~~~ dnroff.c: At top level: dnroff.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] fileinit() /* read in font and code files, etc. */ ^~~~~~~~ dnroff.c: In function 'fileinit': dnroff.c:403:12: warning: implicit declaration of function 'getint'; did you mean 'getenv'? [-Wimplicit-function-declaration] skip(fp); getint(fp, &t.bset); skip(fp); /* these are assumed in order for now */ ^~~~~~ getenv dnroff.c:412:12: warning: implicit declaration of function 'getstr'; did you mean 'strstr'? [-Wimplicit-function-declaration] skip(fp); getstr(fp, &t.twinit); ^~~~~~ strstr dnroff.c: At top level: dnroff.c:455:1: warning: return type defaults to 'int' [-Wimplicit-int] getint(fp, pn) /* find integer at s */ ^~~~~~ dnroff.c:476:1: warning: return type defaults to 'int' [-Wimplicit-int] getstr(fp, strp) /* find next string, copy to str */ ^~~~~~ dnroff.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^~~~ dnroff.c: In function 'done': dnroff.c:527:2: warning: implicit declaration of function 'restore_tty' [-Wimplicit-function-declaration] restore_tty(); ^~~~~~~~~~~ dnroff.c: At top level: dnroff.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] error(f, s, a1, a2, a3, a4, a5, a6, a7) ^~~~~ dnroff.c: In function 'error': dnroff.c:531:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a2' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a3' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a4' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a5' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a6' defaults to 'int' [-Wimplicit-int] dnroff.c:531:1: warning: type of 'a7' defaults to 'int' [-Wimplicit-int] dnroff.c: At top level: dnroff.c:549:1: warning: return type defaults to 'int' [-Wimplicit-int] t_init(reinit) /* initialize device */ ^~~~~~ dnroff.c: In function 't_init': dnroff.c:553:3: warning: implicit declaration of function 'save_tty' [-Wimplicit-function-declaration] save_tty(); ^~~~~~~~ dnroff.c: At top level: dnroff.c:594:1: warning: return type defaults to 'int' [-Wimplicit-int] t_newline() /* do whatever for the end of a line */ ^~~~~~~~~ dnroff.c: In function 't_newline': dnroff.c:598:2: warning: implicit declaration of function 'move'; did you mean 'done'? [-Wimplicit-function-declaration] move(); ^~~~ done dnroff.c: At top level: dnroff.c:604:1: warning: return type defaults to 'int' [-Wimplicit-int] t_size(n) /* convert integer to internal size number*/ ^~~~~~ dnroff.c:609:1: warning: return type defaults to 'int' [-Wimplicit-int] t_font(s) /* convert string to internal font number */ ^~~~~~ dnroff.c:616:1: warning: return type defaults to 'int' [-Wimplicit-int] t_reset(c) ^~~~~~~ dnroff.c: In function 't_reset': dnroff.c:616:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] dnroff.c: At top level: dnroff.c:623:1: warning: return type defaults to 'int' [-Wimplicit-int] t_trailer() ^~~~~~~~~ dnroff.c:629:1: warning: return type defaults to 'int' [-Wimplicit-int] put1s(s) /* s is a funny char name */ ^~~~~ dnroff.c:642:1: warning: return type defaults to 'int' [-Wimplicit-int] put1a(n) /* put single char by absolute number */ ^~~~~ dnroff.c:647:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(n) /* set point size to n (internal) */ ^~~~~~~ dnroff.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] t_fp(n, s, si) /* font position n now contains font s, intname si */ ^~~~ dnroff.c:658:1: warning: return type defaults to 'int' [-Wimplicit-int] drawline(n, m, s) int m, n; char *s; {} ^~~~~~~~ dnroff.c:659:1: warning: return type defaults to 'int' [-Wimplicit-int] drawcirc(n) int n; {} ^~~~~~~~ dnroff.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] drawellip(m, n) int m,n; {} ^~~~~~~~~ dnroff.c:661:1: warning: return type defaults to 'int' [-Wimplicit-int] drawarc(n, m, n1, m1) int m,n,m1,n1; {} ^~~~~~~ dnroff.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] drawwig(buf) char *buf; {} ^~~~~~~ dnroff.c:685:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(n) /* set font to n */ ^~~~~~~ dnroff.c: In function 'setfont': dnroff.c:685:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] dnroff.c: At top level: dnroff.c:824:1: warning: return type defaults to 'int' [-Wimplicit-int] move() ^~~~ dnroff.c: In function 'move': dnroff.c:826:11: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k; ^ dnroff.c: At top level: dnroff.c:936:1: warning: return type defaults to 'int' [-Wimplicit-int] save_tty() /*save any tty settings that may be changed*/ ^~~~~~~~ dnroff.c: In function 'save_tty': dnroff.c:922:20: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] #define gtty(f, a) ioctl(f, TIOCGETP, a) ^~~~~ dnroff.c:945:6: note: in expansion of macro 'gtty' if (gtty(0, &ttys[0]) >= 0) ^~~~ dnroff.c: At top level: dnroff.c:954:1: warning: return type defaults to 'int' [-Wimplicit-int] restore_tty() /*restore tty settings from beginning*/ ^~~~~~~~~~~ dnroff.c:978:1: warning: return type defaults to 'int' [-Wimplicit-int] set_tty() ^~~~~~~ dnroff.c: In function 'conv': dnroff.c:231:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dnroff.c:235:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c:239:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dnroff.c:266:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); /* ignore fractional sizes */ ^~~~~~~~~~~~~~~~~~~~ dnroff.c:270:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dnroff.c:303:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c:307:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c:311:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c: In function 'devcntrl': dnroff.c:345:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", str); ^~~~~~~~~~~~~~~~~~~~~ dnroff.c:352:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ dnroff.c:367:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &res); ^~~~~~~~~~~~~~~~~~~~~~ dnroff.c:370:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %s", &n, str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dnroff.c:371:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof buf, fp); /* in case there's a filename */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ dnroff.c:375:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c:378:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &n); ^~~~~~~~~~~~~~~~~~~~ dnroff.c: In function 'fileinit': dnroff.c:402:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", name); /* skip over type, could check */ ^~~~~~~~~~~~~~~~~~~~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:403:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.bset); skip(fp); /* these are assumed in order for now */ ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:403:33: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.bset); skip(fp); /* these are assumed in order for now */ ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:404:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.breset); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:405:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Hor); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:406:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Vert); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:407:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Newline); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:408:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Char); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:409:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Em); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:410:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Halfline); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:411:2: note: in expansion of macro 'skip' skip(fp); getint(fp, &t.Adj); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:412:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.twinit); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:413:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.twrest); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:414:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.twnl); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:415:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.hlr); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:416:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.hlf); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:417:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.flr); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:418:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.bdon); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:419:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.bdoff); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:420:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.iton); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:421:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.itoff); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:422:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.ploton); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:423:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.plotoff); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:424:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.up); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:425:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.down); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:426:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.right); ^~~~ dnroff.c:386:18: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] #define skip(fp) fscanf(fp, "%*s") ^~~~~~~~~~~~~~~~~ dnroff.c:427:2: note: in expansion of macro 'skip' skip(fp); getstr(fp, &t.left); ^~~~ dnroff.c:429:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", name); ^~~~~~~~~~~~~~~~~~~~~~ dnroff.c: In function 'getstr': dnroff.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%s", buf); ^~~~~~~~~~~~~~~~~~~~~ ---- Making all in directory text/eqn ---- yacc -d eqn.y eqn.y: warning: 155 shift/reduce conflicts [-Wconflicts-sr] eqn.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c -o eqn.o y.tab.c rm -f y.tab.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c main.c main.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char *argv[]) ^~~~ main.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] getdata(void) ^~~~~~~ main.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] dwb_getline(char *s) ^~~~~~~~~~~ main.c: In function 'dwb_getline': main.c:171:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ main.c: At top level: main.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] EFFPS(int n) /* effective value of n */ ^~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c tuning.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c diacrit.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c eqnbox.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c font.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c fromto.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c funny.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c glob.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c integral.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c input.c input.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] getarg(char *p) /* pick up single argument, store in p, return length */ ^~~~~~ input.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] input(void) ^~~~~ input.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] unput(int c) ^~~~~ input.c: In function 'eprint': input.c:337:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ebuf, sizeof ebuf, curfile->fin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c lex.c lex.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] yylex(void) ^~~~~ lex.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] cstr(char *s, int quote, int maxs) ^~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c lookup.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mark.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c matrix.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c move.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c over.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c paren.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c pile.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c shift.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c size.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c sqrt.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c text.c text.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] trans(int c, char *p1) ^~~~~ cc -pipe -O2 -I/usr/pkg/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o eqn main.o tuning.o diacrit.o eqnbox.o font.o fromto.o funny.o glob.o integral.o input.o lex.o lookup.o mark.o matrix.o move.o over.o paren.o pile.o shift.o size.o sqrt.o text.o eqn.o ---- Making all in directory text/eqnchar ---- ---- Making all in directory text/grap ---- yacc -d grap.y grap.y: warning: 44 shift/reduce conflicts [-Wconflicts-sr] grap.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c -o grap.o y.tab.c y.tab.c: In function 'yyparse': y.tab.c:1741:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ grap.y:46:59: warning: implicit declaration of function 'graph' [-Wimplicit-function-declaration] graphseq { if (codegen && !synerr) graph((char *) 0); } ^ grap.y:57:56: warning: implicit declaration of function 'endstat'; did you mean 'ifstat'? [-Wimplicit-function-declaration] GRAPH { graph($1); endstat(); } ^ ifstat grap.y:77:48: warning: implicit declaration of function 'pic' [-Wimplicit-function-declaration] | PIC { codegen = 1; pic($1); } ^ grap.y:81:48: warning: implicit declaration of function 'numlist' [-Wimplicit-function-declaration] | numlist { codegen = 1; numlist(); } ^ grap.y:84:83: warning: implicit declaration of function 'freeattr'; did you mean 'makeattr'? [-Wimplicit-function-declaration] | PRINT string { fprintf(stderr, "\t%s\n", $2->sval); freeattr($2); } ^ makeattr grap.y:89:35: warning: implicit declaration of function 'savenum' [-Wimplicit-function-declaration] number { savenum(0, $1); $$ = 1; } ^~~~ grap.y:100:51: warning: implicit declaration of function 'label'; did you mean 'fabsl'? [-Wimplicit-function-declaration] LABEL optside stringlist lablist { label($2, $3); } ^~~~ fabsl grap.y:108:35: warning: implicit declaration of function 'labelmove'; did you mean 'remove'? [-Wimplicit-function-declaration] UP expr { labelmove($1, $2); } ^ remove grap.y:111:35: warning: implicit declaration of function 'labelwid' [-Wimplicit-function-declaration] | WIDTH expr { labelwid($2); } ^ grap.y:119:35: warning: implicit declaration of function 'frameht' [-Wimplicit-function-declaration] HEIGHT expr { frameht($2); } ^ grap.y:120:35: warning: implicit declaration of function 'framewid'; did you mean 'rewind'? [-Wimplicit-function-declaration] | WIDTH expr { framewid($2); } ^ rewind grap.y:121:35: warning: implicit declaration of function 'frameside' [-Wimplicit-function-declaration] | side linedesc { frameside($1, $2); } ^~~~~~ grap.y:144:35: warning: implicit declaration of function 'ticks' [-Wimplicit-function-declaration] TICKS tickdesc { ticks(); } ^ grap.y:151:35: warning: implicit declaration of function 'tickside' [-Wimplicit-function-declaration] side { tickside($1); } ^ grap.y:152:35: warning: implicit declaration of function 'tickdir' [-Wimplicit-function-declaration] | IN expr { tickdir(IN, $2, 1); } ^ grap.y:156:35: warning: implicit declaration of function 'setlist'; did you mean 'getline'? [-Wimplicit-function-declaration] | AT optname ticklist { setlist(); ticklist($2, AT); } ^~~~~~~ getline grap.y:156:46: warning: implicit declaration of function 'ticklist' [-Wimplicit-function-declaration] | AT optname ticklist { setlist(); ticklist($2, AT); } ^~~~~~~~ grap.y:158:35: warning: implicit declaration of function 'tickoff' [-Wimplicit-function-declaration] | side OFF { tickoff($1); } ^ grap.y:167:35: warning: implicit declaration of function 'savetick' [-Wimplicit-function-declaration] expr { savetick($1, (char *) 0); } ^~~~~ grap.y:172:27: warning: implicit declaration of function 'iterator'; did you mean 'yyerror'? [-Wimplicit-function-declaration] { iterator($3, $6, $8, $9, $10); $$ = $2; } ^~~~~~~~ yyerror grap.y:199:35: warning: implicit declaration of function 'griddesc' [-Wimplicit-function-declaration] | linedesc { griddesc($1); } ^ grap.y:200:46: warning: implicit declaration of function 'gridlist' [-Wimplicit-function-declaration] | AT optname ticklist { setlist(); gridlist($2); } ^~~~~~ grap.y:202:35: warning: implicit declaration of function 'gridtickoff' [-Wimplicit-function-declaration] | TICKS OFF { gridtickoff(); } ^ grap.y:208:51: warning: implicit declaration of function 'line'; did you mean 'sinl'? [-Wimplicit-function-declaration] LINE FROM point TO point optdesc { line($1, $3, $5, $6); } ^~~~ sinl grap.y:212:51: warning: implicit declaration of function 'circle'; did you mean 'cbrtl'? [-Wimplicit-function-declaration] CIRCLE RADIUS expr AT point { circle($3, $5); } ^ cbrtl grap.y:238:35: warning: implicit declaration of function 'setjust'; did you mean 'setbuf'? [-Wimplicit-function-declaration] JUST { setjust($1); } ^ setbuf grap.y:239:35: warning: implicit declaration of function 'setsize'; did you mean 'getline'? [-Wimplicit-function-declaration] | SIZE optop expr { setsize($2, $3); } ^~~~~ getline grap.y:243:43: warning: implicit declaration of function 'coord'; did you mean 'floorl'? [-Wimplicit-function-declaration] COORD optname coordlist { coord($2); } ^ floorl grap.y:244:43: warning: implicit declaration of function 'resetcoord' [-Wimplicit-function-declaration] | COORD optname { resetcoord($2); } ^ grap.y:251:27: warning: implicit declaration of function 'coordlog' [-Wimplicit-function-declaration] coordlog { coordlog($1); } ^~~ grap.y:252:27: warning: implicit declaration of function 'coord_x' [-Wimplicit-function-declaration] | X point { coord_x($2); } ^ grap.y:253:27: warning: implicit declaration of function 'coord_y' [-Wimplicit-function-declaration] | Y point { coord_y($2); } ^ grap.y:268:43: warning: implicit declaration of function 'plot'; did you mean 'pow'? [-Wimplicit-function-declaration] stringlist AT point { plot($1, $3); } ^ pow grap.y:270:43: warning: implicit declaration of function 'plotnum' [-Wimplicit-function-declaration] | PLOT expr optstring AT point { plotnum($2, $3, $5); } ^~~~~~~ grap.y:274:51: warning: implicit declaration of function 'drawdesc'; did you mean 'drand48'? [-Wimplicit-function-declaration] drawtype optname linedesc { drawdesc($1, $2, $3, (char *) 0); } ^~~~~~~~ drand48 grap.y:284:51: warning: implicit declaration of function 'next'; did you mean 'exp'? [-Wimplicit-function-declaration] NEXT optname AT point optdesc { next($2, $4, $5); } ^~~~ exp grap.y:287:35: warning: implicit declaration of function 'copy'; did you mean 'cosl'? [-Wimplicit-function-declaration] COPY copylist { copy(); } ^ cosl grap.y:294:35: warning: implicit declaration of function 'copyfile'; did you mean 'copysign'? [-Wimplicit-function-declaration] STRING { copyfile($1); } ^ copysign grap.y:295:35: warning: implicit declaration of function 'copydef'; did you mean 'copythru'? [-Wimplicit-function-declaration] | THRU DEFNAME { copydef($2); } ^ copythru grap.y:296:35: warning: implicit declaration of function 'copyuntil'; did you mean 'copysignl'? [-Wimplicit-function-declaration] | UNTIL STRING { copyuntil($2); } ^ copysignl grap.y:301:19: warning: implicit declaration of function 'forloop'; did you mean 'floor'? [-Wimplicit-function-declaration] { forloop($2, $4, $6, $8, $9, $10); } ^~~~~~~ floor grap.y:316:47: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] | STRING EQ STRING { $$ = strcmp($1,$3) == 0; free($1); free($3); } ^~~~~~ rm -f y.tab.c cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c main.c main.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function 'main': main.c:34:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] main.c:49:4: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(tempfile); ^~~~~~ unix main.c:59:2: warning: implicit declaration of function 'setdefaults' [-Wimplicit-function-declaration] setdefaults(); ^~~~~~~~~~~ main.c:66:3: warning: implicit declaration of function 'pushsrc' [-Wimplicit-function-declaration] pushsrc(File, curfile->fname); ^~~~~~~ main.c:67:3: warning: implicit declaration of function 'getdata'; did you mean 'getvar'? [-Wimplicit-function-declaration] getdata(); ^~~~~~~ getvar main.c: At top level: main.c:122:1: warning: return type defaults to 'int' [-Wimplicit-int] setdefaults() /* set default sizes for variables */ ^~~~~~~~~~~ main.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] getdata() /* read input */ ^~~~~~~ main.c: In function 'getdata': main.c:145:4: warning: implicit declaration of function 'setup'; did you mean 'setbuf'? [-Wimplicit-function-declaration] setup(); ^~~~~ setbuf cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c input.c input.c: In function 'delimstr': input.c:115:11: warning: implicit declaration of function 'baldelim'; did you mean 'getdelim'? [-Wimplicit-function-declaration] rdelim = baldelim(delim, "{}"); /* could be "(){}[]`'" */ ^~~~~~~~ getdelim input.c: In function 'dodef': input.c:162:30: warning: implicit declaration of function 'getarg'; did you mean 'getvar'? [-Wimplicit-function-declaration] for (p = ap->argval; (len = getarg(p)) != -1; p += len) { ^~~~~~ getvar input.c: In function 'dwb_input': input.c:222:6: warning: implicit declaration of function 'nextchar'; did you mean 'getchar'? [-Wimplicit-function-declaration] c = nextchar(); ^~~~~~~~ getchar input.c: At top level: input.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap() {;} ^~~~~~ input.c:459:1: warning: return type defaults to 'int' [-Wimplicit-int] copyfile(s) /* remember file to start reading from */ ^~~~~~~~ input.c:509:1: warning: return type defaults to 'int' [-Wimplicit-int] copyuntil(s) /* string that terminates a thru */ ^~~~~~~~~ input.c:515:1: warning: return type defaults to 'int' [-Wimplicit-int] copy() /* begin input from file, etc. */ ^~~~ input.c: In function 'eprint': input.c:446:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ebuf, sizeof ebuf, curfile->fin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c: In function 'shell_exec': input.c:560:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(shellbuf); ^~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c print.c print.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] print() /* arrange final output */ ^~~~~ print.c: In function 'print': print.c:105:3: warning: implicit declaration of function 'frame'; did you mean 'free'? [-Wimplicit-function-declaration] frame(); ^~~~~ free print.c:107:3: warning: implicit declaration of function 'do_autoticks' [-Wimplicit-function-declaration] do_autoticks(dfp); ^~~~~~~~~~~~ print.c: At top level: print.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] endstat() /* clean up after each statement */ ^~~~~~~ print.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int] graph(s) /* graph statement */ ^~~~~ print.c: In function 'graph': print.c:142:3: warning: implicit declaration of function 'reset'; did you mean 'memset'? [-Wimplicit-function-declaration] reset(); ^~~~~ memset print.c:146:3: warning: implicit declaration of function 'opentemp'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration] opentemp(); ^~~~~~~~ mkdtemp print.c: At top level: print.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() /* done at each .G1 */ ^~~~~ print.c: In function 'setup': print.c:172:3: warning: implicit declaration of function 'do_first' [-Wimplicit-function-declaration] do_first(); ^~~~~~~~ print.c: At top level: print.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] do_first() /* done at first .G1: definitions, etc. */ ^~~~~~~~ print.c: In function 'do_first': print.c:184:36: warning: implicit declaration of function 'getpid'; did you mean 'getvar'? [-Wimplicit-function-declaration] sprintf(buf, "define pid /%d/\n", getpid()); ^~~~~~ getvar print.c:185:2: warning: implicit declaration of function 'pbstr' [-Wimplicit-function-declaration] pbstr(buf); ^~~~~ print.c:187:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if (access(lib_defines, 4) == 0) { ^~~~~~ print.c: At top level: print.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] reset() /* done at each "graph ..." statement */ ^~~~~ print.c: In function 'reset': print.c:216:4: warning: implicit declaration of function 'freeattr'; did you mean 'makeattr'? [-Wimplicit-function-declaration] freeattr(p->attr); ^~~~~~~~ makeattr print.c: At top level: print.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] opentemp() ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c frame.c frame.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] frame() /* pump out frame definition, reset for next */ ^~~~~ frame.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] frameht(f) /* set height of frame */ ^~~~~~~ frame.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] framewid(f) /* set width of frame */ ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c for.c for.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] forloop(var, from, to, op, by, str) /* set up a for loop */ ^~~~~~~ for.c: In function 'forloop': for.c:34:2: warning: implicit declaration of function 'nextfor' [-Wimplicit-function-declaration] nextfor(); ^~~~~~~ for.c: At top level: for.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] nextfor() /* do one iteration of a for loop */ ^~~~~~~ for.c: In function 'nextfor': for.c:46:3: warning: implicit declaration of function 'pushsrc' [-Wimplicit-function-declaration] pushsrc(String, "\nEndfor\n"); ^~~~~~~ for.c: At top level: for.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] endfor() /* end one iteration of for loop */ ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c coord.c coord.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] coord_x(pt) /* remember x coord */ ^~~~~~~ coord.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] coord_y(pt) ^~~~~~~ coord.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] coordlog(n) /* remember log scaling */ ^~~~~~~~ coord.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] coord(p) /* set coord range */ ^~~~~ coord.c: In function 'coord': coord.c:43:20: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (ncoord > 1 && strcmp(p->name, dflt_coord) == 0) { ^~~~~~ coord.c: At top level: coord.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] resetcoord(p) /* reset current coordinate */ ^~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c ticks.c ticks.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] savetick(f, s) /* remember tick location and label */ ^~~~~~~~ ticks.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] dflt_tick(f) ^~~~~~~~~ ticks.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] tickside(n) /* remember which side these ticks/gridlines go on */ ^~~~~~~~ ticks.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] tickoff(side) /* remember explicit sides */ ^~~~~~~ ticks.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] gridtickoff() /* turn grid ticks off on the side previously specified (ugh) */ ^~~~~~~~~~~ ticks.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] setlist() /* remember that there was an explicit list */ ^~~~~~~ ticks.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] tickdir(dir, val, explicit) /* remember in/out [expr] */ ^~~~~~~ ticks.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] ticks() /* set autoticks after ticks statement */ ^~~~~ ticks.c: In function 'do_autoticks': ticks.c:141:5: warning: implicit declaration of function 'logtick'; did you mean 'logit'? [-Wimplicit-function-declaration] logtick(x, xl, xu); ^~~~~~~ logit ticks.c: At top level: ticks.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] logtick(v, lb, ub) ^~~~~~~ ticks.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] iterator(from, to, op, by, fmt) /* create an iterator */ ^~~~~~~~ ticks.c: In function 'ticklist': ticks.c:346:2: warning: implicit declaration of function 'print_ticks'; did you mean 'dflt_tick'? [-Wimplicit-function-declaration] print_ticks(TICKS, explicit, p, "ticklen", ""); ^~~~~~~~~~~ dflt_tick ticks.c: At top level: ticks.c:349:1: warning: return type defaults to 'int' [-Wimplicit-int] print_ticks(type, explicit, p, lenstr, descstr) ^~~~~~~~~~~ ticks.c: In function 'print_ticks': ticks.c:377:12: warning: implicit declaration of function 'sidelog' [-Wimplicit-function-declaration] logflag = sidelog(p->log, tside); ^~~~~~~ ticks.c:380:3: warning: implicit declaration of function 'halfrange' [-Wimplicit-function-declaration] halfrange(p, tside, tv); ^~~~~~~~~ ticks.c: In function 'maketick': ticks.c:462:3: warning: implicit declaration of function 'lab_adjust' [-Wimplicit-function-declaration] lab_adjust(); ^~~~~~~~~~ ticks.c: At top level: ticks.c:469:1: warning: return type defaults to 'int' [-Wimplicit-int] griddesc(a) ^~~~~~~~ ticks.c:475:1: warning: return type defaults to 'int' [-Wimplicit-int] gridlist(p) ^~~~~~~~ ticks.c: In function 'gridlist': ticks.c:488:3: warning: implicit declaration of function 'freeattr'; did you mean 'makeattr'? [-Wimplicit-function-declaration] freeattr(grid_desc); ^~~~~~~~ makeattr ticks.c: At top level: ticks.c:512:1: warning: return type defaults to 'int' [-Wimplicit-int] sidelog(logflag, side) /* figure out whether to scale a side */ ^~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c plot.c plot.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int] line(type, p1, p2, desc) /* draw a line segment */ ^~~~ plot.c: In function 'line': plot.c:5:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] plot.c:13:2: warning: implicit declaration of function 'range'; did you mean 'rand'? [-Wimplicit-function-declaration] range(p1); ^~~~~ rand plot.c: At top level: plot.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] circle(r, pt) /* draw a circle */ ^~~~~~ plot.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] pic(s) /* fire out pic stuff directly */ ^~~ plot.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] numlist() /* print numbers in default way */ ^~~~~~~ plot.c: In function 'numlist': plot.c:79:4: warning: implicit declaration of function 'plot'; did you mean 'log'? [-Wimplicit-function-declaration] plot(ap, pt); ^~~~ log plot.c:81:4: warning: implicit declaration of function 'next'; did you mean 'exp'? [-Wimplicit-function-declaration] next(p, pt, p->attr); ^~~~ exp plot.c: At top level: plot.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] plot(sl, pt) /* put stringlist sl at point pt */ ^~~~ plot.c: In function 'plot': plot.c:92:2: warning: implicit declaration of function 'freeattr'; did you mean 'makeattr'? [-Wimplicit-function-declaration] freeattr(sl); ^~~~~~~~ makeattr plot.c: At top level: plot.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] plotnum(f, fmt, pt) /* plot value f at point */ ^~~~~~~ plot.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] drawdesc(type, p, desc, s) /* set line description for p */ ^~~~~~~~ plot.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] next(p, pt, desc) /* add component to a path */ ^~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c label.c label.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] labelwid(amt) ^~~~~~~~ label.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] labelmove(dir, amt) /* record direction & motion of position corr */ ^~~~~~~~~ label.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] label(label_side, stringlist) /* stick label on label_side */ ^~~~~ label.c: In function 'label': label.c:54:2: warning: implicit declaration of function 'freeattr'; did you mean 'makeattr'? [-Wimplicit-function-declaration] freeattr(stringlist); ^~~~~~~~ makeattr label.c:70:2: warning: implicit declaration of function 'lab_adjust' [-Wimplicit-function-declaration] lab_adjust(); ^~~~~~~~~~ label.c: At top level: label.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] lab_adjust() /* add a string to adjust labels, ticks, etc. */ ^~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c misc.c misc.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] savenum(n, f) /* save f in num[n] */ ^~~~~~~ misc.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] setjust(j) ^~~~~~~ misc.c: In function 'setjust': misc.c:24:1: warning: type of 'j' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(op, expr) ^~~~~~~ misc.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] range(pt) /* update the range for point pt */ ^~~~~ misc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] halfrange(p, side, val) /* record max and min for one direction */ ^~~~~~~~~ misc.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] freeattr(ap) /* free an attribute list */ ^~~~~~~~ lex grapl.l cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -I/usr/pkg/include -c -o grapl.o lex.yy.c grapl.l: In function 'yylex': grapl.l:64:3: warning: implicit declaration of function 'endfor' [-Wimplicit-function-declaration] do { yylval.p = delimstr("loop body"); BEGIN A; return(DOSTR); } ^~~~~~ grapl.l:120:3: warning: implicit declaration of function 'shell_init'; did you mean 'slprint'? [-Wimplicit-function-declaration] } ^ slprint grapl.l:126:4: warning: implicit declaration of function 'shell_exec' [-Wimplicit-function-declaration] BEGIN A; ^~~~~~~~ grapl.l:134:6: warning: implicit declaration of function 'dodef'; did you mean 'def'? [-Wimplicit-function-declaration] else ^~~ def grapl.l:136:6: warning: implicit declaration of function 'pbstr'; did you mean 'str'? [-Wimplicit-function-declaration] } else ^~~~ str grapl.l:138:5: warning: implicit declaration of function 'shell_text'; did you mean 'yyget_text'? [-Wimplicit-function-declaration] } ^ yyget_text grapl.l:157:3: warning: implicit declaration of function 'definition' [-Wimplicit-function-declaration] ^ rm -f lex.yy.c cc -pipe -O2 -I/usr/pkg/include -D'GRAPDEFINES="/home/pbulk/build/textproc/DWB/work/.destdir/usr/pkg/DWB/lib/dwb/grap.defines"' -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o grap grap.o grapl.o main.o input.o print.o frame.o for.o coord.o ticks.o plot.o label.o misc.o -lm main.o: In function `main': main.c:(.text.startup+0x24f): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' ---- Making all in directory text/neqn ---- yacc -d e.y e.y: warning: 85 shift/reduce conflicts [-Wconflicts-sr] e.y: warning: 71 reduce/reduce conflicts [-Wconflicts-rr] e.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples sed -f yyval.sed e.c cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c e.c y.tab.c: In function 'yyparse': y.tab.c:1391:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ e.y:30:19: warning: implicit declaration of function 'putout'; did you mean 'puts'? [-Wimplicit-function-declaration] stuff : eqn { putout($1); } ^~~~~~ puts e.y:31:19: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] | error { error(!FATAL, "syntax error"); } ^~~~~ perror e.y:36:27: warning: implicit declaration of function 'eqnbox' [-Wimplicit-function-declaration] | eqn box { eqnbox($1, $2, 0); } ^~~~~~ e.y:38:27: warning: implicit declaration of function 'lineup'; did you mean 'linux'? [-Wimplicit-function-declaration] | LINEUP { lineup(0); } ^ linux e.y:50:35: warning: implicit declaration of function 'column' [-Wimplicit-function-declaration] column : lcol '{' list '}' { column('L', $1); } ^~~~~~ e.y:68:27: warning: implicit declaration of function 'boverb' [-Wimplicit-function-declaration] box : box OVER box { boverb($1, $3); } ^~~~~~ e.y:69:27: warning: implicit declaration of function 'mark' [-Wimplicit-function-declaration] | MARK box { mark($2); } ^ e.y:70:43: warning: implicit declaration of function 'size' [-Wimplicit-function-declaration] | size box %prec SIZE { size($1, $2); } ^ e.y:71:43: warning: implicit declaration of function 'font' [-Wimplicit-function-declaration] | font box %prec FONT { font($1, $2); } ^ e.y:72:27: warning: implicit declaration of function 'fatbox' [-Wimplicit-function-declaration] | FAT box { fatbox($2); } ^ e.y:74:35: warning: implicit declaration of function 'lpile'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] | lpile '{' list '}' { lpile('L', $1, ct); ct = $1; } ^~~~~ tmpfile e.y:78:51: warning: implicit declaration of function 'shift2' [-Wimplicit-function-declaration] | box sub box sbox %prec SUB { shift2($1, $3, $4); } ^~~ e.y:79:51: warning: implicit declaration of function 'bshiftb' [-Wimplicit-function-declaration] | box sub box %prec SUB { bshiftb($1, $2, $3); } ^ e.y:81:51: warning: implicit declaration of function 'integral' [-Wimplicit-function-declaration] | int sub box sbox %prec SUB { integral($1, $3, $4); } ^~~~~ e.y:85:35: warning: implicit declaration of function 'paren'; did you mean 'popen'? [-Wimplicit-function-declaration] | left eqn right { paren($1, $2, $3); } ^~~~~ popen e.y:87:51: warning: implicit declaration of function 'fromto' [-Wimplicit-function-declaration] | box from box tbox %prec FROM { fromto($1, $3, $4); fromflg=0; } ^~~~~~ e.y:89:27: warning: implicit declaration of function 'diacrit' [-Wimplicit-function-declaration] | box diacrit { diacrit($1, $2); } ^~~~~~~ e.y:90:43: warning: implicit declaration of function 'move'; did you mean 'remove'? [-Wimplicit-function-declaration] | fwd box %prec UP { move(FWD, $1, $2); } ^ remove e.y:94:43: warning: implicit declaration of function 'matrix' [-Wimplicit-function-declaration] | matrix '{' collist '}' { matrix($1); } ^ e.y:97:19: warning: implicit declaration of function 'setintegral' [-Wimplicit-function-declaration] int : INT { setintegral(); } ^~~~~~~~~~ e.y:100:43: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] fwd : FWD text { $$ = atoi((char *) $2); } ; ^~ e.y:143:47: warning: implicit declaration of function 'setsize'; did you mean 'getline'? [-Wimplicit-function-declaration] size : SIZE text { $$ = ps; setsize((char *) $2); } ^~~~~ getline e.y:146:27: warning: implicit declaration of function 'setfont'; did you mean 'stdout'? [-Wimplicit-function-declaration] font : ROMAN { setfont(ROM); } ^~~~~ stdout e.y:152:19: warning: implicit declaration of function 'shift' [-Wimplicit-function-declaration] sub : SUB { shift(SUB); } ^~~~~ e.y:159:27: warning: implicit declaration of function 'text' [-Wimplicit-function-declaration] | QTEXT { text(QTEXT, (char *) $1); } ^~~~ e.y:164:27: warning: implicit declaration of function 'funny' [-Wimplicit-function-declaration] | SUM { funny(SUM); } ^ y.tab.c:2058:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c diacrit.c diacrit.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] diacrit(p1, type) int p1, type; { ^~~~~~~ diacrit.c: In function 'diacrit': diacrit.c:7:6: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] c = oalloc(); ^~~~~~ diacrit.c:9:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p1, ps, p1); ^~~~~ rewind diacrit.c:10:25: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration] printf(".nr 10 %du\n", max(eht[p1]-ebase[p1]-VERT(2),0)); ^~~ diacrit.c:43:2: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(c); ofree(t); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c eqnbox.c eqnbox.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] eqnbox(p1, p2, lu) { ^~~~~~ eqnbox.c: In function 'eqnbox': eqnbox.c:6:1: warning: type of 'p1' defaults to 'int' [-Wimplicit-int] eqnbox.c:6:1: warning: type of 'p2' defaults to 'int' [-Wimplicit-int] eqnbox.c:6:1: warning: type of 'lu' defaults to 'int' [-Wimplicit-int] eqnbox.c:11:6: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration] b = max(ebase[p1], ebase[p2]); ^~~ eqnbox.c:27:2: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(p2); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c font.c font.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(ch1) char ch1; { ^~~~~~~ font.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] font(p1, p2) int p1, p2; { ^~~~ font.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] fatbox(p) int p; { ^~~~~~ font.c: In function 'fatbox': font.c:38:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p, ps, p); ^~~~~ rewind font.c: At top level: font.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] globfont() { ^~~~~~~~ font.c: In function 'globfont': font.c:46:2: warning: implicit declaration of function 'getstr'; did you mean 'fgets'? [-Wimplicit-function-declaration] getstr(temp, 20); ^~~~~~ fgets cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c fromto.c fromto.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] fromto(p1, p2, p3) int p1, p2, p3; { ^~~~~~ fromto.c: In function 'fromto': fromto.c:8:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ fromto.c:15:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p1, ps, p1); ^~~~~ rewind fromto.c:45:2: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(p1); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c funny.c funny.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] funny(n) int n; { ^~~~~ funny.c: In function 'funny': funny.c:9:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ funny.c:20:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "funny type %d in funny", n); ^~~~~ perror cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c glob.c cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c integral.c integral.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] integral(p, p1, p2) { ^~~~~~~~ integral.c: In function 'integral': integral.c:6:1: warning: type of 'p' defaults to 'int' [-Wimplicit-int] integral.c:6:1: warning: type of 'p1' defaults to 'int' [-Wimplicit-int] integral.c:6:1: warning: type of 'p2' defaults to 'int' [-Wimplicit-int] integral.c:14:3: warning: implicit declaration of function 'shift2' [-Wimplicit-function-declaration] shift2(p, p1, p2); ^~~~~~ integral.c:16:3: warning: implicit declaration of function 'bshiftb' [-Wimplicit-function-declaration] bshiftb(p, SUB, p1); ^~~~~~~ integral.c: At top level: integral.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] setintegral() { ^~~~~~~~~~~ integral.c: In function 'setintegral': integral.c:27:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c io.c io.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) int argc; char *argv[];{ ^~~~ io.c: In function 'main': io.c:14:10: warning: implicit declaration of function 'eqn' [-Wimplicit-function-declaration] eqnexit(eqn(argc, argv)); ^~~ io.c: At top level: io.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] eqn(argc,argv) int argc; char *argv[];{ ^~~ io.c: In function 'eqn': io.c:29:2: warning: implicit declaration of function 'setfile'; did you mean 'getline'? [-Wimplicit-function-declaration] setfile(argc,argv); ^~~~~~~ getline io.c:30:2: warning: implicit declaration of function 'init_tbl'; did you mean 'initstate'? [-Wimplicit-function-declaration] init_tbl(); /* install keywords in tables */ ^~~~~~~~ initstate io.c:38:4: warning: implicit declaration of function 'init'; did you mean 'exit'? [-Wimplicit-function-declaration] init(); ^~~~ exit io.c:39:4: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration] yyparse(); ^~~~~~~ io.c:56:20: warning: implicit declaration of function 'gtc'; did you mean 'getc'? [-Wimplicit-function-declaration] while (putchar(gtc()) != '\n'); ^~~ getc io.c: In function 'dwb_getline': io.c:67:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ io.c:70:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error( !FATAL, "input line too long: %.20s\n", in); ^~~~~ perror io.c: In function 'dwb_inline': io.c:84:7: warning: implicit declaration of function 'oalloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] ds = oalloc(); ^~~~~~ valloc io.c:93:4: warning: implicit declaration of function 'ofree'; did you mean 'free'? [-Wimplicit-function-declaration] ofree(eqnreg); ^~~~~ free io.c: At top level: io.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] putout(p1) int p1; { ^~~~~~ io.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] max(i,j) int i,j; { ^~~ io.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] oalloc() { ^~~~~~ io.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] ofree(n) int n; { ^~~~~ io.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] setps(p) int p; { ^~~~~ io.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] nrwid(n1, p, n2) int n1, p, n2; { ^~~~~ io.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] setfile(argc, argv) int argc; char *argv[]; { ^~~~~~~ io.c: In function 'setfile': io.c:167:21: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (svargc <= 0 || strcmp(svargv[1], "-") == 0) { ^~~~~~ io.c: At top level: io.c:175:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror() {;} ^~~~~~~ io.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int] init() { ^~~~ io.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] error(fatal, s1, s2) int fatal; char *s1, *s2; { ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c lex.c lex.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] gtc() { ^~~ lex.c: In function 'gtc': lex.c:42:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "can't open file %s", svargv[ifile]); ^~~~~ perror lex.c: At top level: lex.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] pbstr(str) ^~~~~ lex.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] yylex() { ^~~~~ lex.c: In function 'yylex': lex.c:118:3: warning: implicit declaration of function 'delim'; did you mean 'define'? [-Wimplicit-function-declaration] delim(); ^~~~~ define lex.c:120:3: warning: implicit declaration of function 'globsize' [-Wimplicit-function-declaration] globsize(); ^~~~~~~~ lex.c:122:3: warning: implicit declaration of function 'globfont' [-Wimplicit-function-declaration] globfont(); ^~~~~~~~ lex.c:124:3: warning: implicit declaration of function 'include' [-Wimplicit-function-declaration] include(); ^~~~~~~ lex.c: At top level: lex.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] cstr(s, quote, maxs) char *s; int quote; { ^~~~ lex.c: In function 'cstr': lex.c:159:1: warning: type of 'maxs' defaults to 'int' [-Wimplicit-int] lex.c: At top level: lex.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] include() { ^~~~~~~ lex.c:216:1: warning: return type defaults to 'int' [-Wimplicit-int] delim() { ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c lookup.c lookup.c: In function 'lookup': lookup.c:190:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(name, p->name) == 0) { /* found it */ ^~~~~~ lookup.c:200:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL, "out of space in lookup"); ^~~~~ perror lookup.c: At top level: lookup.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] init_tbl() /* initialize all tables */ ^~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c mark.c mark.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] mark(p1) int p1; { ^~~~ mark.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] lineup(p1) { ^~~~~~ mark.c: In function 'lineup': mark.c:13:1: warning: type of 'p1' defaults to 'int' [-Wimplicit-int] mark.c:16:17: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c matrix.c matrix.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] column(type, p1) int type, p1; { ^~~~~~ matrix.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] matrix(p1) int p1; { ^~~~~~ matrix.c: In function 'matrix': matrix.c:34:9: warning: implicit declaration of function 'max'; did you mean 'matrix'? [-Wimplicit-function-declaration] hb = max(hb, eht[lp[j]]-ebase[lp[j]]); ^~~ matrix matrix.c:48:3: warning: implicit declaration of function 'lpile'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] lpile(lp[j+lp[j]+1], j+1, j+lp[j]+1); ^~~~~ tmpfile matrix.c:52:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ matrix.c:61:3: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(val[i]); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c move.c move.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] move(dir, amt, p) int dir, amt, p; { ^~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c over.c over.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] boverb(p1, p2) int p1, p2; { ^~~~~~ over.c: In function 'boverb': over.c:9:9: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] treg = oalloc(); ^~~~~~ over.c:16:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p1, ps, p1); ^~~~~ rewind over.c:29:2: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(p2); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c paren.c paren.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] paren(leftc, p1, rightc) int p1, leftc, rightc; { ^~~~~ paren.c: In function 'paren': paren.c:10:6: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration] n = max(b1+VERT(1), h1-b1-VERT(1)) / VERT(1); ^~~ paren.c:32:5: warning: implicit declaration of function 'brack' [-Wimplicit-function-declaration] brack(m, "\\(bv", "\\(bv", "\\(lf"); ^~~~~ paren.c: At top level: paren.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] brack(m, t, c, b) int m; char *t, *c, *b; { ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c pile.c pile.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] lpile(type, p1, p2) int type, p1, p2; { ^~~~~ pile.c: In function 'lpile': pile.c:8:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ pile.c:29:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(lp[p1], ps, lp[p1]); ^~~~~ rewind pile.c:63:3: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(lp[i]); ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c shift.c shift.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] bshiftb(p1, dir, p2) int p1, dir, p2; { ^~~~~~~ shift.c: In function 'bshiftb': shift.c:18:29: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration] ebase[yyval.token] = b1 + max(0, h2-b1-d1); ^~~ shift.c:32:2: warning: implicit declaration of function 'ofree' [-Wimplicit-function-declaration] ofree(p2); ^~~~~ shift.c: At top level: shift.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] shift(p1) int p1; { ^~~~~ shift.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] shift2(p1, p2, p3) int p1, p2, p3; { ^~~~~~ shift.c: In function 'shift2': shift.c:45:9: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] treg = oalloc(); ^~~~~~ shift.c:62:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p2, effps, p2); ^~~~~ rewind cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c size.c size.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(p) /* set size as found in p */ ^~~~~~~ size.c: In function 'setsize': size.c:10:9: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] ps += atoi(p+1); ^~~~ size.c: At top level: size.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] size(p1, p2) int p1, p2; { ^~~~ size.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] globsize() { ^~~~~~~~ size.c: In function 'globsize': size.c:35:2: warning: implicit declaration of function 'getstr'; did you mean 'fgets'? [-Wimplicit-function-declaration] getstr(temp, 20); ^~~~~~ fgets size.c:43:2: warning: implicit declaration of function 'setps'; did you mean 'fsetpos'? [-Wimplicit-function-declaration] setps(gsize); ^~~~~ fsetpos cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c sqrt.c sqrt.c: In function 'dwb_sqrt': sqrt.c:8:2: warning: implicit declaration of function 'nrwid'; did you mean 'rewind'? [-Wimplicit-function-declaration] nrwid(p2, ps, p2); ^~~~~ rewind cc -pipe -O2 -I/usr/pkg/include -DNEQN -I/usr/pkg/include -c text.c text.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] text(t,p1) int t; char *p1; { ^~~~ text.c: In function 'text': text.c:19:16: warning: implicit declaration of function 'oalloc' [-Wimplicit-function-declaration] yyval.token = oalloc(); ^~~~~~ text.c:36:9: warning: implicit declaration of function 'trans' [-Wimplicit-function-declaration] rf = trans(c, p1); ^~~~~ text.c:40:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error(FATAL,"converted token %.25s... too long",p1); ^~~~~ perror text.c: At top level: text.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] trans(c,p1) int c; char *p1; { ^~~~~ text.c: In function 'trans': text.c:62:4: warning: implicit declaration of function 'shim' [-Wimplicit-function-declaration] shim(); ^~~~ text.c:63:3: warning: implicit declaration of function 'roman' [-Wimplicit-function-declaration] roman(c); break; ^~~~~ text.c:78:3: warning: implicit declaration of function 'name4'; did you mean 'rename'? [-Wimplicit-function-declaration] name4('e','q'); ^~~~~ rename text.c: At top level: text.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] shim() { ^~~~ text.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int] roman(c) int c; { ^~~~~ text.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] name4(c1,c2) int c1,c2; { ^~~~~ cc -pipe -O2 -I/usr/pkg/include -DNEQN -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o neqn diacrit.o eqnbox.o font.o fromto.o funny.o glob.o integral.o io.o lex.o lookup.o mark.o matrix.o move.o over.o paren.o pile.o shift.o size.o sqrt.o text.o e.o eqnbox.o: In function `eqnbox': eqnbox.c:(.text+0x28): undefined reference to `yyval' eqnbox.c:(.text+0x61): undefined reference to `yyval' eqnbox.c:(.text+0xa9): undefined reference to `yyval' font.o: In function `setfont': font.c:(.text+0xc): undefined reference to `yyval' font.o: In function `font': font.c:(.text+0xa6): undefined reference to `yyval' font.o:font.c:(.text+0x13d): more undefined references to `yyval' follow collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517/text/neqn *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517/text *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/textproc/DWB *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/textproc/DWB