=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for DWB-20150517 CXX=c++ LEX=lex ./cfgr C++ compiler: /tmp/pkgbuild/textproc/DWB/work.alpha/.cwrapper/bin/c++ Lexer: /tmp/pkgbuild/textproc/DWB/work.alpha/.tools/bin/lex ---- Making all in directory doc/pub ---- ---- Making all in directory doc/pub.att ---- ---- Making all in directory index/deroff ---- gcc -O -s -o deroff deroff.c deroff.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] main(ac, av) ^ deroff.c: In function 'main': deroff.c:97:11: warning: type defaults to 'int' in declaration of 'optchar' [-Wimplicit-int] register optchar; ^ deroff.c:102:20: warning: implicit declaration of function 'getflags' [-Wimplicit-function-declaration] while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { ^ deroff.c:130:3: warning: implicit declaration of function 'fatal' [-Wimplicit-function-declaration] fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); ^ deroff.c:151:2: warning: implicit declaration of function 'work' [-Wimplicit-function-declaration] work(); ^ deroff.c: At top level: deroff.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] skeqn() ^ deroff.c: In function 'skeqn': deroff.c:164:8: warning: implicit declaration of function 'eof' [-Wimplicit-function-declaration] c = eof(); ^ deroff.c: At top level: deroff.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] eof() ^ deroff.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(s,p) ^ deroff.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] work() ^ deroff.c: In function 'work': deroff.c:266:4: warning: implicit declaration of function 'regline' [-Wimplicit-function-declaration] regline(NO,TWO); ^ deroff.c: At top level: deroff.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] regline(macline,constant) ^ deroff.c: In function 'regline': deroff.c:305:4: warning: implicit declaration of function 'putmac' [-Wimplicit-function-declaration] putmac(line,constant); ^ deroff.c: At top level: deroff.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] putmac(s,constant) ^ deroff.c: In function 'putmac': deroff.c:320:11: warning: type defaults to 'int' in declaration of 'found' [-Wimplicit-int] register found; ^ deroff.c: In function 'comline': deroff.c:414:4: warning: implicit declaration of function 'stbl' [-Wimplicit-function-declaration] stbl(); ^ deroff.c:416:8: warning: implicit declaration of function 'tbl' [-Wimplicit-function-declaration] else tbl(); ^ deroff.c: At top level: deroff.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int] tbl() ^ deroff.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] stbl() ^ ---- Making all in directory index/mptx ---- ---- Making all in directory index/ndx ---- cp ndx.sh ndx; chmod 755 ndx gcc -O -DBSD4_2 -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^ lex ndexer.l gcc -O -DBSD4_2 -c -o ndexer.o lex.yy.c ndexer.l: In function 'yylex': ndexer.l:130:2: warning: implicit declaration of function 'copy_in' [-Wimplicit-function-declaration] ([a-zA-Z0-9][a-zA-Z0-9&'/-]*)|([A-Z][.]) {copy_in (yytext); ^ ndexer.l:136:7: warning: implicit declaration of function 'w_activate' [-Wimplicit-function-declaration] w_activate (w_ptr, 'L'); /*lit match*/ ^ ndexer.l:139:15: warning: implicit declaration of function 'ulcase' [-Wimplicit-function-declaration] if (ulcase (lc_token)) ^ ndexer.l:147:18: warning: implicit declaration of function 'rootword' [-Wimplicit-function-declaration] root_token[rootword(root_token)] = '\0'; ^ ndexer.l:148:7: warning: implicit declaration of function 'match_roots' [-Wimplicit-function-declaration] match_roots (wlist, root_token); ^ ndexer.l:155:10: warning: implicit declaration of function 'subj_search' [-Wimplicit-function-declaration] {subj_search (); ^ ndexer.l:156:10: warning: implicit declaration of function 'write_context' [-Wimplicit-function-declaration] write_context (); ^ ndexer.l:157:10: warning: implicit declaration of function 'wri_subjmacro' [-Wimplicit-function-declaration] wri_subjmacro (); ^ ndexer.l:158:10: warning: implicit declaration of function 'return_lists' [-Wimplicit-function-declaration] return_lists (); ^ ndexer.l:161:11: warning: implicit declaration of function 'init_vars' [-Wimplicit-function-declaration] {init_vars (); ^ ndexer.l:170:2: warning: implicit declaration of function 'flush_context' [-Wimplicit-function-declaration] ^[.']([SN]H?([ ][0-9]))[ \t]+ {flush_context (); ^ ndexer.l:254:8: warning: implicit declaration of function 'init_subj' [-Wimplicit-function-declaration] init_subj (s_count);} ^ ndexer.l:262:8: warning: implicit declaration of function 'build_subj' [-Wimplicit-function-declaration] build_subj (fsec);} ^ ndexer.l: At top level: ndexer.l:292:1: warning: return type defaults to 'int' [-Wimplicit-int] init_subj (subjno) ^ ndexer.l:308:1: warning: return type defaults to 'int' [-Wimplicit-int] print_subj() /*For debugging, prints internal subj list*/ ^ ndexer.l:338:1: warning: return type defaults to 'int' [-Wimplicit-int] build_subj ( flag) ^ ndexer.l: In function 'subj_insert': ndexer.l:521:27: warning: implicit declaration of function 's_match' [-Wimplicit-function-declaration] while ((s != NULL) && (s_match(subject, s) == FALSE)) ^ ndexer.l:528:3: warning: implicit declaration of function 'w_update' [-Wimplicit-function-declaration] 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] s_match (subj1, subj2) ^ ndexer.l:563:1: warning: return type defaults to 'int' [-Wimplicit-int] w_update (s) ^ ndexer.l:592:1: warning: return type defaults to 'int' [-Wimplicit-int] prnt_slist () ^ ndexer.l:604:1: warning: return type defaults to 'int' [-Wimplicit-int] printtree (tree, c) ^ ndexer.l:623:1: warning: return type defaults to 'int' [-Wimplicit-int] w_activate (w_ptr, m_type) ^ ndexer.l: In function 'w_activate': ndexer.l:631:13: warning: implicit declaration of function 'already_act' [-Wimplicit-function-declaration] {if ((i = already_act (w_ptr)) != -1) ^ ndexer.l: At top level: ndexer.l:663:1: warning: return type defaults to 'int' [-Wimplicit-int] match_roots (tree, root) ^ ndexer.l: In function 'match_roots': ndexer.l:675:10: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration] if (min (r_ptr->rootp, len) < 4) ^ ndexer.l: At top level: ndexer.l:729:1: warning: return type defaults to 'int' [-Wimplicit-int] subj_search() ^ ndexer.l:798:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_in (text) /*copies a string to the context buf*/ ^ ndexer.l:833:1: warning: return type defaults to 'int' [-Wimplicit-int] flush_context () ^ ndexer.l:846:1: warning: return type defaults to 'int' [-Wimplicit-int] write_context () ^ ndexer.l:869:1: warning: return type defaults to 'int' [-Wimplicit-int] wri_subjmacro () /*write subj indexing macros to pagefile and*/ ^ ndexer.l:888:1: warning: return type defaults to 'int' [-Wimplicit-int] return_lists () ^ ndexer.l:908:1: warning: return type defaults to 'int' [-Wimplicit-int] init_vars () ^ ndexer.l:929:1: warning: return type defaults to 'int' [-Wimplicit-int] min (i, j) ^ ndexer.l:942:1: warning: return type defaults to 'int' [-Wimplicit-int] ndx_text (pfname) ^ ndexer.l:956:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap () ^ ndexer.l:991:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc,argv) ^ rm -f lex.yy.c gcc -O -DBSD4_2 -c rootwd.c In file included from rootwd.c:13:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] egetd() ^ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] able(a0, a1, ptr) ^ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ace(a0, a1, ptr) ^ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] age(a0, a1, ptr) ^ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ance(a0, a1, ptr) ^ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ant(a0, a1, ptr) ^ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cal(a0, a1, ptr) ^ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cle(a0, a1, ptr) ^ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ee(a0, a1, ptr) ^ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ence(a0, a1, ptr) ^ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ess(a0, a1, ptr) ^ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] est(a0, a1, ptr) ^ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ful(a0, a1, ptr) ^ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ible(a0, a1, ptr) ^ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ic(a0, a1, ptr) ^ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ice(a0, a1, ptr) ^ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ion(a0, a1, ptr) ^ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ional(a0, a1, ptr) ^ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] is(a0, a1, ptr) ^ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ish(a0, a1, ptr) ^ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ist(a0, a1, ptr) ^ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ite(a0, a1, ptr) ^ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ive(a0, a1, ptr) ^ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ize(a0, a1, ptr) ^ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lar(a0, a1, ptr) ^ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] less(a0, a1, ptr) ^ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] man(a0, a1, ptr) ^ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ment(a0, a1, ptr) ^ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ness(a0, a1, ptr) ^ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ous(a0, a1, ptr) ^ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ship(a0, a1, ptr) ^ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ss(a0, a1, ptr) ^ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ure(a0, a1, ptr) ^ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] us(a0, a1, ptr) ^ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ing(a0, a1, ptr) ^ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ed(a0, a1, ptr) ^ rootwd.c: At top level: rootwd.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] rootword (token) ^ rootwd.c: In function 'rootword': rootwd.c:41:6: warning: implicit declaration of function 'string' [-Wimplicit-function-declaration] if (string (token, TOKSIZE)) /*if token is a string*/ { ^ rootwd.c:48:13: warning: implicit declaration of function 'except' [-Wimplicit-function-declaration] return (except(ed, token, len, 2)); ^ rootwd.c: At top level: rootwd.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] except (endg, token, len, end) ^ rootwd.c: In function 'except': rootwd.c:176:2: warning: implicit declaration of function 'strn_rev' [-Wimplicit-function-declaration] strn_rev (token, rtok, (len - end)); /*reverse string minus ending*/ ^ gcc -O -DBSD4_2 -c space.c gcc -O -DBSD4_2 -c str.c gcc -O -DBSD4_2 -c strr.c strr.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] strn_rev (str, rstr, n) ^ gcc -O -DBSD4_2 -s case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer ndexer.o: In function `ndx_text': (.text+0x22b4): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() gcc -O -DBSD4_2 -s -o ndxformat ndxformat.c ndxformat.c:9:0: warning: "gets" redefined #define gets(s) fgets(s, sizeof(s), stdin) ^ In file included from /usr/include/stdio.h:597:0, from ndxformat.c:1: /usr/include/ssp/stdio.h:67:0: note: this is the location of the previous definition #define gets(str) \ ^ ndxformat.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ gcc -O -DBSD4_2 -s -o pages pages.c pages.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ pages.c: In function 'main': pages.c:37:3: warning: implicit declaration of function 'procnosect' [-Wimplicit-function-declaration] procnosect(); ^ pages.c:40:3: warning: implicit declaration of function 'procsect' [-Wimplicit-function-declaration] procsect(); ^ pages.c: At top level: pages.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] procnosect() ^ pages.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] procsect() ^ gcc -O -DBSD4_2 -s -o sbjprep sbjprep.c sbjprep.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ---- Making all in directory index/ptx ---- gcc -O -s -o ptx ptx.c ptx.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ ptx.c: In function 'main': ptx.c:125:6: warning: implicit declaration of function 'diag' [-Wimplicit-function-declaration] diag("Wrong width:",*optarg); ^ ptx.c:232:7: warning: implicit declaration of function 'storeh' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:232:14: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:261:3: warning: implicit declaration of function 'cmpline' [-Wimplicit-function-declaration] cmpline(pend); ^ ptx.c:276:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] while(wait(&status) != pid); ^ ptx.c:280:2: warning: implicit declaration of function 'getsort' [-Wimplicit-function-declaration] getsort(); ^ ptx.c: At top level: ptx.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] diag(s,arg) ^ ptx.c: In function 'dwb_getline': ptx.c:302:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c: At top level: ptx.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpline(pend) ^ ptx.c: In function 'cmpline': ptx.c:362:9: warning: implicit declaration of function 'cmpword' [-Wimplicit-function-declaration] if(cmpword(pstrt,pchar,cp)){ ^ ptx.c:365:8: warning: implicit declaration of function 'putline' [-Wimplicit-function-declaration] putline(pstrt,pend); ^ ptx.c: At top level: ptx.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpword(cpp,pend,hpp) ^ ptx.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] putline(strt, end) ^ ptx.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] getsort() ^ ptx.c: In function 'getsort': ptx.c:414:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c:458:4: warning: implicit declaration of function 'putout' [-Wimplicit-function-declaration] putout(p1a,p1b); ^ ptx.c: In function 'rtrim': ptx.c:492:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *rtrim(a,c,d) ^ ptx.c: In function 'ltrim': ptx.c:505:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *ltrim(c,b,d) ^ ptx.c: At top level: ptx.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int] putout(strt,end) ^ ptx.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(strtp,endp) ^ ptx.c:565:1: warning: return type defaults to 'int' [-Wimplicit-int] storeh(num,strtp) ^ /var/tmp//ccoeHauE.o: In function `main': (.text+0x1b28): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory index/subj ---- cp subj.sh subj; chmod 755 subj cp parts.sh parts; chmod 755 parts lex sbj1.l gcc -O -c -o sbj1.o lex.yy.c sbj1.l: In function 'yylex': sbj1.l:53:3: warning: implicit declaration of function 'skip' [-Wimplicit-function-declaration] ^[.]EQ.*[\n] { skip ('E');} ^ sbj1.l:85:7: warning: implicit declaration of function 'italic_arg' [-Wimplicit-function-declaration] {italic_arg(); ^ sbj1.l: At top level: sbj1.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] skip (type) ^ sbj1.l:280:1: warning: return type defaults to 'int' [-Wimplicit-int] italic_arg() ^ sbj1.l:326:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ rm -f lex.yy.c gcc -O -s sbj1.o -o sbj1 -lfl lex sbj2.l sbj2.l:65: warning, rule cannot be matched gcc -O -c -o sbj2.o lex.yy.c sbj2.l: In function 'yylex': sbj2.l:70:7: warning: implicit declaration of function 'writesubj' [-Wimplicit-function-declaration] {writesubj(type); ^ sbj2.l:71:7: warning: implicit declaration of function 'reset_ptrs' [-Wimplicit-function-declaration] reset_ptrs(); ^ sbj2.l: At top level: sbj2.l:137:1: warning: return type defaults to 'int' [-Wimplicit-int] writesubj (type) ^ sbj2.l:181:1: warning: return type defaults to 'int' [-Wimplicit-int] reset_ptrs () ^ rm -f lex.yy.c gcc -O -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ulcase (string) ^ gcc -O -s sbj2.o case.o -o sbj2 -lfl lex sbj3.l gcc -O -c -o sbj3.o lex.yy.c sbj3.l: In function 'yylex': sbj3.l:54:6: warning: implicit declaration of function 'storeterm' [-Wimplicit-function-declaration] storeterm (); ^ sbj3.l:61:6: warning: implicit declaration of function 'writesubj' [-Wimplicit-function-declaration] writesubj (); ^ sbj3.l:62:6: warning: implicit declaration of function 'reset_ptrs' [-Wimplicit-function-declaration] reset_ptrs(); ^ sbj3.l: At top level: sbj3.l:72:1: warning: return type defaults to 'int' [-Wimplicit-int] storeterm() ^ sbj3.l: In function 'storeterm': sbj3.l:73:7: warning: implicit declaration of function 'omit' [-Wimplicit-function-declaration] { if (omit(yytext) == FALSE) ^ sbj3.l: At top level: sbj3.l:93:1: warning: return type defaults to 'int' [-Wimplicit-int] writesubj () ^ sbj3.l:106:1: warning: return type defaults to 'int' [-Wimplicit-int] reset_ptrs () ^ rm -f lex.yy.c gcc -O -c omit.c omit.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] omit (word) ^ gcc -O -s sbj3.o case.o omit.o -o sbj3 -lfl lex nwords.l gcc -O -c -o nwords.o lex.yy.c In file included from nwords.l:32:0: nhash.h: In function 'aahash': nhash.h:37:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ nhash.h:37:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] nhash.h: At top level: nhash.h:71:1: warning: return type defaults to 'int' [-Wimplicit-int] getd() ^ nhash.h: In function 'lookup': nhash.h:87:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lookup(a0, a1, ptr) ^ nhash.h: In function 'ary': nhash.h:100:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ary(a0, a1, ptr) ^ nhash.h: In function 'cy': nhash.h:113:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cy(a0, a1, ptr) ^ nhash.h: In function 'ery': nhash.h:126:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ery(a0, a1, ptr) ^ nhash.h: In function 'fy': nhash.h:139:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] fy(a0, a1, ptr) ^ nhash.h: In function 'gy': nhash.h:152:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] gy(a0, a1, ptr) ^ nhash.h: In function 'ity': nhash.h:165:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ity(a0, a1, ptr) ^ nhash.h: In function 'ly': nhash.h:178:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ly(a0, a1, ptr) ^ nhash.h: In function 'ory': nhash.h:191:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ory(a0, a1, ptr) ^ nhash.h: In function 'ry': nhash.h:204:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ry(a0, a1, ptr) ^ nhash.h: In function 'ty': nhash.h:217:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ty(a0, a1, ptr) ^ nhash.h: At top level: nhash.h:243:1: warning: return type defaults to 'int' [-Wimplicit-int] ygetd() ^ In file included from nwords.l:35:0: abbrev.h: In function 'abbrev': abbrev.h:17:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] abbrev(a0, a1, ptr) ^ abbrev.h: At top level: abbrev.h:25:1: warning: return type defaults to 'int' [-Wimplicit-int] getab() ^ nwords.l: In function 'yylex': nwords.l:84:3: warning: implicit declaration of function 'pos' [-Wimplicit-function-declaration] pos(1); ^ nwords.l:168:7: warning: implicit declaration of function 'ahead' [-Wimplicit-function-declaration] if(ahead() == 0)dot=1; ^ nwords.l:319:14: warning: implicit declaration of function 'look' [-Wimplicit-function-declaration] case 'c': look(cy,yyleng-2,NOUN); ^ nwords.l: At top level: nwords.l:457:1: warning: return type defaults to 'int' [-Wimplicit-int] look(f,n,cc) ^ nwords.l:475:1: warning: return type defaults to 'int' [-Wimplicit-int] pos(flg){ ^ nwords.l: In function 'pos': nwords.l:475:1: warning: type of 'flg' defaults to 'int' [-Wimplicit-int] nwords.l: At top level: nwords.l:493:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ nwords.l:520:1: warning: return type defaults to 'int' [-Wimplicit-int] ahead(){ ^ rm -f lex.yy.c gcc -O -s nwords.o -o style1 -lfl lex end.l gcc -O -c -o end.o lex.yy.c In file included from end.l:28:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] egetd() ^ ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] able(a0, a1, ptr) ^ ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ace(a0, a1, ptr) ^ ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] age(a0, a1, ptr) ^ ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ance(a0, a1, ptr) ^ ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ant(a0, a1, ptr) ^ ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cal(a0, a1, ptr) ^ ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] cle(a0, a1, ptr) ^ ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ee(a0, a1, ptr) ^ ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ence(a0, a1, ptr) ^ ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ess(a0, a1, ptr) ^ ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] est(a0, a1, ptr) ^ ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ful(a0, a1, ptr) ^ ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ible(a0, a1, ptr) ^ ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ic(a0, a1, ptr) ^ ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ice(a0, a1, ptr) ^ ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ion(a0, a1, ptr) ^ ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ional(a0, a1, ptr) ^ ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] is(a0, a1, ptr) ^ ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ish(a0, a1, ptr) ^ ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ist(a0, a1, ptr) ^ ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ite(a0, a1, ptr) ^ ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ive(a0, a1, ptr) ^ ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ize(a0, a1, ptr) ^ ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] lar(a0, a1, ptr) ^ ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] less(a0, a1, ptr) ^ ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] man(a0, a1, ptr) ^ ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ment(a0, a1, ptr) ^ ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ness(a0, a1, ptr) ^ ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ous(a0, a1, ptr) ^ ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ship(a0, a1, ptr) ^ ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ss(a0, a1, ptr) ^ ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ure(a0, a1, ptr) ^ ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] us(a0, a1, ptr) ^ ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ing(a0, a1, ptr) ^ ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ed(a0, a1, ptr) ^ end.l: In function 'yylex': end.l:49:2: warning: implicit declaration of function 'look' [-Wimplicit-function-declaration] look(ic,2,ADJ); ^ end.l: At top level: end.l:221:1: warning: return type defaults to 'int' [-Wimplicit-int] look(f,n,nc) ^ end.l:259:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap(){ ^ rm -f lex.yy.c gcc -O -s end.o -o style2 -lfl lex part.l part.l:141: warning, rule cannot be matched gcc -O -c -o part.o lex.yy.c In file included from part.l:25:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^ In file included from part.l:27:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^ part.l: In function 'yylex': part.l:178:7: warning: implicit declaration of function 'scan' [-Wimplicit-function-declaration] jj=scan(1,',',0); ^ part.l:197:2: warning: implicit declaration of function 'outp' [-Wimplicit-function-declaration] outp(); ^ part.l: At top level: part.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap(){ ^ part.l: In function 'wperc': part.l:331:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] wperc(a) ^ part.l: In function 'sperc': part.l:336:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] sperc(a) ^ part.l: In function 'typersent': part.l:341:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] typersent(a) ^ part.l: In function 'vperc': part.l:346:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] vperc(a) ^ part.l: At top level: part.l:351:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ part.l: In function 'main': part.l:351:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -c pscan.c In file included from pscan.c:13:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^ pscan.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] scan(si, ce, command) /*scan a phrase */ ^ pscan.c: In function 'scan': pscan.c:25:1: warning: type of 'command' defaults to 'int' [-Wimplicit-int] pscan.c:41:9: warning: implicit declaration of function 'getv' [-Wimplicit-function-declaration] verb = getv(i, ce); /*get verb if obvious*/ ^ pscan.c:43:7: warning: implicit declaration of function 'getnoun' [-Wimplicit-function-declaration] j = getnoun(i, ce); /*get subject*/ ^ pscan.c:148:8: warning: implicit declaration of function 'who' [-Wimplicit-function-declaration] i = who(i, ce); ^ pscan.c: At top level: pscan.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int] getv(si, ce) ^ pscan.c:595:1: warning: return type defaults to 'int' [-Wimplicit-int] getnoun(k, ce) ^ pscan.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] who(kk, ce) ^ gcc -O -c outp.c In file included from outp.c:13:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] extern sentno; ^ In file included from outp.c:15:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] extern comma, j, i; ^ conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] extern comma, j, i; ^ conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] extern question; ^ gcc -O -c extern.c gcc -O -s part.o pscan.o outp.o extern.o -o style3 -lfl ---- Making all in directory laserjet/devpcl ---- ---- Making all in directory laserjet/dpcl ---- gcc -O -DBSD4_2 -c dpcl.c dpcl.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] main(agc, agv) ^ dpcl.c: In function 'main': dpcl.c:154:5: warning: implicit declaration of function 'init_signals' [-Wimplicit-function-declaration] init_signals(); /* interrupt handling */ ^ dpcl.c:155:5: warning: implicit declaration of function 'options' [-Wimplicit-function-declaration] options(); /* command line options */ ^ dpcl.c:156:5: warning: implicit declaration of function 'rasterlist' [-Wimplicit-function-declaration] rasterlist(); /* grab raster file data */ ^ dpcl.c:157:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] arguments(); /* translate the input files */ ^ dpcl.c:158:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(); /* clean up */ ^ dpcl.c:159:5: warning: implicit declaration of function 'account' [-Wimplicit-function-declaration] account(); /* job accounting data */ ^ dpcl.c: At top level: dpcl.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] init_signals() ^ dpcl.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] options() ^ dpcl.c: In function 'options': dpcl.c:210:19: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ( (ch = getopt(argc, argv, names)) != EOF ) { ^ dpcl.c:226:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] out_list(optarg); ^ dpcl.c:258:4: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error(FATAL, "can't open accounting file %s", optarg); ^ dpcl.c: At top level: dpcl.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] setup() ^ dpcl.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] arguments() ^ dpcl.c: In function 'arguments': dpcl.c:343:2: warning: implicit declaration of function 'conv' [-Wimplicit-function-declaration] conv(stdin); ^ dpcl.c: At top level: dpcl.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] done() ^ dpcl.c: In function 'done': dpcl.c:375:2: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(temp_file); ^ dpcl.c: At top level: dpcl.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] account() ^ dpcl.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] conv(fp) ^ dpcl.c: In function 'conv': dpcl.c:416:5: warning: implicit declaration of function 'redirect' [-Wimplicit-function-declaration] redirect(-1); /* only do output after a page command */ ^ dpcl.c:442:12: warning: implicit declaration of function 'chindex' [-Wimplicit-function-declaration] put1(chindex(str)); ^ dpcl.c:447:7: warning: implicit declaration of function 'oput' [-Wimplicit-function-declaration] oput(m); ^ dpcl.c:452:4: warning: implicit declaration of function 't_sf' [-Wimplicit-function-declaration] t_sf(); ^ dpcl.c:456:5: warning: implicit declaration of function 'drawline' [-Wimplicit-function-declaration] drawline(n, m); ^ dpcl.c:467:8: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] drawcirc(n); ^ dpcl.c:472:8: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] drawellip(m, n); ^ dpcl.c:477:8: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] drawarc(n, m, n1, m1); ^ dpcl.c:483:8: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] drawwig(buf); /* WRONG!! */ ^ dpcl.c:502:7: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] setsize(t_size(n)); ^ dpcl.c:502:15: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] setsize(t_size(n)); ^ dpcl.c:507:7: warning: implicit declaration of function 'setfont' [-Wimplicit-function-declaration] setfont(t_font(str)); ^ dpcl.c:507:15: warning: implicit declaration of function 't_font' [-Wimplicit-function-declaration] setfont(t_font(str)); ^ dpcl.c:535:7: warning: implicit declaration of function 't_page' [-Wimplicit-function-declaration] t_page(n); ^ dpcl.c:550:7: warning: implicit declaration of function 'devcntrl' [-Wimplicit-function-declaration] devcntrl(fp); ^ dpcl.c: At top level: dpcl.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] devcntrl(fp) ^ dpcl.c: In function 'devcntrl': dpcl.c:585:3: warning: implicit declaration of function 't_init' [-Wimplicit-function-declaration] t_init(); ^ dpcl.c:608:3: warning: implicit declaration of function 'loadfont' [-Wimplicit-function-declaration] loadfont(n, str, str1); ^ dpcl.c: At top level: dpcl.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] loadfont(m, f, dir) ^ dpcl.c: In function 'loadfont': dpcl.c:649:10: warning: implicit declaration of function 'mountfont' [-Wimplicit-function-declaration] if ( mountfont(path, m) == -1 ) { ^ dpcl.c: At top level: dpcl.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] loadspecial() ^ dpcl.c:720:1: warning: return type defaults to 'int' [-Wimplicit-int] t_init() ^ dpcl.c: In function 't_init': dpcl.c:736:7: warning: implicit declaration of function 'getdesc' [-Wimplicit-function-declaration] if ( getdesc(path) == -1 ) ^ dpcl.c: At top level: dpcl.c:754:1: warning: return type defaults to 'int' [-Wimplicit-int] t_page(pg) ^ dpcl.c:785:1: warning: return type defaults to 'int' [-Wimplicit-int] t_size(n) ^ dpcl.c:814:1: warning: return type defaults to 'int' [-Wimplicit-int] t_font(s) ^ dpcl.c:847:1: warning: return type defaults to 'int' [-Wimplicit-int] t_hmove() ^ dpcl.c:869:1: warning: return type defaults to 'int' [-Wimplicit-int] t_vmove() ^ dpcl.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(n) ^ dpcl.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(m) ^ dpcl.c:931:1: warning: return type defaults to 'int' [-Wimplicit-int] t_sf() ^ dpcl.c: In function 't_sf': dpcl.c:941:26: warning: implicit declaration of function 'mounted' [-Wimplicit-function-declaration] if ( tf == stdout && mounted(font) ) { ^ dpcl.c:942:2: warning: implicit declaration of function 'getrastdata' [-Wimplicit-function-declaration] getrastdata(dwb_mount[font]->name, pstab[size-1]); ^ dpcl.c:943:2: warning: implicit declaration of function 'setfamily' [-Wimplicit-function-declaration] setfamily(); ^ dpcl.c: In function 'put1': dpcl.c:976:15: warning: implicit declaration of function 'onfont' [-Wimplicit-function-declaration] if ( (i = onfont(lastc, k)) == -1 && smnt > 0 ) ^ dpcl.c: At top level: dpcl.c:996:1: warning: return type defaults to 'int' [-Wimplicit-int] oput(c) ^ dpcl.c: In function 'oput': dpcl.c:1019:2: warning: implicit declaration of function 'download' [-Wimplicit-function-declaration] download(c); ^ dpcl.c: At top level: dpcl.c:1028:1: warning: return type defaults to 'int' [-Wimplicit-int] redirect(pg) ^ dpcl.c: In function 'redirect': dpcl.c:1043:21: warning: implicit declaration of function 'in_olist' [-Wimplicit-function-declaration] if ( pg >= 0 && in_olist(pg) == ON ) ^ gcc -O -DBSD4_2 -c draw.c draw.c: In function 'drawline': draw.c:37:2: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^ draw.c:37:10: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] setsize(t_size(pstab[osize-1] / drawsize)); ^ draw.c:48:4: warning: implicit declaration of function 'put1' [-Wimplicit-function-declaration] put1(drawdot); ^ draw.c: At top level: draw.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] drawwig(s) /* draw wiggly line */ ^ draw.c: In function 'drawwig': draw.c:117:10: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] x[N] = atoi(temp); ^ draw.c:131:14: warning: implicit declaration of function 'dist' [-Wimplicit-function-declaration] numdots = (dist(x[i],y[i], x[i+1],y[i+1]) + dist(x[i+1],y[i+1], x[i+2],y[i+2])) / 2; ^ draw.c: At top level: draw.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] drawcirc(d) ^ draw.c: In function 'drawcirc': draw.c:170:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:176:2: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] conicarc(hpos + d/2, -vpos, hpos, -vpos, hpos, -vpos, d/2, d/2); ^ draw.c: At top level: draw.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] dist(x1, y1, x2, y2) /* integer distance from x1,y1 to x2,y2 */ ^ draw.c: In function 'dist': draw.c:181:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] drawarc(dx1, dy1, dx2, dy2) ^ draw.c: In function 'drawarc': draw.c:190:1: warning: type of 'dx1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dx2' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] drawellip(a, b) ^ draw.c: In function 'drawellip': draw.c:202:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:202:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] conicarc(x, y, x0, y0, x1, y1, a, b) ^ draw.c: In function 'conicarc': draw.c:215:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c:366:4: warning: implicit declaration of function 'putdot' [-Wimplicit-function-declaration] putdot((int)xc, (int)yc); ^ draw.c: At top level: draw.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] putdot(x, y) ^ draw.c: In function 'putdot': draw.c:423:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:423:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -O -DBSD4_2 -c font.c font.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] getdesc(path) ^ font.c: In function 'getdesc': font.c:74:3: warning: implicit declaration of function 'chadd' [-Wimplicit-function-declaration] chadd(buf); ^ font.c: At top level: font.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] getfont(path, fpos) ^ font.c: In function 'getfont': font.c:122:2: warning: implicit declaration of function 'freefonts' [-Wimplicit-function-declaration] freefonts(); ^ font.c:130:6: warning: implicit declaration of function 'release' [-Wimplicit-function-declaration] release(fpos->name); ^ font.c:142:13: warning: implicit declaration of function 'chindex' [-Wimplicit-function-declaration] if ( (n = chindex(ch)) == -1 ) ^ font.c: At top level: font.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] mountfont(path, m) ^ font.c: In function 'mountfont': font.c:234:34: warning: implicit declaration of function 'findfont' [-Wimplicit-function-declaration] dwb_mount[m] = fpos = &fonts[findfont(path)]; ^ font.c: At top level: font.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] freefonts() ^ font.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] findfont(path) ^ font.c: In function 'findfont': font.c:272:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ font.c:281:15: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] for ( n = hash(path, MAXFONTS+2); fonts[n].state != NEWFONT; n = (n+1) % (MAXFONTS+2) ) ^ font.c: At top level: font.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] mounted(m) ^ font.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] onfont(c, m) ^ font.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] chwidth(n, m) ^ font.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] chcode(n, m) ^ font.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] chindex(s) ^ font.c: In function 'chindex': font.c:392:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] chadd(s) ^ font.c: In function 'chadd': font.c:416:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c:426:2: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error(FATAL, "out of table space adding character %s", s); ^ font.c: At top level: font.c:457:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(s, l) ^ font.c: In function 'hash': font.c:464:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ font.c: At top level: font.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] release(ptr) ^ font.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpmount(m) ^ font.c: In function 'dumpmount': font.c:563:2: warning: implicit declaration of function 'dumpfont' [-Wimplicit-function-declaration] dumpfont((dwb_mount[m] - &fonts[0])); ^ font.c: At top level: font.c:570:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpfont(n) ^ gcc -O -DBSD4_2 -c glob.c gcc -O -DBSD4_2 -c misc.c misc.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] out_list(str) ^ misc.c: In function 'out_list': misc.c:36:17: warning: implicit declaration of function 'str_convert' [-Wimplicit-function-declaration] start = stop = str_convert(&str, 0); ^ misc.c:42:6: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error(FATAL, "illegal range %d-%d", start, stop); ^ misc.c: At top level: misc.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] in_olist(num) ^ misc.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] cat(file) ^ misc.c: In function 'cat': misc.c:107:22: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] while ( (count = read(fd_in, buf, sizeof(buf))) > 0 ) ^ misc.c:108:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(fd_out, buf, count); ^ misc.c:110:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd_in); ^ misc.c: At top level: misc.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] putint(n, fp) ^ misc.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] getint(fp) ^ misc.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] str_convert(str, err) ^ misc.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] error(kind, mesg, a1, a2, a3) ^ misc.c: In function 'error': misc.c:222:6: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(temp_file); ^ gcc -O -DBSD4_2 -c rast.c rast.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] getfamdata(f, s) ^ rast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] getrastdata(f, s) ^ rast.c: In function 'getrastdata': rast.c:87:9: warning: implicit declaration of function 'mapsize' [-Wimplicit-function-declaration] s = mapsize(f, s); /* best available size */ ^ rast.c:94:6: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error(FATAL, "job uses too many raster files"); ^ rast.c:105:2: warning: implicit declaration of function 'readrastfile' [-Wimplicit-function-declaration] readrastfile(f, s); ^ rast.c:108:2: warning: implicit declaration of function 'getoffsets' [-Wimplicit-function-declaration] getoffsets(fam); ^ rast.c: At top level: rast.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] readrastfile(f, s) ^ rast.c: In function 'readrastfile': rast.c:148:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if ( access(name, 04) != 0 ) { /* rotate the portrait mode file */ ^ rast.c:150:6: warning: implicit declaration of function 'rotate' [-Wimplicit-function-declaration] rotate(name); ^ rast.c:155:16: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration] if ( (fd = open(name, 0)) == -1 ) ^ rast.c:164:10: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if ( read(fd, p, buf.st_size) != buf.st_size ) ^ rast.c:174:10: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if ( write(fileno(tf), p, size) != size ) ^ rast.c:181:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ rast.c: At top level: rast.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] getoffsets(f) ^ rast.c: In function 'rastalloc': rast.c:243:7: warning: implicit declaration of function 'freerast' [-Wimplicit-function-declaration] if ( freerast(1) == 0 ) ^ rast.c: At top level: rast.c:251:1: warning: return type defaults to 'int' [-Wimplicit-int] freerast(count) ^ rast.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] rasterlist() ^ rast.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] setfamily() ^ rast.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] mapsize(f, s) ^ rast.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] checkbit(p, n) ^ rast.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int] setbit(p, n) ^ rast.c:443:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpbitmap(bptr, height, width, rwid) ^ gcc -O -DBSD4_2 -c rotate.c rotate.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] rotate(name) ^ rotate.c: In function 'rotate': rotate.c:53:6: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error(FATAL, "can't generate temporary file name"); ^ rotate.c:78:13: warning: implicit declaration of function 'getint' [-Wimplicit-function-declaration] oloffset = getint(fp_in); /* need the rest of the header */ ^ rotate.c:112:8: warning: implicit declaration of function 'checkbit' [-Wimplicit-function-declaration] if ( checkbit(obptr, orwid * j * BYTE + i) ) { ^ rotate.c:115:7: warning: implicit declaration of function 'setbit' [-Wimplicit-function-declaration] setbit(bptr, rwid * y * BYTE + x); ^ rotate.c:130:2: warning: implicit declaration of function 'putint' [-Wimplicit-function-declaration] putint(-otoffset, fp_out); ^ gcc -O -DBSD4_2 -c tempnam.c gcc -O -DBSD4_2 -s -o dpcl dpcl.o draw.o font.o glob.o misc.o rast.o rotate.o tempnam.o -lm rotate.o: In function `rotate': (.text+0x4c): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory laserjet/rastpcl ---- ---- Making all in directory macros/man ---- ---- Making all in directory macros/mcolor ---- ---- Making all in directory macros/mcs ---- ---- Making all in directory macros/mm ---- ---- Making all in directory macros/mpictures ---- ---- Making all in directory macros/mps ---- ---- Making all in directory macros/ms ---- ---- Making all in directory macros/msafe ---- ---- Making all in directory macros/mv ---- ---- Making all in directory macros/mview ---- ---- Making all in directory misc/checkdoc ---- gcc -O -s -o checkdoc checkdoc.c checkdoc.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ checkdoc.c: In function 'main': checkdoc.c:318:6: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fp); ^ checkdoc.c: At top level: checkdoc.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg) /* Display an error message */ ^ checkdoc.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] warning(msg) /* Display a warning message */ ^ checkdoc.c: In function 'tbl_ck': checkdoc.c:1986:12: warning: implicit declaration of function 'findcol' [-Wimplicit-function-declaration] nr_cols=findcol(&p); ^ checkdoc.c: At top level: checkdoc.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] findcol(nextp) ^ checkdoc.c: In function 'findcol': checkdoc.c:2125:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ checkdoc.c: At top level: checkdoc.c:2883:1: warning: return type defaults to 'int' [-Wimplicit-int] str_nr_test(p) ^ ---- Making all in directory misc/col ---- gcc -O -s -o col col.c col.c:32:14: error: macro "strcpy" requires 2 arguments, but only 1 given char *strcpy(); ^ col.c:32:7: error: 'strcpy' redeclared as different kind of symbol char *strcpy(); ^ In file included from col.c:13:0: /usr/include/string.h:58:7: note: previous declaration of 'strcpy' was here char *strcpy(char * __restrict, const char * __restrict); ^ col.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ col.c: In function 'main': col.c:90:6: warning: implicit declaration of function 'outc' [-Wimplicit-function-declaration] outc(ESC); ^ col.c:106:4: warning: implicit declaration of function 'incr' [-Wimplicit-function-declaration] incr(); ^ col.c:118:5: warning: implicit declaration of function 'decr' [-Wimplicit-function-declaration] decr(); ^ col.c:208:4: warning: implicit declaration of function 'emit' [-Wimplicit-function-declaration] emit (page[(mustwr+i) % PL], mustwr+i-PL); ^ col.c: At top level: col.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] outc (c) ^ col.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] store (lno) ^ col.c: In function 'store': col.c:294:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] fetch(lno) ^ col.c: In function 'fetch': col.c:307:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] emit (s, lineno) ^ col.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] incr() ^ col.c:400:1: warning: return type defaults to 'int' [-Wimplicit-int] decr() ^ *** Error code 1 Stop. make[2]: stopped in /tmp/pkgbuild/textproc/DWB/work.alpha/DWB3.3-20150517/misc/col *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/textproc/DWB/work.alpha/DWB3.3-20150517/misc *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/textproc/DWB/work.alpha/DWB3.3-20150517 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/textproc/DWB *** Error code 1 Stop. make: stopped in /usr/pkgsrc/textproc/DWB