+ 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] 91 | main(ac, av) | ^~~~ deroff.c: In function 'main': deroff.c:97:18: warning: type defaults to 'int' in declaration of 'optchar' [-Wimplicit-int] 97 | register optchar; | ^~~~~~~ deroff.c:102:27: warning: implicit declaration of function 'getflags' [-Wimplicit-function-declaration] 102 | while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { | ^~~~~~~~ deroff.c:130:17: warning: implicit declaration of function 'fatal' [-Wimplicit-function-declaration] 130 | fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); | ^~~~~ deroff.c:151:9: warning: implicit declaration of function 'work' [-Wimplicit-function-declaration] 151 | work(); | ^~~~ deroff.c: At top level: deroff.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] 159 | skeqn() | ^~~~~ deroff.c: In function 'skeqn': deroff.c:164:29: warning: implicit declaration of function 'eof'; did you mean 'feof'? [-Wimplicit-function-declaration] 164 | c = eof(); | ^~~ | feof deroff.c: At top level: deroff.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] 195 | eof() | ^~~ deroff.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] 250 | fatal(s,p) | ^~~~~ deroff.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] 258 | work() | ^~~~ deroff.c: In function 'work': deroff.c:266:25: warning: implicit declaration of function 'regline'; did you mean 'getline'? [-Wimplicit-function-declaration] 266 | regline(NO,TWO); | ^~~~~~~ | getline deroff.c: At top level: deroff.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] 273 | regline(macline,constant) | ^~~~~~~ deroff.c: In function 'regline': deroff.c:305:25: warning: implicit declaration of function 'putmac'; did you mean 'putc'? [-Wimplicit-function-declaration] 305 | putmac(line,constant); | ^~~~~~ | putc deroff.c: At top level: deroff.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] 315 | putmac(s,constant) | ^~~~~~ deroff.c: In function 'putmac': deroff.c:320:18: warning: type defaults to 'int' in declaration of 'found' [-Wimplicit-int] 320 | register found; | ^~~~~ deroff.c: In function 'comline': deroff.c:414:25: warning: implicit declaration of function 'stbl' [-Wimplicit-function-declaration] 414 | stbl(); | ^~~~ deroff.c:416:22: warning: implicit declaration of function 'tbl' [-Wimplicit-function-declaration] 416 | else tbl(); | ^~~ deroff.c: At top level: deroff.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int] 605 | tbl() | ^~~ deroff.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] 611 | 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] 18 | 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] 130 | ([a-zA-Z0-9][a-zA-Z0-9&'/-]*)|([A-Z][.]) {copy_in (yytext); | ^~~~~~~ ndexer.l:136:49: warning: implicit declaration of function 'w_activate' [-Wimplicit-function-declaration] 136 | w_activate (w_ptr, 'L'); /*lit match*/ | ^~~~~~~~~~ ndexer.l:139:50: warning: implicit declaration of function 'ulcase' [-Wimplicit-function-declaration] 139 | if (ulcase (lc_token)) | ^~~~~~ ndexer.l:147:53: warning: implicit declaration of function 'rootword' [-Wimplicit-function-declaration] 147 | root_token[rootword(root_token)] = '\0'; | ^~~~~~~~ ndexer.l:148:42: warning: implicit declaration of function 'match_roots' [-Wimplicit-function-declaration] 148 | match_roots (wlist, root_token); | ^~~~~~~~~~~ ndexer.l:155:38: warning: implicit declaration of function 'subj_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 155 | {subj_search (); | ^~~~~~~~~~~ | bsearch ndexer.l:156:38: warning: implicit declaration of function 'write_context' [-Wimplicit-function-declaration] 156 | write_context (); | ^~~~~~~~~~~~~ ndexer.l:157:38: warning: implicit declaration of function 'wri_subjmacro' [-Wimplicit-function-declaration] 157 | wri_subjmacro (); | ^~~~~~~~~~~~~ ndexer.l:158:38: warning: implicit declaration of function 'return_lists' [-Wimplicit-function-declaration] 158 | return_lists (); | ^~~~~~~~~~~~ ndexer.l:161:39: warning: implicit declaration of function 'init_vars' [-Wimplicit-function-declaration] 161 | {init_vars (); | ^~~~~~~~~ ndexer.l:170:2: warning: implicit declaration of function 'flush_context' [-Wimplicit-function-declaration] 170 | ^[.']([SN]H?([ ][0-9]))[ \t]+ {flush_context (); | ^~~~~~~~~~~~~ ndexer.l:254:43: warning: implicit declaration of function 'init_subj' [-Wimplicit-function-declaration] 254 | init_subj (s_count);} | ^~~~~~~~~ ndexer.l:262:43: warning: implicit declaration of function 'build_subj' [-Wimplicit-function-declaration] 262 | build_subj (fsec);} | ^~~~~~~~~~ ndexer.l: At top level: ndexer.l:292:1: warning: return type defaults to 'int' [-Wimplicit-int] 292 | init_subj (subjno) | ^~~~~~~~~ ndexer.l:308:1: warning: return type defaults to 'int' [-Wimplicit-int] 308 | print_subj() /*For debugging, prints internal subj list*/ | ^~~~~~~~~~ ndexer.l:338:1: warning: return type defaults to 'int' [-Wimplicit-int] 338 | build_subj ( flag) | ^~~~~~~~~~ ndexer.l: In function 'subj_insert': ndexer.l:521:41: warning: implicit declaration of function 's_match'; did you mean 'rpmatch'? [-Wimplicit-function-declaration] 521 | while ((s != NULL) && (s_match(subject, s) == FALSE)) | ^~~~~~~ | rpmatch ndexer.l:528:17: warning: implicit declaration of function 'w_update' [-Wimplicit-function-declaration] 528 | w_update (slist); /*update all words in this subj*/ | ^~~~~~~~ ndexer.l: At top level: ndexer.l:538:1: warning: return type defaults to 'int' [-Wimplicit-int] 538 | s_match (subj1, subj2) | ^~~~~~~ ndexer.l:563:1: warning: return type defaults to 'int' [-Wimplicit-int] 563 | w_update (s) | ^~~~~~~~ ndexer.l:592:1: warning: return type defaults to 'int' [-Wimplicit-int] 592 | prnt_slist () | ^~~~~~~~~~ ndexer.l:604:1: warning: return type defaults to 'int' [-Wimplicit-int] 604 | printtree (tree, c) | ^~~~~~~~~ ndexer.l:623:1: warning: return type defaults to 'int' [-Wimplicit-int] 623 | w_activate (w_ptr, m_type) | ^~~~~~~~~~ ndexer.l: In function 'w_activate': ndexer.l:631:27: warning: implicit declaration of function 'already_act' [-Wimplicit-function-declaration] 631 | {if ((i = already_act (w_ptr)) != -1) | ^~~~~~~~~~~ ndexer.l: At top level: ndexer.l:663:1: warning: return type defaults to 'int' [-Wimplicit-int] 663 | match_roots (tree, root) | ^~~~~~~~~~~ ndexer.l: In function 'match_roots': ndexer.l:675:17: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration] 675 | if (min (r_ptr->rootp, len) < 4) | ^~~ ndexer.l: At top level: ndexer.l:729:1: warning: return type defaults to 'int' [-Wimplicit-int] 729 | subj_search() | ^~~~~~~~~~~ ndexer.l:798:1: warning: return type defaults to 'int' [-Wimplicit-int] 798 | copy_in (text) /*copies a string to the context buf*/ | ^~~~~~~ ndexer.l:833:1: warning: return type defaults to 'int' [-Wimplicit-int] 833 | flush_context () | ^~~~~~~~~~~~~ ndexer.l:846:1: warning: return type defaults to 'int' [-Wimplicit-int] 846 | write_context () | ^~~~~~~~~~~~~ ndexer.l:869:1: warning: return type defaults to 'int' [-Wimplicit-int] 869 | wri_subjmacro () /*write subj indexing macros to pagefile and*/ | ^~~~~~~~~~~~~ ndexer.l:888:1: warning: return type defaults to 'int' [-Wimplicit-int] 888 | return_lists () | ^~~~~~~~~~~~ ndexer.l:908:1: warning: return type defaults to 'int' [-Wimplicit-int] 908 | init_vars () | ^~~~~~~~~ ndexer.l:929:1: warning: return type defaults to 'int' [-Wimplicit-int] 929 | min (i, j) | ^~~ ndexer.l:942:1: warning: return type defaults to 'int' [-Wimplicit-int] 942 | ndx_text (pfname) | ^~~~~~~~ ndexer.l:956:1: warning: return type defaults to 'int' [-Wimplicit-int] 956 | yywrap () | ^~~~~~ ndexer.l:991:1: warning: return type defaults to 'int' [-Wimplicit-int] 991 | main (argc,argv) | ^~~~ ndexer.l: In function 'ndx_text': ndexer.l:949:9: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 949 | 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] 133 | egetd() | ^~~~~ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] 150 | 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] 189 | able(a0, a1, ptr) | ^~~~ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 202 | ace(a0, a1, ptr) | ^~~ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 215 | age(a0, a1, ptr) | ^~~ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 228 | ance(a0, a1, ptr) | ^~~~ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 241 | ant(a0, a1, ptr) | ^~~ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 254 | cal(a0, a1, ptr) | ^~~ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 267 | cle(a0, a1, ptr) | ^~~ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 280 | ee(a0, a1, ptr) | ^~ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 293 | ence(a0, a1, ptr) | ^~~~ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 306 | ess(a0, a1, ptr) | ^~~ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 319 | est(a0, a1, ptr) | ^~~ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 332 | ful(a0, a1, ptr) | ^~~ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 345 | ible(a0, a1, ptr) | ^~~~ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 358 | ic(a0, a1, ptr) | ^~ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 371 | ice(a0, a1, ptr) | ^~~ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 384 | ion(a0, a1, ptr) | ^~~ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 397 | ional(a0, a1, ptr) | ^~~~~ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 410 | is(a0, a1, ptr) | ^~ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 423 | ish(a0, a1, ptr) | ^~~ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 436 | ist(a0, a1, ptr) | ^~~ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 449 | ite(a0, a1, ptr) | ^~~ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 462 | ive(a0, a1, ptr) | ^~~ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 475 | ize(a0, a1, ptr) | ^~~ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 488 | lar(a0, a1, ptr) | ^~~ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 501 | less(a0, a1, ptr) | ^~~~ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 514 | man(a0, a1, ptr) | ^~~ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 527 | ment(a0, a1, ptr) | ^~~~ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 540 | ness(a0, a1, ptr) | ^~~~ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 553 | ous(a0, a1, ptr) | ^~~ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 566 | ship(a0, a1, ptr) | ^~~~ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 579 | ss(a0, a1, ptr) | ^~ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 592 | ure(a0, a1, ptr) | ^~~ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 605 | us(a0, a1, ptr) | ^~ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 618 | ing(a0, a1, ptr) | ^~~ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 631 | ed(a0, a1, ptr) | ^~ rootwd.c: At top level: rootwd.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] 29 | rootword (token) | ^~~~~~~~ rootwd.c: In function 'rootword': rootwd.c:41:13: warning: implicit declaration of function 'string'; did you mean 'stdin'? [-Wimplicit-function-declaration] 41 | if (string (token, TOKSIZE)) /*if token is a string*/ { | ^~~~~~ | stdin rootwd.c:48:41: warning: implicit declaration of function 'except' [-Wimplicit-function-declaration] 48 | return (except(ed, token, len, 2)); | ^~~~~~ rootwd.c: At top level: rootwd.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] 166 | except (endg, token, len, end) | ^~~~~~ rootwd.c: In function 'except': rootwd.c:176:9: warning: implicit declaration of function 'strn_rev' [-Wimplicit-function-declaration] 176 | strn_rev (token, rtok, (len - end)); /*reverse string minus ending*/ | ^~~~~~~~ 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] 19 | 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 /bin/ld: ndexer.o: in function `ndx_text': lex.yy.c:(.text+0x1c7a): 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] 11 | 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] 20 | main(argc, argv) | ^~~~ pages.c: In function 'main': pages.c:37:17: warning: implicit declaration of function 'procnosect' [-Wimplicit-function-declaration] 37 | procnosect(); | ^~~~~~~~~~ pages.c:40:17: warning: implicit declaration of function 'procsect' [-Wimplicit-function-declaration] 40 | procsect(); | ^~~~~~~~ pages.c: At top level: pages.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] 47 | procnosect() | ^~~~~~~~~~ pages.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] 85 | 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] 16 | 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] 82 | main(argc,argv) | ^~~~ ptx.c: In function 'main': ptx.c:125:41: warning: implicit declaration of function 'diag' [-Wimplicit-function-declaration] 125 | diag("Wrong width:",*optarg); | ^~~~ ptx.c:232:28: warning: implicit declaration of function 'storeh' [-Wimplicit-function-declaration] 232 | if(storeh(hash(strtbufp,bufp),strtbufp)) | ^~~~~~ ptx.c:232:35: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] 232 | if(storeh(hash(strtbufp,bufp),strtbufp)) | ^~~~ ptx.c:261:17: warning: implicit declaration of function 'cmpline' [-Wimplicit-function-declaration] 261 | cmpline(pend); | ^~~~~~~ ptx.c:276:23: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 276 | while(wait(&status) != pid); | ^~~~ ptx.c:280:9: warning: implicit declaration of function 'getsort'; did you mean 'getopt'? [-Wimplicit-function-declaration] 280 | getsort(); | ^~~~~~~ | getopt ptx.c: At top level: ptx.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] 290 | diag(s,arg) | ^~~~ ptx.c: In function 'dwb_getline': ptx.c:302:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] 302 | register c; | ^ ptx.c: At top level: ptx.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] 335 | cmpline(pend) | ^~~~~~~ ptx.c: In function 'cmpline': ptx.c:362:44: warning: implicit declaration of function 'cmpword' [-Wimplicit-function-declaration] 362 | if(cmpword(pstrt,pchar,cp)){ | ^~~~~~~ ptx.c:365:57: warning: implicit declaration of function 'putline'; did you mean 'getline'? [-Wimplicit-function-declaration] 365 | putline(pstrt,pend); | ^~~~~~~ | getline ptx.c: At top level: ptx.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] 382 | cmpword(cpp,pend,hpp) | ^~~~~~~ ptx.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] 396 | putline(strt, end) | ^~~~~~~ ptx.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] 412 | getsort() | ^~~~~~~ ptx.c: In function 'getsort': ptx.c:414:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] 414 | register c; | ^ ptx.c:458:25: warning: implicit declaration of function 'putout' [-Wimplicit-function-declaration] 458 | putout(p1a,p1b); | ^~~~~~ ptx.c: In function 'rtrim': ptx.c:492:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] 492 | char *rtrim(a,c,d) | ^~~~~ ptx.c: In function 'ltrim': ptx.c:505:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] 505 | char *ltrim(c,b,d) | ^~~~~ ptx.c: At top level: ptx.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int] 518 | putout(strt,end) | ^~~~~~ ptx.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] 538 | hash(strtp,endp) | ^~~~ ptx.c:565:1: warning: return type defaults to 'int' [-Wimplicit-int] 565 | storeh(num,strtp) | ^~~~~~ /bin/ld: /tmp/ccGKuLw8.o: in function `main': ptx.c:(.text.startup+0x51a): 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] 53 | ^[.]EQ.*[\n] { skip ('E');} | ^~~~ sbj1.l:85:42: warning: implicit declaration of function 'italic_arg' [-Wimplicit-function-declaration] 85 | {italic_arg(); | ^~~~~~~~~~ sbj1.l: At top level: sbj1.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] 242 | skip (type) | ^~~~ sbj1.l:280:1: warning: return type defaults to 'int' [-Wimplicit-int] 280 | italic_arg() | ^~~~~~~~~~ sbj1.l:326:1: warning: return type defaults to 'int' [-Wimplicit-int] 326 | 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:42: warning: implicit declaration of function 'writesubj' [-Wimplicit-function-declaration] 70 | {writesubj(type); | ^~~~~~~~~ sbj2.l:71:42: warning: implicit declaration of function 'reset_ptrs' [-Wimplicit-function-declaration] 71 | reset_ptrs(); | ^~~~~~~~~~ sbj2.l: At top level: sbj2.l:137:1: warning: return type defaults to 'int' [-Wimplicit-int] 137 | writesubj (type) | ^~~~~~~~~ sbj2.l:181:1: warning: return type defaults to 'int' [-Wimplicit-int] 181 | 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] 18 | 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:41: warning: implicit declaration of function 'storeterm' [-Wimplicit-function-declaration] 54 | storeterm (); | ^~~~~~~~~ sbj3.l:61:41: warning: implicit declaration of function 'writesubj' [-Wimplicit-function-declaration] 61 | writesubj (); | ^~~~~~~~~ sbj3.l:62:34: warning: implicit declaration of function 'reset_ptrs' [-Wimplicit-function-declaration] 62 | reset_ptrs(); | ^~~~~~~~~~ sbj3.l: At top level: sbj3.l:72:1: warning: return type defaults to 'int' [-Wimplicit-int] 72 | storeterm() | ^~~~~~~~~ sbj3.l: In function 'storeterm': sbj3.l:73:13: warning: implicit declaration of function 'omit' [-Wimplicit-function-declaration] 73 | { if (omit(yytext) == FALSE) | ^~~~ sbj3.l: At top level: sbj3.l:93:1: warning: return type defaults to 'int' [-Wimplicit-int] 93 | writesubj () | ^~~~~~~~~ sbj3.l:106:1: warning: return type defaults to 'int' [-Wimplicit-int] 106 | 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] 18 | 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] 37 | 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] 71 | getd() | ^~~~ nhash.h: In function 'lookup': nhash.h:87:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 87 | lookup(a0, a1, ptr) | ^~~~~~ nhash.h: In function 'ary': nhash.h:100:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 100 | ary(a0, a1, ptr) | ^~~ nhash.h: In function 'cy': nhash.h:113:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 113 | cy(a0, a1, ptr) | ^~ nhash.h: In function 'ery': nhash.h:126:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 126 | ery(a0, a1, ptr) | ^~~ nhash.h: In function 'fy': nhash.h:139:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 139 | fy(a0, a1, ptr) | ^~ nhash.h: In function 'gy': nhash.h:152:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 152 | gy(a0, a1, ptr) | ^~ nhash.h: In function 'ity': nhash.h:165:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 165 | ity(a0, a1, ptr) | ^~~ nhash.h: In function 'ly': nhash.h:178:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 178 | ly(a0, a1, ptr) | ^~ nhash.h: In function 'ory': nhash.h:191:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 191 | ory(a0, a1, ptr) | ^~~ nhash.h: In function 'ry': nhash.h:204:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 204 | ry(a0, a1, ptr) | ^~ nhash.h: In function 'ty': nhash.h:217:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 217 | ty(a0, a1, ptr) | ^~ nhash.h: At top level: nhash.h:243:1: warning: return type defaults to 'int' [-Wimplicit-int] 243 | 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] 17 | abbrev(a0, a1, ptr) | ^~~~~~ abbrev.h: At top level: abbrev.h:25:1: warning: return type defaults to 'int' [-Wimplicit-int] 25 | getab() | ^~~~~ nwords.l: In function 'yylex': nwords.l:84:17: warning: implicit declaration of function 'pos' [-Wimplicit-function-declaration] 84 | pos(1); | ^~~ nwords.l:168:28: warning: implicit declaration of function 'ahead' [-Wimplicit-function-declaration] 168 | if(ahead() == 0)dot=1; | ^~~~~ nwords.l:319:35: warning: implicit declaration of function 'look' [-Wimplicit-function-declaration] 319 | case 'c': look(cy,yyleng-2,NOUN); | ^~~~ nwords.l: At top level: nwords.l:457:1: warning: return type defaults to 'int' [-Wimplicit-int] 457 | look(f,n,cc) | ^~~~ nwords.l:475:1: warning: return type defaults to 'int' [-Wimplicit-int] 475 | 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] 493 | main(argc,argv) | ^~~~ nwords.l:520:1: warning: return type defaults to 'int' [-Wimplicit-int] 520 | 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] 133 | egetd() | ^~~~~ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] 150 | 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] 189 | able(a0, a1, ptr) | ^~~~ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 202 | ace(a0, a1, ptr) | ^~~ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 215 | age(a0, a1, ptr) | ^~~ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 228 | ance(a0, a1, ptr) | ^~~~ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 241 | ant(a0, a1, ptr) | ^~~ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 254 | cal(a0, a1, ptr) | ^~~ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 267 | cle(a0, a1, ptr) | ^~~ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 280 | ee(a0, a1, ptr) | ^~ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 293 | ence(a0, a1, ptr) | ^~~~ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 306 | ess(a0, a1, ptr) | ^~~ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 319 | est(a0, a1, ptr) | ^~~ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 332 | ful(a0, a1, ptr) | ^~~ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 345 | ible(a0, a1, ptr) | ^~~~ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 358 | ic(a0, a1, ptr) | ^~ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 371 | ice(a0, a1, ptr) | ^~~ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 384 | ion(a0, a1, ptr) | ^~~ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 397 | ional(a0, a1, ptr) | ^~~~~ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 410 | is(a0, a1, ptr) | ^~ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 423 | ish(a0, a1, ptr) | ^~~ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 436 | ist(a0, a1, ptr) | ^~~ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 449 | ite(a0, a1, ptr) | ^~~ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 462 | ive(a0, a1, ptr) | ^~~ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 475 | ize(a0, a1, ptr) | ^~~ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 488 | lar(a0, a1, ptr) | ^~~ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 501 | less(a0, a1, ptr) | ^~~~ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 514 | man(a0, a1, ptr) | ^~~ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 527 | ment(a0, a1, ptr) | ^~~~ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 540 | ness(a0, a1, ptr) | ^~~~ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 553 | ous(a0, a1, ptr) | ^~~ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 566 | ship(a0, a1, ptr) | ^~~~ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 579 | ss(a0, a1, ptr) | ^~ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 592 | ure(a0, a1, ptr) | ^~~ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 605 | us(a0, a1, ptr) | ^~ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 618 | ing(a0, a1, ptr) | ^~~ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] 631 | ed(a0, a1, ptr) | ^~ end.l: In function 'yylex': end.l:49:9: warning: implicit declaration of function 'look' [-Wimplicit-function-declaration] 49 | look(ic,2,ADJ); | ^~~~ end.l: At top level: end.l:221:1: warning: return type defaults to 'int' [-Wimplicit-int] 221 | look(f,n,nc) | ^~~~ end.l:259:1: warning: return type defaults to 'int' [-Wimplicit-int] 259 | 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] 60 | extern sentno; | ^~~~~~ In file included from part.l:27: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] 18 | extern comma, j, i; | ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] 20 | extern question; | ^~~~~~~~ part.l: In function 'yylex': part.l:178:28: warning: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration] 178 | jj=scan(1,',',0); | ^~~~ | scanf part.l:197:9: warning: implicit declaration of function 'outp' [-Wimplicit-function-declaration] 197 | outp(); | ^~~~ part.l: At top level: part.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] 242 | yywrap(){ | ^~~~~~ part.l: In function 'wperc': part.l:331:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] 331 | wperc(a) | ^~~~~ part.l: In function 'sperc': part.l:336:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] 336 | sperc(a) | ^~~~~ part.l: In function 'typersent': part.l:341:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] 341 | typersent(a) | ^~~~~~~~~ part.l: In function 'vperc': part.l:346:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] 346 | vperc(a) | ^~~~~ part.l: At top level: part.l:351:1: warning: return type defaults to 'int' [-Wimplicit-int] 351 | 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] 18 | extern comma, j, i; | ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] 20 | extern question; | ^~~~~~~~ pscan.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] 25 | 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:16: warning: implicit declaration of function 'getv'; did you mean 'getv2'? [-Wimplicit-function-declaration] 41 | verb = getv(i, ce); /*get verb if obvious*/ | ^~~~ | getv2 pscan.c:43:21: warning: implicit declaration of function 'getnoun'; did you mean 'notnoun'? [-Wimplicit-function-declaration] 43 | j = getnoun(i, ce); /*get subject*/ | ^~~~~~~ | notnoun pscan.c:148:29: warning: implicit declaration of function 'who' [-Wimplicit-function-declaration] 148 | i = who(i, ce); | ^~~ pscan.c: At top level: pscan.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int] 406 | getv(si, ce) | ^~~~ pscan.c:595:1: warning: return type defaults to 'int' [-Wimplicit-int] 595 | getnoun(k, ce) | ^~~~~~~ pscan.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] 997 | 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] 60 | extern sentno; | ^~~~~~ In file included from outp.c:15: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] 18 | extern comma, j, i; | ^~~~~ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 18 | extern comma, j, i; | ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] 20 | 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] 130 | main(agc, agv) | ^~~~ dpcl.c: In function 'main': dpcl.c:154:5: warning: implicit declaration of function 'init_signals' [-Wimplicit-function-declaration] 154 | init_signals(); /* interrupt handling */ | ^~~~~~~~~~~~ dpcl.c:155:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] 155 | options(); /* command line options */ | ^~~~~~~ dpcl.c:156:5: warning: implicit declaration of function 'rasterlist' [-Wimplicit-function-declaration] 156 | rasterlist(); /* grab raster file data */ | ^~~~~~~~~~ dpcl.c:157:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] 157 | arguments(); /* translate the input files */ | ^~~~~~~~~ dpcl.c:158:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] 158 | done(); /* clean up */ | ^~~~ dpcl.c:159:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] 159 | account(); /* job accounting data */ | ^~~~~~~ dpcl.c: At top level: dpcl.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] 167 | init_signals() | ^~~~~~~~~~~~ dpcl.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] 192 | options() | ^~~~~~~ dpcl.c: In function 'options': dpcl.c:210:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 210 | while ( (ch = getopt(argc, argv, names)) != EOF ) { | ^~~~~~ | getsubopt dpcl.c:226:21: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] 226 | out_list(optarg); | ^~~~~~~~ dpcl.c:258:25: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 258 | 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] 307 | setup() | ^~~~~ dpcl.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] 330 | arguments() | ^~~~~~~~~ dpcl.c: In function 'arguments': dpcl.c:343:9: warning: implicit declaration of function 'conv' [-Wimplicit-function-declaration] 343 | conv(stdin); | ^~~~ dpcl.c: At top level: dpcl.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] 361 | done() | ^~~~ dpcl.c: In function 'done': dpcl.c:375:9: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 375 | unlink(temp_file); | ^~~~~~ dpcl.c: At top level: dpcl.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] 381 | account() | ^~~~~~~ dpcl.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] 398 | conv(fp) | ^~~~ dpcl.c: In function 'conv': dpcl.c:416:5: warning: implicit declaration of function 'redirect' [-Wimplicit-function-declaration] 416 | redirect(-1); /* only do output after a page command */ | ^~~~~~~~ dpcl.c:442:26: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] 442 | put1(chindex(str)); | ^~~~~~~ | rindex dpcl.c:447:21: warning: implicit declaration of function 'oput' [-Wimplicit-function-declaration] 447 | oput(m); | ^~~~ dpcl.c:452:25: warning: implicit declaration of function 't_sf' [-Wimplicit-function-declaration] 452 | t_sf(); | ^~~~ dpcl.c:456:33: warning: implicit declaration of function 'drawline' [-Wimplicit-function-declaration] 456 | drawline(n, m); | ^~~~~~~~ dpcl.c:467:29: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] 467 | drawcirc(n); | ^~~~~~~~ dpcl.c:472:29: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] 472 | drawellip(m, n); | ^~~~~~~~~ dpcl.c:477:29: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] 477 | drawarc(n, m, n1, m1); | ^~~~~~~ dpcl.c:483:29: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] 483 | drawwig(buf); /* WRONG!! */ | ^~~~~~~ dpcl.c:502:21: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] 502 | setsize(t_size(n)); | ^~~~~~~ dpcl.c:502:29: warning: implicit declaration of function 't_size'; did you mean 'dysize'? [-Wimplicit-function-declaration] 502 | setsize(t_size(n)); | ^~~~~~ | dysize dpcl.c:507:21: warning: implicit declaration of function 'setfont' [-Wimplicit-function-declaration] 507 | setfont(t_font(str)); | ^~~~~~~ dpcl.c:507:29: warning: implicit declaration of function 't_font' [-Wimplicit-function-declaration] 507 | setfont(t_font(str)); | ^~~~~~ dpcl.c:535:21: warning: implicit declaration of function 't_page' [-Wimplicit-function-declaration] 535 | t_page(n); | ^~~~~~ dpcl.c:550:21: warning: implicit declaration of function 'devcntrl' [-Wimplicit-function-declaration] 550 | devcntrl(fp); | ^~~~~~~~ dpcl.c: At top level: dpcl.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] 566 | devcntrl(fp) | ^~~~~~~~ dpcl.c: In function 'devcntrl': dpcl.c:585:17: warning: implicit declaration of function 't_init' [-Wimplicit-function-declaration] 585 | t_init(); | ^~~~~~ dpcl.c:608:17: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] 608 | loadfont(n, str, str1); | ^~~~~~~~ dpcl.c: At top level: dpcl.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] 627 | loadfont(m, f, dir) | ^~~~~~~~ dpcl.c: In function 'loadfont': dpcl.c:649:10: warning: implicit declaration of function 'mountfont' [-Wimplicit-function-declaration] 649 | if ( mountfont(path, m) == -1 ) { | ^~~~~~~~~ dpcl.c: At top level: dpcl.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] 704 | loadspecial() | ^~~~~~~~~~~ dpcl.c:720:1: warning: return type defaults to 'int' [-Wimplicit-int] 720 | t_init() | ^~~~~~ dpcl.c: In function 't_init': dpcl.c:736:14: warning: implicit declaration of function 'getdesc' [-Wimplicit-function-declaration] 736 | if ( getdesc(path) == -1 ) | ^~~~~~~ dpcl.c: At top level: dpcl.c:754:1: warning: return type defaults to 'int' [-Wimplicit-int] 754 | t_page(pg) | ^~~~~~ dpcl.c:785:1: warning: return type defaults to 'int' [-Wimplicit-int] 785 | t_size(n) | ^~~~~~ dpcl.c:814:1: warning: return type defaults to 'int' [-Wimplicit-int] 814 | t_font(s) | ^~~~~~ dpcl.c:847:1: warning: return type defaults to 'int' [-Wimplicit-int] 847 | t_hmove() | ^~~~~~~ dpcl.c:869:1: warning: return type defaults to 'int' [-Wimplicit-int] 869 | t_vmove() | ^~~~~~~ dpcl.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] 891 | setsize(n) | ^~~~~~~ dpcl.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] 910 | setfont(m) | ^~~~~~~ dpcl.c:931:1: warning: return type defaults to 'int' [-Wimplicit-int] 931 | 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] 941 | if ( tf == stdout && mounted(font) ) { | ^~~~~~~ | round dpcl.c:942:9: warning: implicit declaration of function 'getrastdata' [-Wimplicit-function-declaration] 942 | getrastdata(dwb_mount[font]->name, pstab[size-1]); | ^~~~~~~~~~~ dpcl.c:943:9: warning: implicit declaration of function 'setfamily' [-Wimplicit-function-declaration] 943 | setfamily(); | ^~~~~~~~~ dpcl.c: In function 'put1': dpcl.c:976:15: warning: implicit declaration of function 'onfont'; did you mean 't_font'? [-Wimplicit-function-declaration] 976 | 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] 996 | oput(c) | ^~~~ dpcl.c: In function 'oput': dpcl.c:1019:9: warning: implicit declaration of function 'download' [-Wimplicit-function-declaration] 1019 | download(c); | ^~~~~~~~ dpcl.c: At top level: dpcl.c:1028:1: warning: return type defaults to 'int' [-Wimplicit-int] 1028 | redirect(pg) | ^~~~~~~~ dpcl.c: In function 'redirect': dpcl.c:1043:21: warning: implicit declaration of function 'in_olist' [-Wimplicit-function-declaration] 1043 | if ( pg >= 0 && in_olist(pg) == ON ) | ^~~~~~~~ dpcl.c: In function 'conv': dpcl.c:441:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 441 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:446:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | fscanf(fp, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:461:29: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 461 | fscanf(fp, "%d %d %c", &n, &m, &n1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:466:29: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:471:29: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 471 | fscanf(fp, "%d %d", &m, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:476:29: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | fscanf(fp, "%d %d %d %d", &n, &m, &n1, &m1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:482:29: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:489:29: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:501:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 501 | fscanf(fp, "%d", &n); /* ignore fractional sizes */ | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:506:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 506 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:511:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 511 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:516:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:524:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 524 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:529:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:534:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 534 | 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] 581 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ dpcl.c:589:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 589 | fscanf(fp, "%s", dwb_devname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:599:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 599 | fscanf(fp, "%d", &res); | ^~~~~~~~~~~~~~~~~~~~~~ dpcl.c:603:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 603 | fscanf(fp, "%d %s", &n, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:604:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | fgets(buf, sizeof buf, fp); /* in case there's a filename */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dpcl.c:613:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 613 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ dpcl.c:617:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | 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:9: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] 37 | setsize(t_size(pstab[osize-1] / drawsize)); | ^~~~~~~ draw.c:37:17: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] 37 | setsize(t_size(pstab[osize-1] / drawsize)); | ^~~~~~ draw.c:48:25: warning: implicit declaration of function 'put1'; did you mean 'puts'? [-Wimplicit-function-declaration] 48 | put1(drawdot); | ^~~~ | puts draw.c: At top level: draw.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | drawwig(s) /* draw wiggly line */ | ^~~~~~~ draw.c: In function 'drawwig': draw.c:117:24: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 117 | x[N] = atoi(temp); | ^~~~ draw.c:131:28: warning: implicit declaration of function 'dist' [-Wimplicit-function-declaration] 131 | 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; | ^~~~ draw.c: At top level: draw.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] 170 | drawcirc(d) | ^~~~~~~~ draw.c: In function 'drawcirc': draw.c:170:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:176:9: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] 176 | 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] 181 | 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] 190 | 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] 202 | 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] 215 | 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:25: warning: implicit declaration of function 'putdot' [-Wimplicit-function-declaration] 366 | putdot((int)xc, (int)yc); | ^~~~~~ draw.c: At top level: draw.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] 423 | 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] 37 | getdesc(path) | ^~~~~~~ font.c: In function 'getdesc': font.c:74:17: warning: implicit declaration of function 'chadd' [-Wimplicit-function-declaration] 74 | chadd(buf); | ^~~~~ font.c: At top level: font.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] 87 | getfont(path, fpos) | ^~~~~~~ font.c: In function 'getfont': font.c:122:9: warning: implicit declaration of function 'freefonts' [-Wimplicit-function-declaration] 122 | freefonts(); | ^~~~~~~~~ font.c:130:13: warning: implicit declaration of function 'release' [-Wimplicit-function-declaration] 130 | release(fpos->name); | ^~~~~~~ font.c:142:27: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] 142 | if ( (n = chindex(ch)) == -1 ) | ^~~~~~~ | rindex font.c: At top level: font.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] 205 | mountfont(path, m) | ^~~~~~~~~ font.c: In function 'mountfont': font.c:234:34: warning: implicit declaration of function 'findfont' [-Wimplicit-function-declaration] 234 | dwb_mount[m] = fpos = &fonts[findfont(path)]; | ^~~~~~~~ font.c: At top level: font.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] 242 | freefonts() | ^~~~~~~~~ font.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] 266 | findfont(path) | ^~~~~~~~ font.c: In function 'findfont': font.c:272:17: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] 272 | register n; | ^ font.c:281:15: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] 281 | 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] 290 | mounted(m) | ^~~~~~~ font.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] 308 | onfont(c, m) | ^~~~~~ font.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] 346 | chwidth(n, m) | ^~~~~~~ font.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] 366 | chcode(n, m) | ^~~~~~ font.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] 386 | chindex(s) | ^~~~~~~ font.c: In function 'chindex': font.c:392:17: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 392 | register i; | ^ font.c: At top level: font.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] 410 | chadd(s) | ^~~~~ font.c: In function 'chadd': font.c:416:17: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 416 | register i; | ^ font.c:426:9: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 426 | 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] 457 | hash(s, l) | ^~~~ font.c: In function 'hash': font.c:464:17: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 464 | register i; | ^ font.c: At top level: font.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] 531 | release(ptr) | ^~~~~~~ font.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] 550 | dumpmount(m) | ^~~~~~~~~ font.c: In function 'dumpmount': font.c:563:9: warning: implicit declaration of function 'dumpfont'; did you mean 'dumpmount'? [-Wimplicit-function-declaration] 563 | dumpfont((dwb_mount[m] - &fonts[0])); | ^~~~~~~~ | dumpmount font.c: At top level: font.c:570:1: warning: return type defaults to 'int' [-Wimplicit-int] 570 | dumpfont(n) | ^~~~~~~~ font.c: In function 'getdesc': font.c:59:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | fscanf(fp, "%d", &devres); | ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:61:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fscanf(fp, "%d", &unitwidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:67:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fscanf(fp, "%d", &mlimit); | ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:69:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fscanf(fp, "%d", &nfonts); | ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:71:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf(fp, "%s", buf); | ^~~~~~~~~~~~~~~~~~~~~ font.c: In function 'getfont': font.c:131:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | fscanf(fin, "%s", buf); | ^~~~~~~~~~~~~~~~~~~~~~ font.c:135:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fscanf(fin, "%s", buf); | ^~~~~~~~~~~~~~~~~~~~~~ font.c:138:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | 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] 20 | out_list(str) | ^~~~~~~~ misc.c: In function 'out_list': misc.c:36:24: warning: implicit declaration of function 'str_convert' [-Wimplicit-function-declaration] 36 | start = stop = str_convert(&str, 0); | ^~~~~~~~~~~ misc.c:42:13: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 42 | 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] 56 | in_olist(num) | ^~~~~~~~ misc.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 84 | cat(file) | ^~~ misc.c: In function 'cat': misc.c:107:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 107 | while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) | ^~~~ | fread misc.c:108:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 108 | write(fd_out, buf, count); | ^~~~~ | fwrite misc.c:110:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 110 | close(fd_in); | ^~~~~ | pclose misc.c: At top level: misc.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] 117 | putint(n, fp) | ^~~~~~ misc.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] 138 | getint(fp) | ^~~~~~ misc.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] 165 | str_convert(str, err) | ^~~~~~~~~~~ misc.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] 194 | error(kind, mesg, a1, a2, a3) | ^~~~~ misc.c: In function 'error': misc.c:222:13: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 222 | unlink(temp_file); | ^~~~~~ 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] 43 | getfamdata(f, s) | ^~~~~~~~~~ rast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] 69 | getrastdata(f, s) | ^~~~~~~~~~~ rast.c: In function 'getrastdata': rast.c:87:9: warning: implicit declaration of function 'mapsize' [-Wimplicit-function-declaration] 87 | s = mapsize(f, s); /* best available size */ | ^~~~~~~ rast.c:94:13: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 94 | error(FATAL, "job uses too many raster files"); | ^~~~~ | perror rast.c:105:9: warning: implicit declaration of function 'readrastfile' [-Wimplicit-function-declaration] 105 | readrastfile(f, s); | ^~~~~~~~~~~~ rast.c:108:9: warning: implicit declaration of function 'getoffsets' [-Wimplicit-function-declaration] 108 | getoffsets(fam); | ^~~~~~~~~~ rast.c: At top level: rast.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] 114 | readrastfile(f, s) | ^~~~~~~~~~~~ rast.c: In function 'readrastfile': rast.c:148:14: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 148 | if ( access(name, 04) != 0 ) { /* rotate the portrait mode file */ | ^~~~~~ rast.c:150:13: warning: implicit declaration of function 'rotate' [-Wimplicit-function-declaration] 150 | rotate(name); | ^~~~~~ rast.c:155:16: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 155 | if ( (fd = open(name, 0)) == -1 ) | ^~~~ | popen rast.c:164:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 164 | 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] 174 | 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] 181 | close(fd); | ^~~~~ | pclose rast.c: At top level: rast.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] 190 | getoffsets(f) | ^~~~~~~~~~ rast.c: In function 'rastalloc': rast.c:243:14: warning: implicit declaration of function 'freerast' [-Wimplicit-function-declaration] 243 | if ( freerast(1) == 0 ) | ^~~~~~~~ rast.c: At top level: rast.c:251:1: warning: return type defaults to 'int' [-Wimplicit-int] 251 | freerast(count) | ^~~~~~~~ rast.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] 280 | rasterlist() | ^~~~~~~~~~ rast.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] 313 | setfamily() | ^~~~~~~~~ rast.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] 332 | mapsize(f, s) | ^~~~~~~ rast.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] 405 | checkbit(p, n) | ^~~~~~~~ rast.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int] 424 | setbit(p, n) | ^~~~~~ rast.c:443:1: warning: return type defaults to 'int' [-Wimplicit-int] 443 | 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] 21 | rotate(name) | ^~~~~~ rotate.c: In function 'rotate': rotate.c:53:13: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 53 | error(FATAL, "can't generate temporary file name"); | ^~~~~ | perror rotate.c:78:20: warning: implicit declaration of function 'getint'; did you mean 'getenv'? [-Wimplicit-function-declaration] 78 | oloffset = getint(fp_in); /* need the rest of the header */ | ^~~~~~ | getenv rotate.c:112:22: warning: implicit declaration of function 'checkbit' [-Wimplicit-function-declaration] 112 | if ( checkbit(obptr, orwid * j * BYTE + i) ) { | ^~~~~~~~ rotate.c:115:21: warning: implicit declaration of function 'setbit'; did you mean 'setbuf'? [-Wimplicit-function-declaration] 115 | setbit(bptr, rwid * y * BYTE + x); | ^~~~~~ | setbuf rotate.c:130:9: warning: implicit declaration of function 'putint'; did you mean 'putenv'? [-Wimplicit-function-declaration] 130 | putint(-otoffset, fp_out); | ^~~~~~ | putenv rotate.c:67:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(bptr, 1, 26, fp_in); /* first read the font header */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:75:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fscanf(fp_in, "\033(s%*dW"); /* skip the next escape code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:76:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fread(bptr, 1, 6, fp_in); /* and first six bytes in the header */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rotate.c:104:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | 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 /bin/ld: rotate.o: in function `rotate': rotate.c:(.text+0x432): 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] 205 | main(argc,argv) | ^~~~ checkdoc.c: In function 'main': checkdoc.c:318:41: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 318 | close(fp); | ^~~~~ | pclose checkdoc.c: At top level: checkdoc.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] 373 | error(msg) /* Display an error message */ | ^~~~~ checkdoc.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] 380 | warning(msg) /* Display a warning message */ | ^~~~~~~ checkdoc.c: In function 'tbl_ck': checkdoc.c:1986:33: warning: implicit declaration of function 'findcol' [-Wimplicit-function-declaration] 1986 | nr_cols=findcol(&p); | ^~~~~~~ checkdoc.c: At top level: checkdoc.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] 2121 | findcol(nextp) | ^~~~~~~ checkdoc.c: In function 'findcol': checkdoc.c:2125:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] 2125 | register c; | ^ checkdoc.c: At top level: checkdoc.c:2883:1: warning: return type defaults to 'int' [-Wimplicit-int] 2883 | 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] 33 | main (argc, argv) | ^~~~ col.c: In function 'main': col.c:89:41: warning: implicit declaration of function 'outc'; did you mean 'putc'? [-Wimplicit-function-declaration] 89 | outc(ESC); | ^~~~ | putc col.c:105:25: warning: implicit declaration of function 'incr' [-Wimplicit-function-declaration] 105 | incr(); | ^~~~ col.c:117:33: warning: implicit declaration of function 'decr' [-Wimplicit-function-declaration] 117 | decr(); | ^~~~ col.c:207:25: warning: implicit declaration of function 'emit'; did you mean 'exit'? [-Wimplicit-function-declaration] 207 | 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] 212 | outc (c) | ^~~~ col.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] 293 | 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] 306 | 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] 319 | emit (s, lineno) | ^~~~ col.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] 385 | incr() | ^~~~ col.c:399:1: warning: return type defaults to 'int' [-Wimplicit-int] 399 | 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] 70 | main(agc, agv) | ^~~~ dsplit.c: In function 'main': dsplit.c:89:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] 89 | options(); /* read the command line options */ | ^~~~~~~ dsplit.c:90:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] 90 | arguments(); /* translate the input files */ | ^~~~~~~~~ dsplit.c: At top level: dsplit.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] 96 | options() | ^~~~~~~ dsplit.c: In function 'options': dsplit.c:112:19: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 112 | while ( (ch = getopt(argc, argv, names)) != EOF ) { | ^~~~~~ | getsubopt dsplit.c:139:21: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 139 | error(FATAL, ""); | ^~~~~ | perror dsplit.c: At top level: dsplit.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] 157 | arguments() | ^~~~~~~~~ dsplit.c: In function 'arguments': dsplit.c:172:9: warning: implicit declaration of function 'conv' [-Wimplicit-function-declaration] 172 | conv(stdin); | ^~~~ dsplit.c: At top level: dsplit.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] 191 | conv(fp) | ^~~~ dsplit.c: In function 'conv': dsplit.c:208:5: warning: implicit declaration of function 'file_init' [-Wimplicit-function-declaration] 208 | file_init(); /* get ready for the next file */ | ^~~~~~~~~ dsplit.c:213:13: warning: implicit declaration of function 'put_char'; did you mean 'putchar'? [-Wimplicit-function-declaration] 213 | put_char(ch, fp_out); | ^~~~~~~~ | putchar dsplit.c:247:25: warning: implicit declaration of function 'get_int'; did you mean 'getline'? [-Wimplicit-function-declaration] 247 | get_int(fp); | ^~~~~~~ | getline dsplit.c:265:25: warning: implicit declaration of function 'devcntrl' [-Wimplicit-function-declaration] 265 | devcntrl(fp); | ^~~~~~~~ dsplit.c:269:25: warning: implicit declaration of function 'new_page' [-Wimplicit-function-declaration] 269 | new_page(); | ^~~~~~~~ dsplit.c: At top level: dsplit.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] 297 | file_init() | ^~~~~~~~~ dsplit.c: In function 'out_file': dsplit.c:354:12: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 354 | 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] 366 | devcntrl(fp) | ^~~~~~~~ dsplit.c: In function 'devcntrl': dsplit.c:406:17: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] 406 | loadfont(num, name); | ^~~~~~~~ dsplit.c:422:5: warning: implicit declaration of function 'put_string' [-Wimplicit-function-declaration] 422 | put_string(line, fp_out); | ^~~~~~~~~~ dsplit.c: At top level: dsplit.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] 428 | loadfont(pos, name) | ^~~~~~~~ dsplit.c:456:1: warning: return type defaults to 'int' [-Wimplicit-int] 456 | new_page() | ^~~~~~~~ dsplit.c: In function 'new_page': dsplit.c:469:9: warning: implicit declaration of function 'end_section' [-Wimplicit-function-declaration] 469 | end_section(); | ^~~~~~~~~~~ dsplit.c:470:9: warning: implicit declaration of function 'new_section' [-Wimplicit-function-declaration] 470 | new_section(); | ^~~~~~~~~~~ dsplit.c: At top level: dsplit.c:477:1: warning: return type defaults to 'int' [-Wimplicit-int] 477 | end_section() | ^~~~~~~~~~~ dsplit.c:505:1: warning: return type defaults to 'int' [-Wimplicit-int] 505 | new_section() | ^~~~~~~~~~~ dsplit.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] 550 | get_int(fp_in) | ^~~~~~~ dsplit.c:580:1: warning: return type defaults to 'int' [-Wimplicit-int] 580 | put_char(ch, fp) | ^~~~~~~~ dsplit.c:603:1: warning: return type defaults to 'int' [-Wimplicit-int] 603 | put_string(str, fp) | ^~~~~~~~~~ dsplit.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] 624 | 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] 384 | 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:14: warning: implicit declaration of function 'clk' [-Wimplicit-function-declaration] 44 | if ( clk(pt,pc) ) | ^~~ aligned.c:46:14: warning: implicit declaration of function 'cclk' [-Wimplicit-function-declaration] 46 | 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] 3 | boxes() | ^~~~~ boxes.c: In function 'boxes': boxes.c:12:22: warning: implicit declaration of function 'horz' [-Wimplicit-function-declaration] 12 | if ( horz(top) ) | ^~~~ boxes.c:15:38: warning: implicit declaration of function 'vert' [-Wimplicit-function-declaration] 15 | if ( vert(left) && eqpt(top->begin,left->begin) ) | ^~~~ boxes.c:15:54: warning: implicit declaration of function 'eqpt' [-Wimplicit-function-declaration] 15 | 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] 54 | 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] 14 | main(argc,argv) | ^~~~ main.c: In function 'main': main.c:25:28: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 25 | if ( i < argc && strcmp(argv[i],"+s") == 0 ) | ^~~~~~ main.c:13:1: note: include '' or provide a declaration of 'strcmp' 12 | # include "structs.h" +++ |+#include 13 | main.c:31:17: warning: implicit declaration of function 'process' [-Wimplicit-function-declaration] 31 | 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] 6 | out() | ^~~ out.c: In function 'out': out.c:9:9: warning: implicit declaration of function 'boxes' [-Wimplicit-function-declaration] 9 | boxes() ; | ^~~~~ out.c: In function 'revout': out.c:19:9: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] 19 | draw(object) ; | ^~~~ out.c: In function 'bounds': out.c:80:33: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 80 | error("(internal) unknown object\n") ; | ^~~~~ | perror out.c: At top level: out.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] 86 | draw(object) | ^~~~ out.c: In function 'draw': out.c:101:25: warning: implicit declaration of function 'point'; did you mean 'printf'? [-Wimplicit-function-declaration] 101 | point(object->begin) ; | ^~~~~ | printf out.c: At top level: out.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] 149 | point(pnt) | ^~~~~ out.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] 174 | free_all() | ^~~~~~~~ out.c: In function 'free_all': out.c:182:25: warning: implicit declaration of function 'sm_free' [-Wimplicit-function-declaration] 182 | 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] 13 | process(name) | ^~~~~~~ process.c: In function 'process': process.c:34:25: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 34 | error("can't open %s\n",name) ; | ^~~~~ | perror process.c:38:17: warning: implicit declaration of function 'get_line'; did you mean 'getline'? [-Wimplicit-function-declaration] 38 | while ( get_line(buf) != EOF ) | ^~~~~~~~ | getline process.c:44:25: warning: implicit declaration of function 'conv_init' [-Wimplicit-function-declaration] 44 | conv_init(p,convbuf) ; | ^~~~~~~~~ process.c:57:41: warning: implicit declaration of function 'out' [-Wimplicit-function-declaration] 57 | out() ; | ^~~ process.c:64:41: warning: implicit declaration of function 'free_all' [-Wimplicit-function-declaration] 64 | free_all() ; | ^~~~~~~~ process.c:69:41: warning: implicit declaration of function 'write_line' [-Wimplicit-function-declaration] 69 | write_line(p) ; | ^~~~~~~~~~ process.c: At top level: process.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] 236 | write_line(p) | ^~~~~~~~~~ process.c: In function 'write_line': process.c:334:17: warning: implicit declaration of function 'save_sym' [-Wimplicit-function-declaration] 334 | save_sym(obuf,index,j,line_num) ; | ^~~~~~~~ process.c: At top level: process.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] 339 | 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:17: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 12 | 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] 27 | 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] 4 | 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] 16 | main(argc,argv) | ^~~~ hyphen.c: In function 'main': hyphen.c:24:21: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 24 | while ((r = getopt(argc,argv,"")) != EOF) { | ^~~~~~ | getsubopt hyphen.c:39:38: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 39 | if ((ifile = open(*argv, 0)) < 0) { | ^~~~ | popen hyphen.c:47:25: warning: implicit declaration of function 'get'; did you mean 'getw'? [-Wimplicit-function-declaration] 47 | 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] 81 | get(ifile) | ^~~ hyphen.c: In function 'get': hyphen.c:87:20: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 87 | 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] 3 | 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] 3 | 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] 2 | 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] 96 | main(argc, argv) | ^~~~ tc.c: In function 'main': tc.c:96:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] tc.c:116:25: warning: implicit declaration of function 'outlist' [-Wimplicit-function-declaration] 116 | outlist(&argv[1][2]); | ^~~~~~~ tc.c:131:17: warning: implicit declaration of function 'conv' [-Wimplicit-function-declaration] 131 | conv(stdin); | ^~~~ tc.c:137:33: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 137 | 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] 144 | outlist(s) /* process list of page numbers to be printed */ | ^~~~~~~ tc.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] 180 | in_olist(n) /* is n in olist? */ | ^~~~~~~~ tc.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] 193 | conv(fp) | ^~~~ tc.c: In function 'conv': tc.c:208:25: warning: implicit declaration of function 't_push' [-Wimplicit-function-declaration] 208 | t_push(); | ^~~~~~ tc.c:211:25: warning: implicit declaration of function 't_pop' [-Wimplicit-function-declaration] 211 | t_pop(); | ^~~~~ tc.c:216:25: warning: implicit declaration of function 'hmot' [-Wimplicit-function-declaration] 216 | hmot((c-'0')*10 + getc(fp)-'0'); | ^~~~ tc.c:237:33: warning: implicit declaration of function 'drawline' [-Wimplicit-function-declaration] 237 | drawline(n, m, "."); | ^~~~~~~~ tc.c:241:33: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] 241 | drawcirc(n); | ^~~~~~~~ tc.c:245:33: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] 245 | drawellip(m, n); | ^~~~~~~~~ tc.c:249:33: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] 249 | drawarc(n, m, n1, m1); | ^~~~~~~ tc.c:252:33: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] 252 | drawwig(buf+1); | ^~~~~~~ tc.c:261:33: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] 261 | setsize(t_size(n)); | ^~~~~~ tc.c:265:25: warning: implicit declaration of function 'setfont' [-Wimplicit-function-declaration] 265 | setfont(t_font(str)); | ^~~~~~~ tc.c:265:33: warning: implicit declaration of function 't_font' [-Wimplicit-function-declaration] 265 | setfont(t_font(str)); | ^~~~~~ tc.c:276:25: warning: implicit declaration of function 'hgoto' [-Wimplicit-function-declaration] 276 | hgoto(k); | ^~~~~ tc.c:293:25: warning: implicit declaration of function 'vgoto' [-Wimplicit-function-declaration] 293 | vgoto(n); | ^~~~~ tc.c:297:25: warning: implicit declaration of function 'vmot' [-Wimplicit-function-declaration] 297 | vmot(n); | ^~~~ tc.c:306:25: warning: implicit declaration of function 't_newline' [-Wimplicit-function-declaration] 306 | t_newline(); | ^~~~~~~~~ tc.c:314:25: warning: implicit declaration of function 'devcntrl' [-Wimplicit-function-declaration] 314 | devcntrl(fp); | ^~~~~~~~ tc.c: At top level: tc.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] 325 | devcntrl(fp) /* interpret device control functions */ | ^~~~~~~~ tc.c: In function 'devcntrl': tc.c:334:17: warning: implicit declaration of function 'fileinit'; did you mean 'fileno'? [-Wimplicit-function-declaration] 334 | fileinit(); | ^~~~~~~~ | fileno tc.c:335:17: warning: implicit declaration of function 't_init' [-Wimplicit-function-declaration] 335 | t_init(0); | ^~~~~~ tc.c:341:17: warning: implicit declaration of function 't_trailer' [-Wimplicit-function-declaration] 341 | t_trailer(); | ^~~~~~~~~ tc.c:344:17: warning: implicit declaration of function 't_reset' [-Wimplicit-function-declaration] 344 | t_reset('p'); | ^~~~~~~ tc.c:354:17: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] 354 | loadfont(n, str); | ^~~~~~~~ tc.c: At top level: tc.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] 361 | fileinit() /* read in font and code files, etc. */ | ^~~~~~~~ tc.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] 365 | 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] 369 | loadcode(n, nw) /* load codetab on position n (0...); #chars is nw */ | ^~~~~~~~ tc.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] 374 | 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] 386 | 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:17: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] 395 | done(2); | ^~~~ tc.c:100:13: note: previous declaration of 'done' with type 'int()' 100 | int done(); | ^~~~ tc.c: At top level: tc.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] 429 | t_init(reinit) /* initialize device */ | ^~~~~~ tc.c: In function 't_init': tc.c:441:9: warning: implicit declaration of function 'sendpt' [-Wimplicit-function-declaration] 441 | sendpt(); | ^~~~~~ tc.c: At top level: tc.c:457:1: warning: return type defaults to 'int' [-Wimplicit-int] 457 | t_push() /* begin a new block */ | ^~~~~~ tc.c: In function 't_push': tc.c:459:9: warning: implicit declaration of function 'hflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 459 | hflush(); | ^~~~~~ | fflush tc.c: At top level: tc.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] 474 | t_pop() /* pop to previous state */ | ^~~~~ tc.c: In function 't_page': tc.c:519:31: warning: implicit declaration of function 'readch' [-Wimplicit-function-declaration] 519 | for (bp = buf; (*bp = readch()); ) | ^~~~~~ tc.c: At top level: tc.c:593:1: warning: return type defaults to 'int' [-Wimplicit-int] 593 | t_newline() /* do whatever for the end of a line */ | ^~~~~~~~~ tc.c:598:1: warning: return type defaults to 'int' [-Wimplicit-int] 598 | t_size(n) /* convert integer to internal size number*/ | ^~~~~~ tc.c:612:1: warning: return type defaults to 'int' [-Wimplicit-int] 612 | t_font(s) /* convert string to internal font number */ | ^~~~~~ tc.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] 653 | 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] 665 | t_trailer() | ^~~~~~~~~ tc.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int] 669 | 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] 676 | hmot(n) /* generate n units of horizontal motion */ | ^~~~ tc.c:682:1: warning: return type defaults to 'int' [-Wimplicit-int] 682 | hflush() /* actual horizontal output occurs here */ | ^~~~~~ tc.c:688:1: warning: return type defaults to 'int' [-Wimplicit-int] 688 | 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] 693 | vmot(n) /* generate n units of vertical motion */ | ^~~~ tc.c:751:1: warning: return type defaults to 'int' [-Wimplicit-int] 751 | t_fp(n, s) /* font position n now contains font s */ | ^~~~ tc.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] 757 | setfont(n) /* set font to n */ | ^~~~~~~ tc.c:762:1: warning: return type defaults to 'int' [-Wimplicit-int] 762 | done() | ^~~~ tc.c:776:1: warning: return type defaults to 'int' [-Wimplicit-int] 776 | readch(){ | ^~~~~~ tc.c: In function 'readch': tc.c:778:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 778 | 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] 781 | sendpt(){ | ^~~~~~ tc.c: In function 'conv': tc.c:223:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 223 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ tc.c:227:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:232:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:260:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | fscanf(fp, "%d", &n); /* ignore fractional sizes */ | ^~~~~~~~~~~~~~~~~~~~ tc.c:264:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ tc.c:292:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ tc.c:296:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ tc.c:300:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | fscanf(fp, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ tc.c: In function 'devcntrl': tc.c:331:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | fscanf(fp, "%s", str); | ^~~~~~~~~~~~~~~~~~~~~ tc.c:338:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 338 | fscanf(fp, "%s", dwb_devname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tc.c:350:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | fscanf(fp, "%d", &res); | ^~~~~~~~~~~~~~~~~~~~~~ tc.c:353:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | 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:9: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] 33 | setsize(t_size(pstab[osize-1] / drawsize)); | ^~~~~~~ draw.c:33:17: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] 33 | setsize(t_size(pstab[osize-1] / drawsize)); | ^~~~~~ draw.c:6:25: warning: implicit declaration of function 'vgoto'; did you mean 'hgoto'? [-Wimplicit-function-declaration] 6 | #define vmot(n) vgoto(vpos + n) | ^~~~~ draw.c:42:25: note: in expansion of macro 'vmot' 42 | vmot(motincr); | ^~~~ draw.c:43:25: warning: implicit declaration of function 'put1'; did you mean 'puts'? [-Wimplicit-function-declaration] 43 | put1(drawdot); | ^~~~ | puts draw.c: At top level: draw.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] 97 | drawwig(s) /* draw wiggly line */ | ^~~~~~~ draw.c: In function 'drawwig': draw.c:110:24: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 110 | x[N] = atoi(temp); | ^~~~ draw.c:125:26: warning: implicit declaration of function 'dist' [-Wimplicit-function-declaration] 125 | 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; | ^~~~ draw.c: At top level: draw.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] 163 | drawcirc(d) | ^~~~~~~~ draw.c: In function 'drawcirc': draw.c:163:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:169:9: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] 169 | 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] 174 | 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] 183 | 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] 195 | 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] 208 | 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:25: warning: implicit declaration of function 'putdot' [-Wimplicit-function-declaration] 359 | putdot((int)xc, (int)yc); | ^~~~~~ draw.c: At top level: draw.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] 416 | 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] 12 | 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] 39 | 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] 71 | fgetline(s,lim,stream) | ^~~~~~~~