=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ratfor", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ratfor-1.0nb1 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -DF77 -DS_CHAR="char" rat4.c -orat4.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -DF77 -DS_CHAR="char" lookup.c -olookup.o lookup.c:16:1: error: return type defaults to 'int' [-Wimplicit-int] 16 | hash(s) | ^~~~ lookup.c: In function 'hash': lookup.c:16:1: warning: old-style function definition [-Wold-style-definition] lookup.c: In function 'lookup': lookup.c:31:2: warning: old-style function definition [-Wold-style-definition] 31 | *lookup(s) | ^~~~~~ rat4.c:184:1: error: return type defaults to 'int' [-Wimplicit-int] 184 | main(argc,argv) | ^~~~ rat4.c: In function 'main': rat4.c:184:1: warning: old-style function definition [-Wold-style-definition] lookup.c: In function 'install': lookup.c:47:2: warning: old-style function definition [-Wold-style-definition] 47 | *install(name,def) | ^~~~~~~ lookup.c:52:31: error: prototype for 'lookup' declares fewer arguments than previous old-style definition 52 | struct hashlist *np, *lookup(); | ^~~~~~ lookup.c:31:2: note: previous definition of 'lookup' with type 'struct hashlist *()' 31 | *lookup(s) | ^~~~~~ lookup.c:55:19: error: too many arguments to function 'lookup'; expected 0, have 1 55 | if ((np = lookup(name)) == NULL) { /* not found.. */ | ^~~~~~ ~~~~ lookup.c:52:31: note: declared here 52 | struct hashlist *np, *lookup(); | ^~~~~~ lookup.c:59:33: error: too many arguments to function 'strsave'; expected 0, have 1 59 | if ((np->name = strsave(name)) == NULL) | ^~~~~~~ ~~~~ lookup.c:53:17: note: declared here 53 | S_CHAR *strsave(); | ^~~~~~~ lookup.c:66:24: error: too many arguments to function 'strsave'; expected 0, have 1 66 | if ((np->def = strsave(def)) == NULL) | ^~~~~~~ ~~~ lookup.c:53:17: note: declared here 53 | S_CHAR *strsave(); | ^~~~~~~ lookup.c: In function 'strsave': lookup.c:53:17: warning: old-style function definition [-Wold-style-definition] lookup.c:78:1: error: number of arguments doesn't match prototype 78 | { | ^ lookup.c:53:17: error: prototype declaration 53 | S_CHAR *strsave(); | ^~~~~~~ rat4.c:194:19: error: implicit declaration of function 'our_getopt'; did you mean 'getopt'? [-Wimplicit-function-declaration] 194 | while ((c=our_getopt(argc, argv, "Chn:o:6:")) != EOF) | ^~~~~~~~~~ | getopt rat4.c:207:33: error: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 207 | error("can't write %s\n", optarg); | ^~~~~ | perror rat4.c:230:9: error: implicit declaration of function 'initvars' [-Wimplicit-function-declaration] 230 | initvars(); | ^~~~~~~~ rat4.c:232:9: error: implicit declaration of function 'parse' [-Wimplicit-function-declaration] 232 | parse(); /* call parser.. */ | ^~~~~ rat4.c: At top level: rat4.c:240:1: error: return type defaults to 'int' [-Wimplicit-int] 240 | initvars() | ^~~~~~~~ rat4.c: In function 'initvars': rat4.c:255:9: error: implicit declaration of function 'install' [-Wimplicit-function-declaration] 255 | install(def, deftyp); /* default definitions */ | ^~~~~~~ rat4.c: At top level: rat4.c:266:1: error: return type defaults to 'int' [-Wimplicit-int] 266 | parse() | ^~~~~ rat4.c: In function 'parse': rat4.c:273:22: error: implicit declaration of function 'lex' [-Wimplicit-function-declaration] 273 | for (token = lex(lexstr); token != EOF; token = lex(lexstr)) { | ^~~ rat4.c:275:25: error: implicit declaration of function 'ifcode' [-Wimplicit-function-declaration] 275 | ifcode(&lab); | ^~~~~~ rat4.c:277:25: error: implicit declaration of function 'docode' [-Wimplicit-function-declaration] 277 | docode(&lab); | ^~~~~~ rat4.c:279:25: error: implicit declaration of function 'whilec' [-Wimplicit-function-declaration] 279 | whilec(&lab); | ^~~~~~ rat4.c:283:25: error: implicit declaration of function 'repcod' [-Wimplicit-function-declaration] 283 | repcod(&lab); | ^~~~~~ rat4.c:285:25: error: implicit declaration of function 'swcode' [-Wimplicit-function-declaration] 285 | swcode(&lab); | ^~~~~~ rat4.c:291:33: error: implicit declaration of function 'synerr'; did you mean 'stderr'? [-Wimplicit-function-declaration] 291 | synerr("illegal case of default."); | ^~~~~~ | stderr rat4.c:296:25: error: implicit declaration of function 'labelc' [-Wimplicit-function-declaration] 296 | labelc(lexstr); | ^~~~~~ rat4.c:299:33: error: implicit declaration of function 'elseif' [-Wimplicit-function-declaration] 299 | elseif(labval[sp]); | ^~~~~~ rat4.c:309:33: error: implicit declaration of function 'baderr'; did you mean 'stderr'? [-Wimplicit-function-declaration] 309 | baderr("stack overflow in parser."); | ^~~~~~ | stderr rat4.c:321:41: error: implicit declaration of function 'swend' [-Wimplicit-function-declaration] 321 | swend(labval[sp]); | ^~~~~ rat4.c:328:33: error: implicit declaration of function 'otherc' [-Wimplicit-function-declaration] 328 | otherc(lexstr); | ^~~~~~ rat4.c:332:33: error: implicit declaration of function 'retcod'; did you mean 'getcwd'? [-Wimplicit-function-declaration] 332 | retcod(); | ^~~~~~ | getcwd rat4.c:334:33: error: implicit declaration of function 'strdcl'; did you mean 'strdup'? [-Wimplicit-function-declaration] 334 | strdcl(); | ^~~~~~ | strdup gmake: *** [Makefile:40: lookup.o] Error 1 gmake: *** Waiting for unfinished jobs.... rat4.c:336:25: error: implicit declaration of function 'pbstr' [-Wimplicit-function-declaration] 336 | pbstr(lexstr); | ^~~~~ rat4.c:337:25: error: implicit declaration of function 'unstak' [-Wimplicit-function-declaration] 337 | unstak(&sp, lextyp, labval, token); | ^~~~~~ rat4.c: In function 'alldig': rat4.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | alldig(str) | ^~~~~~ rat4.c:362:21: error: implicit declaration of function 'type' [-Wimplicit-function-declaration] 362 | if (type(str[i]) != DIGIT) | ^~~~ rat4.c: In function 'balpar': rat4.c:378:13: error: implicit declaration of function 'gnbtok' [-Wimplicit-function-declaration] 378 | if (gnbtok(token, MAXTOK) != LPAREN) { | ^~~~~~ rat4.c:382:9: error: implicit declaration of function 'outstr' [-Wimplicit-function-declaration] 382 | outstr(token); | ^~~~~~ rat4.c:385:21: error: implicit declaration of function 'gettok' [-Wimplicit-function-declaration] 385 | t = gettok(token, MAXTOK); | ^~~~~~ rat4.c: In function 'deftok': rat4.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | deftok(token, toksiz, fd) | ^~~~~~ rat4.c:417:16: error: implicit declaration of function 'gtok' [-Wimplicit-function-declaration] 417 | for (t=gtok(token, toksiz, fd); t!=EOF; t=gtok(token, toksiz, fd)) { | ^~~~ rat4.c:420:21: error: implicit declaration of function 'look' [-Wimplicit-function-declaration] 420 | if (look(token, defn) == NO) /* undefined */ | ^~~~ rat4.c:423:25: error: implicit declaration of function 'getdef' [-Wimplicit-function-declaration] 423 | getdef(token, toksiz, defn, MAXDEF, fd); | ^~~~~~ rat4.c:430:17: error: implicit declaration of function 'fold' [-Wimplicit-function-declaration] 430 | fold(token); | ^~~~ rat4.c: At top level: rat4.c:439:1: error: return type defaults to 'int' [-Wimplicit-int] 439 | eatup() | ^~~~~ rat4.c:485:1: error: return type defaults to 'int' [-Wimplicit-int] 485 | getdef(token, toksiz, defn, defsiz, fd) | ^~~~~~ rat4.c: In function 'getdef': rat4.c:485:1: warning: old-style function definition [-Wold-style-definition] rat4.c:495:9: error: implicit declaration of function 'skpblk' [-Wimplicit-function-declaration] 495 | skpblk(fd); | ^~~~~~ rat4.c:514:29: error: too many arguments to function 'ngetch'; expected 0, have 2 514 | c = ngetch(&c, fd); | ^~~~~~ ~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:521:25: error: implicit declaration of function 'putbak' [-Wimplicit-function-declaration] 521 | putbak(c); | ^~~~~~ rat4.c:531:34: error: too many arguments to function 'ngetch'; expected 0, have 2 531 | else if (ngetch(&defn[i], fd) == (S_CHAR)EOF) | ^~~~~~ ~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c: In function 'gettok': rat4.c:549:1: warning: old-style function definition [-Wold-style-definition] 549 | gettok(token, toksiz) | ^~~~~~ rat4.c:560:33: error: implicit declaration of function 'equal' [-Wimplicit-function-declaration] 560 | if (equal(token, fncn) == YES) { | ^~~~~ rat4.c:604:49: error: implicit declaration of function 'scopy'; did you mean 'uucopy'? [-Wimplicit-function-declaration] 604 | scopy(name, 0, fnames, fnamp); | ^~~~~ | uucopy rat4.c: In function 'gnbtok': rat4.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | gnbtok(token, toksiz) | ^~~~~~ rat4.c: In function 'gtok': rat4.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | gtok(lexstr, toksiz, fd) | ^~~~ rat4.c:650:13: error: too many arguments to function 'ngetch'; expected 0, have 2 650 | c = ngetch(&lexstr[0], fd); | ^~~~~~ ~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:654:29: error: too many arguments to function 'ngetch'; expected 0, have 2 654 | c = ngetch(&c, fd); | ^~~~~~ ~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:657:27: error: implicit declaration of function 'outasis' [-Wimplicit-function-declaration] 657 | outasis(fd); /* copy direct to output if % */ | ^~~~~~~ rat4.c:663:27: error: implicit declaration of function 'outcmnt'; did you mean 'outcon'? [-Wimplicit-function-declaration] 663 | outcmnt(fd); /* copy comments to output */ | ^~~~~~~ | outcon rat4.c:667:34: error: too many arguments to function 'ngetch'; expected 0, have 2 667 | while (ngetch(&c, fd) != NEWLINE) /* strip comments */ | ^~~~~~ ~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:692:36: error: too many arguments to function 'ngetch'; expected 0, have 2 692 | tok = type(ngetch(&lexstr[i+1], fd)); | ^~~~~~ ~~~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:705:34: error: too many arguments to function 'ngetch'; expected 0, have 2 705 | if (type(ngetch(&lexstr[i+1], fd)) != DIGIT) | ^~~~~~ ~~~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:712:37: error: too many arguments to function 'ngetch'; expected 0, have 2 712 | c = ngetch(&lexstr[0], fd); | ^~~~~~ ~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:721:29: error: implicit declaration of function 'itoc' [-Wimplicit-function-declaration] 721 | i = itoc(n, lexstr, toksiz); | ^~~~ rat4.c:738:29: error: too many arguments to function 'ngetch'; expected 0, have 2 738 | for (i = 1; ngetch(&lexstr[i], fd) != lexstr[0]; i++) { | ^~~~~~ ~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:740:37: error: too many arguments to function 'ngetch'; expected 0, have 2 740 | if (ngetch(&c, fd) == NEWLINE) { | ^~~~~~ ~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:742:53: error: too many arguments to function 'ngetch'; expected 0, have 2 742 | c = ngetch(&c, fd); | ^~~~~~ ~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:763:26: error: too many arguments to function 'ngetch'; expected 0, have 2 763 | while (ngetch(&lexstr[0], fd) != NEWLINE) /* strip comments */ | ^~~~~~ ~~~~~~~~~~ rat4.c:175:15: note: declared here 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c:770:21: error: implicit declaration of function 'relate'; did you mean 'rename'? [-Wimplicit-function-declaration] 770 | i = relate(lexstr, fd); | ^~~~~~ | rename rat4.c: In function 'lex': rat4.c:790:1: warning: old-style function definition [-Wold-style-definition] 790 | lex(lexstr) | ^~~ rat4.c: In function 'ngetch': rat4.c:841:1: warning: old-style function definition [-Wold-style-definition] 841 | ngetch(c, fd) | ^~~~~~ rat4.c:844:1: error: number of arguments doesn't match prototype 844 | { | ^ rat4.c:175:15: error: prototype declaration 175 | extern S_CHAR ngetch(); | ^~~~~~ rat4.c: At top level: rat4.c:893:1: error: return type defaults to 'int' [-Wimplicit-int] 893 | pbstr(in) | ^~~~~ rat4.c: In function 'pbstr': rat4.c:893:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:906:1: error: return type defaults to 'int' [-Wimplicit-int] 906 | putbak(c) | ^~~~~~ rat4.c: In function 'putbak': rat4.c:906:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'relate': rat4.c:922:1: warning: old-style function definition [-Wold-style-definition] 922 | relate(token, fd) | ^~~~~~ rat4.c:927:13: error: too many arguments to function 'ngetch'; expected 0, have 2 927 | if (ngetch(&token[1], fd) != EQUALS) { | ^~~~~~ ~~~~~~~~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c:957:15: error: too many arguments to function 'ngetch'; expected 0, have 2 957 | if (ngetch(&token[1], fd) != AND) | ^~~~~~ ~~~~~~~~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c:965:15: error: too many arguments to function 'ngetch'; expected 0, have 2 965 | if (ngetch(&token[1], fd) != OR) /* look for || or | */ | ^~~~~~ ~~~~~~~~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c: At top level: rat4.c:980:1: error: return type defaults to 'int' [-Wimplicit-int] 980 | skpblk(fd) | ^~~~~~ rat4.c: In function 'skpblk': rat4.c:980:1: warning: old-style function definition [-Wold-style-definition] rat4.c:985:18: error: too many arguments to function 'ngetch'; expected 0, have 2 985 | for (c = ngetch(&c, fd); c == BLANK || c == TAB; c = ngetch(&c, fd)) | ^~~~~~ ~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c:985:62: error: too many arguments to function 'ngetch'; expected 0, have 2 985 | for (c = ngetch(&c, fd); c == BLANK || c == TAB; c = ngetch(&c, fd)) | ^~~~~~ ~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c: In function 'type': rat4.c:996:1: warning: old-style function definition [-Wold-style-definition] 996 | type(c) | ^~~~ rat4.c: In function 'brknxt': rat4.c:1028:21: error: implicit declaration of function 'ctoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] 1028 | n = ctoi(ptoken, &i) - 1; | ^~~~ | atoi rat4.c: At top level: rat4.c:1060:1: error: return type defaults to 'int' [-Wimplicit-int] 1060 | docode(lab) | ^~~~~~ rat4.c: In function 'docode': rat4.c:1060:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1064:9: error: implicit declaration of function 'outtab' [-Wimplicit-function-declaration] 1064 | outtab(); | ^~~~~~ rat4.c:1066:16: error: implicit declaration of function 'labgen' [-Wimplicit-function-declaration] 1066 | *lab = labgen(2); | ^~~~~~ rat4.c:1067:9: error: implicit declaration of function 'outnum' [-Wimplicit-function-declaration] 1067 | outnum(*lab); | ^~~~~~ rat4.c:1069:9: error: implicit declaration of function 'outdon'; did you mean 'outcon'? [-Wimplicit-function-declaration] 1069 | outdon(); | ^~~~~~ | outcon rat4.c: At top level: rat4.c:1076:1: error: return type defaults to 'int' [-Wimplicit-int] 1076 | dostat(lab) | ^~~~~~ rat4.c: In function 'dostat': rat4.c:1076:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1087:1: error: return type defaults to 'int' [-Wimplicit-int] 1087 | elseif(lab) | ^~~~~~ rat4.c: In function 'elseif': rat4.c:1087:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'forcod': rat4.c:1130:17: error: implicit declaration of function 'outch' [-Wimplicit-function-declaration] 1130 | outch(LPAREN); | ^~~~~ rat4.c: At top level: rat4.c:1187:1: error: return type defaults to 'int' [-Wimplicit-int] 1187 | fors(lab) | ^~~~ rat4.c: In function 'fors': rat4.c:1187:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1211:1: error: return type defaults to 'int' [-Wimplicit-int] 1211 | ifcode(lab) | ^~~~~~ rat4.c: In function 'ifcode': rat4.c:1211:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1218:9: error: implicit declaration of function 'ifthen' [-Wimplicit-function-declaration] 1218 | ifthen(); | ^~~~~~ rat4.c: At top level: rat4.c:1229:1: error: return type defaults to 'int' [-Wimplicit-int] 1229 | ifend() | ^~~~~ rat4.c:1241:1: error: return type defaults to 'int' [-Wimplicit-int] 1241 | ifgo(lab) | ^~~~ rat4.c: In function 'ifgo': rat4.c:1241:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1257:1: error: return type defaults to 'int' [-Wimplicit-int] 1257 | ifthen() | ^~~~~~ rat4.c:1271:1: error: return type defaults to 'int' [-Wimplicit-int] 1271 | labelc(lexstr) | ^~~~~~ rat4.c: In function 'labelc': rat4.c:1271:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'labgen': rat4.c:1288:1: warning: old-style function definition [-Wold-style-definition] 1288 | labgen(n) | ^~~~~~ rat4.c: At top level: rat4.c:1302:1: error: return type defaults to 'int' [-Wimplicit-int] 1302 | otherc(lexstr) | ^~~~~~ rat4.c: In function 'otherc': rat4.c:1302:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1316:1: error: return type defaults to 'int' [-Wimplicit-int] 1316 | outch(c) | ^~~~~ rat4.c: In function 'outch': rat4.c:1316:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1352:1: error: return type defaults to 'int' [-Wimplicit-int] 1352 | outdon() | ^~~~~~ rat4.c:1365:1: error: return type defaults to 'int' [-Wimplicit-int] 1365 | outcmnt(fd) | ^~~~~~~ rat4.c: In function 'outcmnt': rat4.c:1365:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1374:18: error: too many arguments to function 'ngetch'; expected 0, have 2 1374 | while((c=ngetch(&c,fd)) != NEWLINE) { | ^~~~~~ ~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c: At top level: rat4.c:1395:1: error: return type defaults to 'int' [-Wimplicit-int] 1395 | outasis(fd) | ^~~~~~~ rat4.c: In function 'outasis': rat4.c:1395:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1399:18: error: too many arguments to function 'ngetch'; expected 0, have 2 1399 | while((c=ngetch(&c,fd)) != NEWLINE) | ^~~~~~ ~~ rat4.c:841:1: note: declared here 841 | ngetch(c, fd) | ^~~~~~ rat4.c: At top level: rat4.c:1422:1: error: return type defaults to 'int' [-Wimplicit-int] 1422 | outnum(n) | ^~~~~~ rat4.c: In function 'outnum': rat4.c:1422:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1449:1: error: return type defaults to 'int' [-Wimplicit-int] 1449 | outstr(str) | ^~~~~~ rat4.c: In function 'outstr': rat4.c:1449:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1462:1: error: return type defaults to 'int' [-Wimplicit-int] 1462 | outtab() | ^~~~~~ rat4.c:1473:1: error: return type defaults to 'int' [-Wimplicit-int] 1473 | repcod(lab) | ^~~~~~ rat4.c: In function 'repcod': rat4.c:1473:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1490:1: error: return type defaults to 'int' [-Wimplicit-int] 1490 | retcod() | ^~~~~~ rat4.c:1513:1: error: return type defaults to 'int' [-Wimplicit-int] 1513 | strdcl() | ^~~~~~ rat4.c:1577:1: error: return type defaults to 'int' [-Wimplicit-int] 1577 | unstak(sp, lextyp, labval, token) | ^~~~~~ rat4.c: In function 'unstak': rat4.c:1577:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1611:25: error: implicit declaration of function 'whiles' [-Wimplicit-function-declaration] 1611 | whiles(labval[tp]); | ^~~~~~ rat4.c:1615:25: error: implicit declaration of function 'untils' [-Wimplicit-function-declaration] 1615 | untils(labval[tp], token); | ^~~~~~ rat4.c: At top level: rat4.c:1624:1: error: return type defaults to 'int' [-Wimplicit-int] 1624 | untils(lab, token) | ^~~~~~ rat4.c: In function 'untils': rat4.c:1624:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1645:1: error: return type defaults to 'int' [-Wimplicit-int] 1645 | whilec(lab) | ^~~~~~ rat4.c: In function 'whilec': rat4.c:1645:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1666:1: error: return type defaults to 'int' [-Wimplicit-int] 1666 | whiles(lab) | ^~~~~~ rat4.c: In function 'whiles': rat4.c:1666:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1684:1: error: return type defaults to 'int' [-Wimplicit-int] 1684 | baderr(msg) | ^~~~~~ rat4.c: In function 'baderr': rat4.c:1684:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1694:1: error: return type defaults to 'int' [-Wimplicit-int] 1694 | error(msg, s) | ^~~~~ rat4.c: In function 'error': rat4.c:1694:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:1705:1: error: return type defaults to 'int' [-Wimplicit-int] 1705 | synerr(msg) | ^~~~~~ rat4.c: In function 'synerr': rat4.c:1705:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'ctoi': rat4.c:1736:1: warning: old-style function definition [-Wold-style-definition] 1736 | ctoi(in, i) | ^~~~ rat4.c: At top level: rat4.c:1758:1: error: return type defaults to 'int' [-Wimplicit-int] 1758 | fold(token) | ^~~~ rat4.c: In function 'fold': rat4.c:1758:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'equal': rat4.c:1779:1: warning: old-style function definition [-Wold-style-definition] 1779 | equal(str1, str2) | ^~~~~ rat4.c: At top level: rat4.c:1795:1: error: return type defaults to 'int' [-Wimplicit-int] 1795 | scopy(from, i, to, j) | ^~~~~ rat4.c: In function 'scopy': rat4.c:1795:1: warning: old-style function definition [-Wold-style-definition] rat4.c: In function 'look': rat4.c:1817:1: warning: old-style function definition [-Wold-style-definition] 1817 | look(name,defn) | ^~~~ rat4.c:1824:18: error: too many arguments to function 'lookup'; expected 0, have 1 1824 | if ((p = lookup(name)) == NULL) | ^~~~~~ ~~~~ rat4.c:1821:33: note: declared here 1821 | extern struct hashlist *lookup(); | ^~~~~~ rat4.c: In function 'itoc': rat4.c:1834:1: warning: old-style function definition [-Wold-style-definition] 1834 | itoc(n,str,size) | ^~~~ rat4.c: In function 'cascod': rat4.c:1880:24: error: implicit declaration of function 'caslab' [-Wimplicit-function-declaration] 1880 | while (caslab (&lb, &t) != EOF) { | ^~~~~~ rat4.c: In function 'caslab': rat4.c:1932:1: warning: old-style function definition [-Wold-style-definition] 1932 | caslab (n, t) | ^~~~~~ rat4.c: At top level: rat4.c:1967:1: error: return type defaults to 'int' [-Wimplicit-int] 1967 | swcode (lab) | ^~~~~~ rat4.c: In function 'swcode': rat4.c:1967:1: warning: old-style function definition [-Wold-style-definition] rat4.c:1982:9: error: implicit declaration of function 'swvar' [-Wimplicit-function-declaration] 1982 | swvar(*lab); | ^~~~~ rat4.c: At top level: rat4.c:2000:1: error: return type defaults to 'int' [-Wimplicit-int] 2000 | swend(lab) | ^~~~~ rat4.c: In function 'swend': rat4.c:2000:1: warning: old-style function definition [-Wold-style-definition] rat4.c: At top level: rat4.c:2097:1: error: return type defaults to 'int' [-Wimplicit-int] 2097 | swvar (lab) | ^~~~~ rat4.c: In function 'swvar': rat4.c:2097:1: warning: old-style function definition [-Wold-style-definition] gmake: *** [Makefile:40: rat4.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ratfor *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ratfor