=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/abcmidi", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for abcmidi-20211015 --- parseabc.o --- --- store.o --- --- genmidi.o --- --- midifile.o --- --- queues.o --- --- parseabc.o --- gcc -DANSILIBS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -DHAVE_CONFIG_H -I. -c parseabc.c --- store.o --- gcc -DANSILIBS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -DHAVE_CONFIG_H -I. -c store.c --- genmidi.o --- gcc -DANSILIBS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -DHAVE_CONFIG_H -I. -c genmidi.c --- queues.o --- gcc -DANSILIBS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -DHAVE_CONFIG_H -I. -c queues.c --- midifile.o --- gcc -DANSILIBS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -DHAVE_CONFIG_H -I. -c midifile.c --- parseabc.o --- parseabc.c: In function 'checkmalloc': parseabc.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | checkmalloc (bytes) | ^~~~~~~~~~~ parseabc.c: In function 'addstring': parseabc.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | addstring (s) | ^~~~~~~~~ parseabc.c: In function 'concatenatestring': parseabc.c:169:8: warning: old-style function definition [-Wold-style-definition] 169 | char * concatenatestring(s1,s2) | ^~~~~~~~~~~~~~~~~ parseabc.c: In function 'initvstring': parseabc.c:185:1: warning: old-style function definition [-Wold-style-definition] 185 | initvstring (s) | ^~~~~~~~~~~ parseabc.c: In function 'extendvstring': parseabc.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | extendvstring (s) | ^~~~~~~~~~~~~ parseabc.c: In function 'addch': parseabc.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | addch (ch, s) | ^~~~~ parseabc.c: In function 'addtext': parseabc.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | addtext (text, s) | ^~~~~~~ parseabc.c: In function 'clearvstring': parseabc.c:249:1: warning: old-style function definition [-Wold-style-definition] 249 | clearvstring (s) | ^~~~~~~~~~~~ parseabc.c: In function 'freevstring': parseabc.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | freevstring (s) | ^~~~~~~~~~~ parseabc.c: In function 'handle_abc2midi_parser': parseabc.c:288:6: warning: old-style function definition [-Wold-style-definition] 288 | void handle_abc2midi_parser (line) | ^~~~~~~~~~~~~~~~~~~~~~ parseabc.c: In function 'getarg': parseabc.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | getarg (option, argc, argv) | ^~~~~~ parseabc.c: In function 'skipspace': parseabc.c:323:1: warning: old-style function definition [-Wold-style-definition] 323 | skipspace (p) | ^~~~~~~~~ parseabc.c: In function 'skiptospace': parseabc.c:332:1: warning: old-style function definition [-Wold-style-definition] 332 | skiptospace (p) | ^~~~~~~~~~~ parseabc.c: In function 'readnumf': parseabc.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | readnumf (num) | ^~~~~~~~ --- queues.o --- queues.c: In function 'addtoQ': --- parseabc.o --- parseabc.c: In function 'readsnumf': parseabc.c:366:1: warning: old-style function definition [-Wold-style-definition] 366 | readsnumf (s) | ^~~~~~~~~ parseabc.c: In function 'readnump': --- queues.o --- queues.c:90:6: warning: old-style function definition [-Wold-style-definition] 90 | void addtoQ(num, denom, pitch, chan, effect, d) | ^~~~~~ --- parseabc.o --- parseabc.c:386:1: warning: old-style function definition [-Wold-style-definition] 386 | readnump (p) | ^~~~~~~~ parseabc.c: In function 'readsnump': parseabc.c:407:1: warning: old-style function definition [-Wold-style-definition] 407 | readsnump (p) | ^~~~~~~~~ --- queues.o --- queues.c: In function 'removefromQ': queues.c:138:6: warning: old-style function definition [-Wold-style-definition] 138 | void removefromQ(i) | ^~~~~~~~~~~ queues.c: In function 'advanceQ': queues.c:195:6: warning: old-style function definition [-Wold-style-definition] 195 | void advanceQ(t) | ^~~~~~~~ --- parseabc.o --- parseabc.c: In function 'read_microtone_value': parseabc.c:614:1: warning: old-style function definition [-Wold-style-definition] 614 | read_microtone_value (a, b, p) | ^~~~~~~~~~~~~~~~~~~~ parseabc.c: In function 'ismicrotone': parseabc.c:660:1: warning: old-style function definition [-Wold-style-definition] 660 | ismicrotone (p, dir) | ^~~~~~~~~~~ --- midifile.o --- midifile.c: In function 'mfread': --- queues.o --- queues.c: In function 'note_effect': queues.c:299:6: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 299 | mf_write_midi_event(delta8,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ --- parseabc.o --- parseabc.c: In function 'readword': --- midifile.o --- midifile.c:155:5: error: too many arguments to function 'mferror'; expected 0, have 1 155 | mferror("mfread() called without setting Mf_getc"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from midifile.c:60: midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- queues.o --- In file included from queues.c:40: midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ --- parseabc.o --- parseabc.c:714:1: warning: old-style function definition [-Wold-style-definition] 714 | readword (word, s) | ^~~~~~~~ parseabc.c: In function 'lcase': parseabc.c:745:1: warning: old-style function definition [-Wold-style-definition] 745 | lcase (s) | ^~~~~ --- queues.o --- queues.c:306:3: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 306 | mf_write_midi_event(delta_time,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ --- midifile.o --- midifile.c: In function 'mfreadtrk': --- queues.o --- queues.c: In function 'note_effect2': --- midifile.o --- midifile.c:166:6: warning: old-style function definition [-Wold-style-definition] 166 | void mfreadtrk(itrack) /* The only non-static function in this file. */ | ^~~~~~~~~ --- queues.o --- queues.c:330:8: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 330 | mf_write_midi_event(0,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ queues.c:332:8: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 332 | mf_write_midi_event(delta,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ --- midifile.o --- midifile.c:171:5: error: too many arguments to function 'mferror'; expected 0, have 1 171 | mferror("mfprocess() called without setting Mf_getc"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- queues.o --- midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ --- midifile.o --- midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- queues.o --- queues.c:341:3: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 341 | mf_write_midi_event(delta_time,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ --- midifile.o --- midifile.c: In function 'readmt': midifile.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | readmt(s) /* read through the "MThd" or "MTrk" header string */ | ^~~~~~ --- queues.o --- queues.c: In function 'note_effect3': queues.c:359:3: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 359 | mf_write_midi_event(delta,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ queues.c:364:3: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 364 | mf_write_midi_event(delta,pitch_wheel,Q[Qhead].chan,data,2); /* [SS] 2014-09-23 */ | ^~~~~~~~~~~~~~~~~~~ ~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ queues.c: In function 'note_effect4': queues.c:368:6: warning: old-style function definition [-Wold-style-definition] 368 | void note_effect4(chan) | ^~~~~~~~~~~~ --- midifile.o --- midifile.c:205:7: error: too many arguments to function 'mferror'; expected 0, have 1 205 | mferror(buff); | ^~~~~~~ ~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ midifile.c: In function 'egetc': midifile.c:217:5: error: too many arguments to function 'mferror'; expected 0, have 1 217 | mferror("premature EOF"); | ^~~~~~~ ~~~~~~~~~~~~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- parseabc.o --- parseabc.c: In function 'parseclef': parseabc.c:956:1: warning: old-style function definition [-Wold-style-definition] 956 | parseclef (s, word, gotclef, clefstr, newclef, gotoctave, octave) | ^~~~~~~~~ --- midifile.o --- midifile.c: In function 'readheader': midifile.c:238:6: error: too many arguments to function 'Mf_header'; expected 0, have 3 238 | (*Mf_header)(format,ntrks,division); | ~^~~~~~~~~~~ ~~~~~~ --- parseabc.o --- parseabc.c: In function 'parsetranspose': parseabc.c:999:1: warning: old-style function definition [-Wold-style-definition] 999 | parsetranspose (s, word, gottranspose, transpose) | ^~~~~~~~~~~~~~ --- midifile.o --- midifile.c: In function 'skiptrack': midifile.c:253:19: error: too many arguments to function 'mferror'; expected 0, have 1 253 | if (byte == EOF) {mferror("premature EOF\n"); return(0);} | ^~~~~~~ ~~~~~~~~~~~~~~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- parseabc.o --- parseabc.c: In function 'parsesound': parseabc.c:1025:1: warning: old-style function definition [-Wold-style-definition] 1025 | parsesound (s, word, gottranspose, transpose) | ^~~~~~~~~~ --- midifile.o --- midifile.c: In function 'readtrack': --- parseabc.o --- parseabc.c: In function 'parseoctave': --- midifile.o --- midifile.c:293:30: error: too many arguments to function 'mferror'; expected 0, have 1 293 | mferror("bad time increment"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- parseabc.o --- parseabc.c:1068:1: warning: old-style function definition [-Wold-style-definition] 1068 | parseoctave (s, word, gotoctave, octave) | ^~~~~~~~~~~ --- queues.o --- queues.c: In function 'output_eventlist': queues.c:446:25: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 446 | if (cmd == -32) mf_write_midi_event(delta,pitch_wheel,Q[Qhead].chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ --- parseabc.o --- parseabc.c: In function 'parsename': --- midifile.o --- midifile.c:300:7: error: too many arguments to function 'mferror'; expected 0, have 1 300 | mferror("didn't find expected continuation of a sysex"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ --- parseabc.o --- parseabc.c:1094:1: warning: old-style function definition [-Wold-style-definition] 1094 | parsename (s, word, gotname, namestring, maxsize) | ^~~~~~~~~ --- queues.o --- queues.c: In function 'note_effect5': queues.c:451:6: warning: old-style function definition [-Wold-style-definition] 451 | void note_effect5(chan) | ^~~~~~~~~~~~ --- midifile.o --- midifile.c:307:9: error: too many arguments to function 'mferror'; expected 0, have 1 307 | mferror("unexpected running status"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ midifile.c:326:9: error: too many arguments to function 'chanmessage'; expected 0, have 3 326 | chanmessage( laststatus, c1, (needed>1) ? egetc() : 0 ); | ^~~~~~~~~~~ ~~~~~~~~~~ --- parseabc.o --- parseabc.c: In function 'parsesname': --- midifile.o --- midifile.c:131:13: note: declared here 131 | static void chanmessage(); | ^~~~~~~~~~~ --- parseabc.o --- parseabc.c:1148:1: warning: old-style function definition [-Wold-style-definition] 1148 | parsesname (s, word, gotname, namestring, maxsize) | ^~~~~~~~~~ --- midifile.o --- midifile.c:330:9: error: too many arguments to function 'chanmessage'; expected 0, have 3 330 | chanmessage( status, c1, (needed>1) ? egetc() : 0 ); | ^~~~~~~~~~~ ~~~~~~ midifile.c:131:13: note: declared here 131 | static void chanmessage(); | ^~~~~~~~~~~ midifile.c:345:9: error: too many arguments to function 'msgadd'; expected 0, have 1 345 | msgadd(egetc()); | ^~~~~~ ~~~~~~~ midifile.c:133:13: note: declared here 133 | static void msgadd(); | ^~~~~~ midifile.c:347:7: error: too many arguments to function 'metaevent'; expected 0, have 1 347 | metaevent(type); | ^~~~~~~~~ ~~~~ midifile.c:129:13: note: declared here 129 | static void metaevent(); | ^~~~~~~~~ midifile.c:355:7: error: too many arguments to function 'msgadd'; expected 0, have 1 355 | msgadd(0xf0); | ^~~~~~ ~~~~ midifile.c:133:13: note: declared here 133 | static void msgadd(); | ^~~~~~ midifile.c:358:9: error: too many arguments to function 'msgadd'; expected 0, have 1 358 | msgadd(c=egetc()); | ^~~~~~ ~~~~~~~~~ midifile.c:133:13: note: declared here 133 | static void msgadd(); | ^~~~~~ --- parseabc.o --- parseabc.c: In function 'parsemiddle': parseabc.c:1202:1: warning: old-style function definition [-Wold-style-definition] 1202 | parsemiddle (s, word, gotmiddle, middlestring, maxsize) | ^~~~~~~~~~~ --- midifile.o --- midifile.c:375:9: error: too many arguments to function 'msgadd'; expected 0, have 1 375 | msgadd(c=egetc()); | ^~~~~~ ~~~~~~~~~ midifile.c:133:13: note: declared here 133 | static void msgadd(); | ^~~~~~ --- queues.o --- queues.c: In function 'timestep': --- midifile.o --- midifile.c:379:12: error: too many arguments to function 'Mf_arbitrary'; expected 0, have 2 379 | (*Mf_arbitrary)(msgleng(),msg()); | ~^~~~~~~~~~~~~~ ~~~~~~~~~ --- queues.o --- queues.c:573:6: warning: old-style function definition [-Wold-style-definition] 573 | void timestep(t, atend) | ^~~~~~~~ --- midifile.o --- midifile.c:387:7: error: too many arguments to function 'badbyte'; expected 0, have 1 387 | badbyte(c); | ^~~~~~~ ~ midifile.c:128:13: note: declared here 128 | static void badbyte(); | ^~~~~~~ --- parseabc.o --- parseabc.c: In function 'parseother': parseabc.c:1240:1: warning: old-style function definition [-Wold-style-definition] 1240 | parseother (s, word, gotother, other, maxsize) /* [SS] 2011-04-18 */ | ^~~~~~~~~~ --- midifile.o --- midifile.c: In function 'badbyte': midifile.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | badbyte(c) | ^~~~~~~ midifile.c:403:3: error: too many arguments to function 'mferror'; expected 0, have 1 403 | mferror(buff); | ^~~~~~~ ~~~~ midifile.h:40:6: note: declared here 40 | void mferror(); | ^~~~~~~ midifile.c: In function 'metaevent': midifile.c:407:1: warning: old-style function definition [-Wold-style-definition] 407 | metaevent(type) | ^~~~~~~~~ midifile.c:418:20: error: too many arguments to function 'to16bit'; expected 0, have 2 418 | (*Mf_seqnum)(to16bit(m[0],m[1])); | ^~~~~~~ ~~~~ midifile.c:121:12: note: declared here 121 | static int to16bit(); | ^~~~~~~ midifile.c:418:8: error: too many arguments to function 'Mf_seqnum'; expected 0, have 1 418 | (*Mf_seqnum)(to16bit(m[0],m[1])); | ~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ midifile.c:437:8: error: too many arguments to function 'Mf_text'; expected 0, have 3 437 | (*Mf_text)(type,leng,m); | ~^~~~~~~~~ ~~~~ midifile.c:445:19: error: too many arguments to function 'to32bit'; expected 0, have 4 445 | (*Mf_tempo)(to32bit(0,m[0],m[1],m[2])); | ^~~~~~~ ~ midifile.c:119:13: note: declared here 119 | static long to32bit(); | ^~~~~~~ --- genmidi.o --- genmidi.c: In function 'reduce': genmidi.c:296:6: warning: old-style function definition [-Wold-style-definition] 296 | void reduce(a, b) | ^~~~~~ genmidi.c: In function 'gtfract': genmidi.c:326:5: warning: old-style function definition [-Wold-style-definition] 326 | int gtfract(anum,adenom, bnum,bdenom) | ^~~~~~~ genmidi.c: In function 'addunits': genmidi.c:340:6: warning: old-style function definition [-Wold-style-definition] 340 | void addunits(a, b) | ^~~~~~~~ genmidi.c: In function 'set_gchords': genmidi.c:388:6: warning: old-style function definition [-Wold-style-definition] 388 | void set_gchords(s) | ^~~~~~~~~~~ genmidi.c: In function 'set_drums': genmidi.c:430:6: warning: old-style function definition [-Wold-style-definition] 430 | void set_drums(s) | ^~~~~~~~~ genmidi.c: In function 'checkbar': genmidi.c:515:13: warning: old-style function definition [-Wold-style-definition] 515 | static void checkbar(pass) | ^~~~~~~~ genmidi.c: In function 'softcheckbar': genmidi.c:563:13: warning: old-style function definition [-Wold-style-definition] 563 | static void softcheckbar(pass) | ^~~~~~~~~~~~ genmidi.c: In function 'save_state': genmidi.c:574:13: warning: old-style function definition [-Wold-style-definition] 574 | static void save_state(vec, a, b, c, d, e, f) | ^~~~~~~~~~ genmidi.c: In function 'restore_state': genmidi.c:587:13: warning: old-style function definition [-Wold-style-definition] 587 | static void restore_state(vec, a, b, c, d, e, f) | ^~~~~~~~~~~~~ genmidi.c: In function 'fillvoice': genmidi.c:623:13: warning: old-style function definition [-Wold-style-definition] 623 | static void fillvoice(partno, xtrack, voice) | ^~~~~~~~~ genmidi.c: In function 'findpart': genmidi.c:670:12: warning: old-style function definition [-Wold-style-definition] 670 | static int findpart(j) | ^~~~~~~~ genmidi.c: In function 'partbreak': genmidi.c:704:12: warning: old-style function definition [-Wold-style-definition] 704 | static int partbreak(xtrack, voice, place) | ^~~~~~~~~ genmidi.c: In function 'findvoice': genmidi.c:724:12: warning: old-style function definition [-Wold-style-definition] 724 | static int findvoice(initplace, voice, xtrack) | ^~~~~~~~~ genmidi.c: In function 'text_data': genmidi.c:756:13: warning: old-style function definition [-Wold-style-definition] 756 | static void text_data(s) | ^~~~~~~~~ genmidi.c:760:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 760 | mf_write_meta_event(delta_time, text_event, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from genmidi.c:40: midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'karaokestarttrack': genmidi.c:765:13: warning: old-style function definition [-Wold-style-definition] 765 | static void karaokestarttrack (track) | ^~~~~~~~~~~~~~~~~ genmidi.c:791:7: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 791 | mf_write_meta_event(0L, sequence_name, "Words", 5); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:812:12: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 812 | mf_write_meta_event(0L, sequence_name, atext[pitch[j]], strlen (atext[pitch[j]])); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'findwline': genmidi.c:830:12: warning: old-style function definition [-Wold-style-definition] 830 | static int findwline(startline) | ^~~~~~~~~ genmidi.c: In function 'getword': genmidi.c:915:12: warning: old-style function definition [-Wold-style-definition] 915 | static int getword(place, w) | ^~~~~~~ genmidi.c: In function 'write_syllable': genmidi.c:1129:13: warning: old-style function definition [-Wold-style-definition] 1129 | static void write_syllable(place) | ^~~~~~~~~~~~~~ genmidi.c: In function 'inlist': genmidi.c:1229:12: warning: old-style function definition [-Wold-style-definition] 1229 | static int inlist(place, passno) | ^~~~~~ genmidi.c: In function 'set_meter': genmidi.c:1277:6: warning: old-style function definition [-Wold-style-definition] 1277 | void set_meter(n, m) | ^~~~~~~~~ genmidi.c: In function 'write_meter': genmidi.c:1306:13: warning: old-style function definition [-Wold-style-definition] 1306 | static void write_meter(n, m) | ^~~~~~~~~~~ genmidi.c:1334:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 1334 | mf_write_meta_event(0L, time_signature, data, 4); /* [SS] 2010-04-15 2010-07-06*/ | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'write_keysig': genmidi.c:1337:13: warning: old-style function definition [-Wold-style-definition] 1337 | static void write_keysig(sf, mi) | ^~~~~~~~~~~~ genmidi.c:1345:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 1345 | mf_write_meta_event(0L, key_signature, data, 2); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'midi_noteon': genmidi.c:1348:13: warning: old-style function definition [-Wold-style-definition] 1348 | static void midi_noteon(delta_time, pitch, pitchbend, chan, vel) | ^~~~~~~~~~~ genmidi.c:1368:7: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1368 | mf_write_midi_event(delta_time,pitch_wheel,chan,data,2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:1378:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1378 | mf_write_midi_event(delta_time, note_on, chan, data, 2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'midi_noteoff': genmidi.c:1382:6: warning: old-style function definition [-Wold-style-definition] 1382 | void midi_noteoff(delta_time, pitch, chan) | ^~~~~~~~~~~~ genmidi.c:1395:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1395 | mf_write_midi_event(delta_time, note_off, chan, data, 2); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'noteon_data': genmidi.c:1399:13: warning: old-style function definition [-Wold-style-definition] 1399 | static void noteon_data(pitch, pitchbend, channel, vel) | ^~~~~~~~~~~ genmidi.c: In function 'apply_velocity_increment_for_one_note': genmidi.c:1603:5: warning: old-style function definition [-Wold-style-definition] 1603 | int apply_velocity_increment_for_one_note (velocity) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'noteon': genmidi.c:1623:13: warning: old-style function definition [-Wold-style-definition] 1623 | static void noteon(n) | ^~~~~~ genmidi.c: In function 'write_program': genmidi.c:1644:13: warning: old-style function definition [-Wold-style-definition] 1644 | static void write_program(p, channel) | ^~~~~~~~~~~~~ genmidi.c:1656:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1656 | mf_write_midi_event(delta_time, program_chng, channel, data, 1); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'write_event_with_delay': genmidi.c:1663:6: warning: old-style function definition [-Wold-style-definition] 1663 | void write_event_with_delay(delta,event_type, channel, data, n) | ^~~~~~~~~~~~~~~~~~~~~~ genmidi.c:1673:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1673 | mf_write_midi_event(delta, event_type, channel, data, n); | ^~~~~~~~~~~~~~~~~~~ ~~~~~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'write_event': genmidi.c:1677:6: warning: old-style function definition [-Wold-style-definition] 1677 | void write_event(event_type, channel, data, n) | ^~~~~~~~~~~ genmidi.c:1687:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5 1687 | mf_write_midi_event(0, event_type, channel, data, n); | ^~~~~~~~~~~~~~~~~~~ ~ midifile.h:38:5: note: declared here 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c: In function 'select_channel': genmidi.c:1691:14: warning: old-style function definition [-Wold-style-definition] 1691 | static char *select_channel(chan, s) | ^~~~~~~~~~~~~~ genmidi.c: In function 'makechordchannels': genmidi.c:1716:12: warning: old-style function definition [-Wold-style-definition] 1716 | static int makechordchannels (n) | ^~~~~~~~~~~~~~~~~ genmidi.c: In function 'expand_array': genmidi.c:1879:13: warning: old-style function definition [-Wold-style-definition] 1879 | static void expand_array (shortarray, size, longarray, factor) | ^~~~~~~~~~~~ genmidi.c: In function 'dodeferred': genmidi.c:1912:13: warning: old-style function definition [-Wold-style-definition] 1912 | static void dodeferred(s,noteson) | ^~~~~~~~~~ genmidi.c: In function 'delay': genmidi.c:2346:13: warning: old-style function definition [-Wold-style-definition] 2346 | static void delay(a, b, c) | ^~~~~ genmidi.c: In function 'save_note': genmidi.c:2361:13: warning: old-style function definition [-Wold-style-definition] 2361 | static void save_note(num, denom, pitch, pitchbend, chan, vel) | ^~~~~~~~~ genmidi.c: In function 'dogchords': genmidi.c:2376:6: warning: old-style function definition [-Wold-style-definition] 2376 | void dogchords(i) | ^~~~~~~~~ genmidi.c: In function 'dodrums': genmidi.c:2502:6: warning: old-style function definition [-Wold-style-definition] 2502 | void dodrums(i) | ^~~~~~~ genmidi.c: In function 'progress_sequence': genmidi.c:2554:6: warning: old-style function definition [-Wold-style-definition] 2554 | void progress_sequence(i) | ^~~~~~~~~~~~~~~~~ genmidi.c: In function 'writetrack': genmidi.c:2821:6: warning: old-style function definition [-Wold-style-definition] 2821 | long writetrack(xtrack) | ^~~~~~~~~~ genmidi.c:2890:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2890 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2905:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2905 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2914:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2914 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2926:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2926 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2943:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2943 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2955:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 2955 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:2960:5: error: too many arguments to function 'mf_write_tempo'; expected 0, have 1 2960 | mf_write_tempo(tempo); | ^~~~~~~~~~~~~~ ~~~~~ midifile.h:39:6: note: declared here 39 | void mf_write_tempo(); | ^~~~~~~~~~~~~~ genmidi.c:3154:9: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3154 | mf_write_meta_event(0L, marker, msg, 1); | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:3169:9: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3169 | mf_write_meta_event(0L, text_event, atext[pitch[j]], | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:3178:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3178 | mf_write_meta_event(0L, sequence_name, atext[pitch[j]], | ^~~~~~~~~~~~~~~~~~~ ~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:3402:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3402 | mf_write_meta_event(delta_time_track0, set_tempo, data, 3); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:3406:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3406 | mf_write_meta_event(delta_time, set_tempo, data, 3); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ genmidi.c:3449:11: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4 3449 | mf_write_meta_event(delta_time, copyright_notice, atext[pitch[j]], strlen (atext[pitch[j]])); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.h:37:5: note: declared here 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ *** [genmidi.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi --- parseabc.o --- parseabc.c: In function 'parsekey': parseabc.c:1331:1: warning: old-style function definition [-Wold-style-definition] 1331 | parsekey (str) | ^~~~~~~~ parseabc.c: In function 'parsevoice': parseabc.c:1621:1: warning: old-style function definition [-Wold-style-definition] 1621 | parsevoice (s) | ^~~~~~~~~~ parseabc.c: In function 'parsenote': parseabc.c:1712:1: warning: old-style function definition [-Wold-style-definition] 1712 | parsenote (s) | ^~~~~~~~~ parseabc.c: In function 'getrep': parseabc.c:1907:1: warning: old-style function definition [-Wold-style-definition] 1907 | getrep (p, out) | ^~~~~~ parseabc.c: In function 'checkend': parseabc.c:1963:1: warning: old-style function definition [-Wold-style-definition] 1963 | checkend (s) | ^~~~~~~~ parseabc.c: In function 'readstr': parseabc.c:1985:1: warning: old-style function definition [-Wold-style-definition] 1985 | readstr (out, in, limit) | ^~~~~~~ parseabc.c: In function 'readaln': parseabc.c:2005:5: warning: old-style function definition [-Wold-style-definition] 2005 | int readaln (out, in, limit) | ^~~~~~~ parseabc.c: In function 'parse_precomment': parseabc.c:2025:1: warning: old-style function definition [-Wold-style-definition] 2025 | parse_precomment (s) | ^~~~~~~~~~~~~~~~ parseabc.c: In function 'parse_abc_include': parseabc.c:2047:8: warning: old-style function definition [-Wold-style-definition] 2047 | FILE * parse_abc_include (s) | ^~~~~~~~~~~~~~~~~ parseabc.c: In function 'parse_tempo': parseabc.c:2068:1: warning: old-style function definition [-Wold-style-definition] 2068 | parse_tempo (place) | ^~~~~~~~~~~ parseabc.c: In function 'append_fieldcmd': parseabc.c:2153:6: warning: old-style function definition [-Wold-style-definition] 2153 | void append_fieldcmd (key, s) /* [SS] 2014-08-15 */ | ^~~~~~~~~~~~~~~ parseabc.c: In function 'preparse_words': parseabc.c:2161:1: warning: old-style function definition [-Wold-style-definition] 2161 | preparse_words (s) | ^~~~~~~~~~~~~~ parseabc.c: In function 'parsefield': parseabc.c:2300:1: warning: old-style function definition [-Wold-style-definition] 2300 | parsefield (key, field) | ^~~~~~~~~~ parseabc.c: In function 'parseinlinefield': parseabc.c:2559:1: warning: old-style function definition [-Wold-style-definition] 2559 | parseinlinefield (p) | ^~~~~~~~~~~~~~~~ parseabc.c: In function 'pitch2midi': parseabc.c:2715:12: warning: old-style function definition [-Wold-style-definition] 2715 | static int pitch2midi(note, accidental, mult, octave ) | ^~~~~~~~~~ parseabc.c: In function 'parsemusic': parseabc.c:2864:1: warning: old-style function definition [-Wold-style-definition] 2864 | parsemusic (field) | ^~~~~~~~~~ parseabc.c: In function 'parseline': parseabc.c:3350:1: warning: old-style function definition [-Wold-style-definition] 3350 | parseline (line) | ^~~~~~~~~ parseabc.c:3372:11: error: too many arguments to function 'event_temperament'; expected 0, have 1 3372 | event_temperament(line); | ^~~~~~~~~~~~~~~~~ ~~~~ In file included from parseabc.c:34: parseabc.h:170:13: note: declared here 170 | extern void event_temperament(); | ^~~~~~~~~~~~~~~~~ parseabc.c: In function 'parsefile': parseabc.c:3483:1: warning: old-style function definition [-Wold-style-definition] 3483 | parsefile (name) | ^~~~~~~~~ parseabc.c:3493:1: error: number of arguments doesn't match prototype 3493 | { | ^ parseabc.h:174:13: error: prototype declaration 174 | extern void parsefile(); | ^~~~~~~~~ parseabc.c: At top level: parseabc.c:3613:1: error: conflicting types for 'parsetune'; have 'int(FILE *)' 3613 | parsetune (FILE * fp) | ^~~~~~~~~ parseabc.h:175:12: note: previous declaration of 'parsetune' with type 'int(void)' 175 | extern int parsetune(); | ^~~~~~~~~ *** [parseabc.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi --- queues.o --- *** [queues.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi --- midifile.o --- midifile.c:445:8: error: too many arguments to function 'Mf_tempo'; expected 0, have 1 445 | (*Mf_tempo)(to32bit(0,m[0],m[1],m[2])); | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:449:8: error: too many arguments to function 'Mf_smpte'; expected 0, have 5 449 | (*Mf_smpte)(m[0],m[1],m[2],m[3],m[4]); | ~^~~~~~~~~~ ~~~~ midifile.c:453:8: error: too many arguments to function 'Mf_timesig'; expected 0, have 4 453 | (*Mf_timesig)(m[0],m[1],m[2],m[3]); | ~^~~~~~~~~~~~ ~~~~ midifile.c:457:8: error: too many arguments to function 'Mf_keysig'; expected 0, have 2 457 | (*Mf_keysig)(m[0],m[1]); | ~^~~~~~~~~~~ ~~~~ midifile.c:461:8: error: too many arguments to function 'Mf_seqspecific'; expected 0, have 2 461 | (*Mf_seqspecific)(leng,m); | ~^~~~~~~~~~~~~~~~ ~~~~ midifile.c:465:8: error: too many arguments to function 'Mf_metamisc'; expected 0, have 3 465 | (*Mf_metamisc)(type,leng,m); --- store.o --- store.c: In function 'newvoice': store.c:531:29: warning: old-style function definition [-Wold-style-definition] 531 | static struct voicecontext* newvoice(n) | ^~~~~~~~ store.c: In function 'getvoicecontext': store.c:590:29: warning: old-style function definition [-Wold-style-definition] 590 | static struct voicecontext* getvoicecontext(n) | ^~~~~~~~~~~~~~~ store.c: In function 'getchordnumber': store.c:751:12: warning: old-style function definition [-Wold-style-definition] 751 | static int getchordnumber(s) | ^~~~~~~~~~~~~~ store.c: In function 'addchordname': store.c:770:13: warning: old-style function definition [-Wold-style-definition] 770 | static void addchordname(s, len, notes) | ^~~~~~~~~~~~ store.c: In function 'event_init': store.c:879:6: warning: old-style function definition [-Wold-style-definition] 879 | void event_init(argc, argv, filename) | ^~~~~~~~~~ --- midifile.o --- | ~^~~~~~~~~~~~~ ~~~~ midifile.c: In function 'sysex': midifile.c:473:6: error: too many arguments to function 'Mf_sysex'; expected 0, have 2 473 | (*Mf_sysex)(msgleng(),msg()); | ~^~~~~~~~~~ ~~~~~~~~~ midifile.c: In function 'chanmessage': midifile.c:477:1: warning: old-style function definition [-Wold-style-definition] 477 | chanmessage(status,c1,c2) | ^~~~~~~~~~~ midifile.c:486:8: error: too many arguments to function 'Mf_noteoff'; expected 0, have 3 486 | (*Mf_noteoff)(chan,c1,c2); | ~^~~~~~~~~~~~ ~~~~ midifile.c:490:8: error: too many arguments to function 'Mf_noteon'; expected 0, have 3 490 | (*Mf_noteon)(chan,c1,c2); | ~^~~~~~~~~~~ ~~~~ midifile.c:494:8: error: too many arguments to function 'Mf_pressure'; expected 0, have 3 494 | (*Mf_pressure)(chan,c1,c2); | ~^~~~~~~~~~~~~ ~~~~ midifile.c:498:8: error: too many arguments to function 'Mf_parameter'; expected 0, have 3 --- store.o --- store.c:888:10: error: conflicting types for 'log10'; have 'double(void)' 888 | double log10(); | ^~~~~ In file included from store.c:212: /usr/include/math.h:62:15: note: previous declaration of 'log10' with type 'double(double)' 62 | extern double log10(double); | ^~~~~ store.c:992:49: error: too many arguments to function 'log10'; expected 0, have 1 992 | semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */ | ^~~~~ ~~~~~~~~~~~~ store.c:888:10: note: declared here 888 | double log10(); | ^~~~~ store.c:992:69: error: too many arguments to function 'log10'; expected 0, have 1 992 | semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */ | ^~~~~ ~~~~ store.c:888:10: note: declared here --- midifile.o --- 498 | (*Mf_parameter)(chan,c1,c2); | ~^~~~~~~~~~~~~~ ~~~~ midifile.c:502:8: error: too many arguments to function 'Mf_pitchbend'; expected 0, have 3 502 | (*Mf_pitchbend)(chan,c1,c2); | ~^~~~~~~~~~~~~~ ~~~~ midifile.c:506:8: error: too many arguments to function 'Mf_program'; expected 0, have 2 506 | (*Mf_program)(chan,c1); | ~^~~~~~~~~~~~ ~~~~ midifile.c:510:8: error: too many arguments to function 'Mf_chanpressure'; expected 0, have 2 510 | (*Mf_chanpressure)(chan,c1); | ~^~~~~~~~~~~~~~~~~ ~~~~ midifile.c: In function 'to32bit': midifile.c:537:1: warning: old-style function definition [-Wold-style-definition] 537 | to32bit(c1,c2,c3,c4) | ^~~~~~~ midifile.c: In function 'to16bit': midifile.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | to16bit(c1,c2) | ^~~~~~~ midifile.c: In function 'read32bit': midifile.c:565:10: error: too many arguments to function 'to32bit'; expected 0, have 4 --- store.o --- 888 | double log10(); | ^~~~~ store.c: In function 'event_text': store.c:1157:6: warning: old-style function definition [-Wold-style-definition] 1157 | void event_text(s) | ^~~~~~~~~~ store.c: In function 'event_x_reserved': store.c:1173:6: warning: old-style function definition [-Wold-style-definition] 1173 | void event_x_reserved(p) | ^~~~~~~~~~~~~~~~ store.c: In function 'event_abbreviation': store.c:1183:6: warning: old-style function definition [-Wold-style-definition] 1183 | void event_abbreviation(symbol, string, container) | ^~~~~~~~~~~~~~~~~~ store.c: In function 'event_tex': store.c:1526:6: warning: old-style function definition [-Wold-style-definition] 1526 | void event_tex(s) | ^~~~~~~~~ store.c: In function 'event_fatal_error': store.c:1532:6: warning: old-style function definition [-Wold-style-definition] 1532 | void event_fatal_error(s) | ^~~~~~~~~~~~~~~~~ store.c: In function 'event_error': --- midifile.o --- 565 | return to32bit(c1,c2,c3,c4); | ^~~~~~~ ~~ midifile.c:537:1: note: declared here 537 | to32bit(c1,c2,c3,c4) | ^~~~~~~ midifile.c: In function 'read16bit': midifile.c:574:10: error: too many arguments to function 'to16bit'; expected 0, have 2 574 | return to16bit(c1,c2); | ^~~~~~~ ~~ midifile.c:550:1: note: declared here 550 | to16bit(c1,c2) | ^~~~~~~ midifile.c: In function 'mferror': midifile.c:578:6: warning: old-style function definition [-Wold-style-definition] 578 | void mferror(s) | ^~~~~~~ midifile.c:580:1: error: number of arguments doesn't match prototype 580 | { | ^ midifile.h:40:6: error: prototype declaration 40 | void mferror(); | ^~~~~~~ midifile.c:582:6: error: too many arguments to function 'Mf_error'; expected 0, have 1 582 | (*Mf_error)(s); | ~^~~~~~~~~~ ~ midifile.c: In function 'msgadd': midifile.c:618:1: warning: old-style function definition [-Wold-style-definition] --- store.o --- store.c:1540:6: warning: old-style function definition [-Wold-style-definition] 1540 | void event_error(s) | ^~~~~~~~~~~ store.c: In function 'event_warning': store.c:1555:6: warning: old-style function definition [-Wold-style-definition] 1555 | void event_warning(s) | ^~~~~~~~~~~~~ store.c: In function 'autoextend': store.c:1570:12: warning: old-style function definition [-Wold-style-definition] 1570 | static int autoextend(maxnotes) | ^~~~~~~~~~ store.c: In function 'textextend': store.c:1639:12: warning: old-style function definition [-Wold-style-definition] 1639 | static int textextend(maxstrings, stringarray) | ^~~~~~~~~~ store.c: In function 'addfeature': store.c:1661:13: warning: old-style function definition [-Wold-style-definition] 1661 | static void addfeature(f, p, n, d) | ^~~~~~~~~~ store.c: In function 'replacefeature': store.c:1679:13: warning: old-style function definition [-Wold-style-definition] --- midifile.o --- 618 | msgadd(c) | ^~~~~~ midifile.c: In function 'biggermsg': midifile.c:641:5: error: too many arguments to function 'mferror'; expected 0, have 1 641 | mferror("malloc error!"); | ^~~~~~~ ~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ midifile.c: In function 'mfwrite': midifile.c:685:1: warning: old-style function definition [-Wold-style-definition] 685 | mfwrite(format,ntracks,division,fp) | ^~~~~~~ midifile.c:688:1: error: number of arguments doesn't match prototype 688 | { | ^ midifile.h:35:6: error: prototype declaration 35 | void mfwrite(); | ^~~~~~~ midifile.c:692:7: error: too many arguments to function 'mferror'; expected 0, have 1 692 | mferror("mf_write() called without setting Mf_putc"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ --- store.o --- 1679 | static void replacefeature(f, p, n, d, loc) | ^~~~~~~~~~~~~~ store.c: In function 'insertfeature': store.c:1689:6: warning: old-style function definition [-Wold-style-definition] 1689 | void insertfeature(f, p, n, d, loc) | ^~~~~~~~~~~~~ store.c: In function 'removefeature': store.c:1717:13: warning: old-style function definition [-Wold-style-definition] 1717 | static void removefeature(loc) | ^~~~~~~~~~~~~ store.c: In function 'interchange_features': store.c:1737:13: warning: old-style function definition [-Wold-style-definition] 1737 | static void interchange_features(loc1,loc2) | ^~~~~~~~~~~~~~~~~~~~ store.c: In function 'removefeatures': store.c:1769:13: warning: old-style function definition [-Wold-style-definition] 1769 | static void removefeatures(locfrom,locto) | ^~~~~~~~~~~~~~ store.c: In function 'event_endmusicline': store.c:1806:6: warning: old-style function definition [-Wold-style-definition] --- midifile.o --- midifile.c:695:7: error: too many arguments to function 'mferror'; expected 0, have 1 695 | mferror("mf_write() called without setting Mf_writetrack"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ midifile.c:698:5: error: too many arguments to function 'mf_write_header_chunk'; expected 0, have 3 698 | mf_write_header_chunk(format,ntracks,division); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~ midifile.c:136:13: note: declared here 136 | static void mf_write_header_chunk(); | ^~~~~~~~~~~~~~~~~~~~~ midifile.c:708:9: error: too many arguments to function 'mf_write_track_chunk'; expected 0, have 2 708 | mf_write_track_chunk(i,fp); | ^~~~~~~~~~~~~~~~~~~~ ~ midifile.c:135:13: note: declared here 135 | static void mf_write_track_chunk(); | ^~~~~~~~~~~~~~~~~~~~ midifile.c: In function 'nullputc': --- store.o --- 1806 | void event_endmusicline(endchar) | ^~~~~~~~~~~~~~~~~~ store.c: In function 'event_comment': store.c:1825:6: warning: old-style function definition [-Wold-style-definition] 1825 | void event_comment(s) | ^~~~~~~~~~~~~ store.c: In function 'parse_mididef': store.c:1842:6: warning: old-style function definition [-Wold-style-definition] 1842 | void parse_mididef(s) | ^~~~~~~~~~~~~ store.c:1853:5: error: too many arguments to function 'readaln'; expected 0, have 3 1853 | i = readaln(midicmdname[nmidicmd], &p, 31); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ store.c:1839:5: note: declared here 1839 | int readaln(); /* links to parseabc.c */ | ^~~~~~~ store.c: In function 'process_midix': store.c:1866:6: warning: old-style function definition [-Wold-style-definition] 1866 | void process_midix(s) | ^~~~~~~~~~~~~ store.c:1884:9: error: too many arguments to function 'readaln'; expected 0, have 3 1884 | j = readaln(&name,&p,31); --- midifile.o --- midifile.c:715:5: warning: old-style function definition [-Wold-style-definition] 715 | int nullputc(c) | ^~~~~~~~ midifile.c: In function 'mf_write_track_chunk': midifile.c:727:1: warning: old-style function definition [-Wold-style-definition] 727 | mf_write_track_chunk(which_track,fp) | ^~~~~~~~~~~~~~~~~~~~ midifile.c:793:3: error: too many arguments to function 'write32bit'; expected 0, have 1 793 | write32bit(trkhdr); | ^~~~~~~~~~ ~~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c:794:3: error: too many arguments to function 'write32bit'; expected 0, have 1 794 | write32bit(trklength); | ^~~~~~~~~~ ~~~~~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c:800:19: error: too many arguments to function 'Mf_writetrack'; expected 0, have 1 800 | endspace = (*Mf_writetrack)(which_track); --- store.o --- | ^~~~~~~ ~~~~~ store.c:1839:5: note: declared here 1839 | int readaln(); /* links to parseabc.c */ | ^~~~~~~ store.c:1895:9: error: too many arguments to function 'event_midi'; expected 0, have 1 1895 | event_midi("controlcombo"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ store.c:1863:6: note: declared here 1863 | void event_midi(); | ^~~~~~~~~~ store.c:1896:5: error: too many arguments to function 'event_midi'; expected 0, have 1 1896 | event_midi(midicmd[i]); | ^~~~~~~~~~ ~~~~~~~~~~ store.c:1863:6: note: declared here 1863 | void event_midi(); | ^~~~~~~~~~ store.c: In function 'compute_fifth_size': store.c:1902:7: warning: old-style function definition [-Wold-style-definition] 1902 | float compute_fifth_size (octave_size, ndiv) | ^~~~~~~~~~~~~~~~~~ store.c: In function 'event_midi': store.c:1925:6: warning: old-style function definition [-Wold-style-definition] 1925 | void event_midi(s) | ^~~~~~~~~~ --- midifile.o --- | ~^~~~~~~~~~~~~~~ ~~~~~~~~~~~ midifile.c:804:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 804 | WriteVarLen(endspace); | ^~~~~~~~~~~ ~~~~~~~~ midifile.c:137:13: note: declared here 137 | static void WriteVarLen(); | ^~~~~~~~~~~ midifile.c:806:3: error: too many arguments to function 'eputc'; expected 0, have 1 806 | eputc(meta_event); | ^~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:807:3: error: too many arguments to function 'eputc'; expected 0, have 1 807 | eputc(end_of_track); | ^~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:809:4: error: too many arguments to function 'eputc'; expected 0, have 1 809 | eputc(0); | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ --- store.o --- store.c:1930:5: error: number of arguments doesn't match prototype 1930 | { | ^ store.c:1863:6: error: prototype declaration 1863 | void event_midi(); | ^~~~~~~~~~ store.c:2352:10: error: too many arguments to function 'parse_stress_params'; expected 0, have 1 2352 | if (parse_stress_params (inputfile) == -1) readstressfile (inputfile); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ store.c:515:5: note: declared here 515 | int parse_stress_params(); | ^~~~~~~~~~~~~~~~~~~ store.c: In function 'event_specific': store.c:2368:6: warning: old-style function definition [-Wold-style-definition] 2368 | void event_specific(package, s) | ^~~~~~~~~~~~~~ store.c:2393:6: error: too many arguments to function 'event_midi'; expected 0, have 1 2393 | event_midi(s); else { | ^~~~~~~~~~ ~ store.c:1925:6: note: declared here 1925 | void event_midi(s) | ^~~~~~~~~~ store.c: In function 'event_specific_in_header': --- midifile.o --- midifile.c:826:7: error: too many arguments to function 'mferror'; expected 0, have 1 826 | mferror("error seeking during final stage of write"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ midifile.c:831:3: error: too many arguments to function 'write32bit'; expected 0, have 1 831 | write32bit(trkhdr); | ^~~~~~~~~~ ~~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c:832:3: error: too many arguments to function 'write32bit'; expected 0, have 1 832 | write32bit(trklength); | ^~~~~~~~~~ ~~~~~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c: In function 'mf_write_header_chunk': midifile.c:840:1: warning: old-style function definition [-Wold-style-definition] 840 | mf_write_header_chunk(format,ntracks,division) --- store.o --- store.c:2526:6: warning: old-style function definition [-Wold-style-definition] 2526 | void event_specific_in_header(package, s) | ^~~~~~~~~~~~~~~~~~~~~~~~ store.c: In function 'event_field': store.c:2684:6: warning: old-style function definition [-Wold-style-definition] 2684 | void event_field(k, f) | ^~~~~~~~~~~ store.c: In function 'event_words': store.c:2734:6: warning: old-style function definition [-Wold-style-definition] 2734 | void event_words(p, continuation) | ^~~~~~~~~~~ store.c: In function 'append_words': store.c:2759:6: warning: old-style function definition [-Wold-style-definition] 2759 | void append_words (morewords) | ^~~~~~~~~~~~ store.c: In function 'appendfield': store.c:2768:6: warning: old-style function definition [-Wold-style-definition] 2768 | void appendfield (morewords) | ^~~~~~~~~~~ store.c: In function 'char_out': store.c:2794:13: warning: old-style function definition [-Wold-style-definition] --- midifile.o --- | ^~~~~~~~~~~~~~~~~~~~~ midifile.c:850:5: error: too many arguments to function 'write32bit'; expected 0, have 1 850 | write32bit(ident); | ^~~~~~~~~~ ~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c:851:5: error: too many arguments to function 'write32bit'; expected 0, have 1 851 | write32bit(length); | ^~~~~~~~~~ ~~~~~~ midifile.c:138:13: note: declared here 138 | static void write32bit(); | ^~~~~~~~~~ midifile.c:852:5: error: too many arguments to function 'write16bit'; expected 0, have 1 852 | write16bit(format); | ^~~~~~~~~~ ~~~~~~ midifile.c:139:13: note: declared here 139 | static void write16bit(); | ^~~~~~~~~~ midifile.c:853:5: error: too many arguments to function 'write16bit'; expected 0, have 1 853 | write16bit(ntracks); | ^~~~~~~~~~ ~~~~~~~ midifile.c:139:13: note: declared here 139 | static void write16bit(); --- store.o --- 2794 | static void char_out(part, ch) | ^~~~~~~~ store.c: In function 'read_spec': store.c:2812:13: warning: old-style function definition [-Wold-style-definition] 2812 | static void read_spec(spec, part) | ^~~~~~~~~ store.c: In function 'event_part': store.c:2918:6: warning: old-style function definition [-Wold-style-definition] 2918 | void event_part(s) | ^~~~~~~~~~ store.c: In function 'event_voice': store.c:2958:6: warning: old-style function definition [-Wold-style-definition] 2958 | void event_voice(n, s, vp) | ^~~~~~~~~~~ store.c: In function 'event_length': store.c:2991:6: warning: old-style function definition [-Wold-style-definition] 2991 | void event_length(n) | ^~~~~~~~~~~~ store.c: In function 'event_default_length': store.c:3002:6: warning: old-style function definition [-Wold-style-definition] 3002 | void event_default_length (n) | ^~~~~~~~~~~~~~~~~~~~ store.c: In function 'tempounits': --- midifile.o --- | ^~~~~~~~~~ midifile.c:854:5: error: too many arguments to function 'write16bit'; expected 0, have 1 854 | write16bit(division); | ^~~~~~~~~~ ~~~~~~~~ midifile.c:139:13: note: declared here 139 | static void write16bit(); | ^~~~~~~~~~ midifile.c: In function 'mf_write_midi_event': midifile.c:877:1: warning: old-style function definition [-Wold-style-definition] 877 | mf_write_midi_event(delta_time, type, chan, data, size) | ^~~~~~~~~~~~~~~~~~~ midifile.c:882:1: error: number of arguments doesn't match prototype 882 | { | ^ midifile.h:38:5: error: prototype declaration 38 | int mf_write_midi_event(); | ^~~~~~~~~~~~~~~~~~~ midifile.c:886:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 886 | WriteVarLen(delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:137:13: note: declared here 137 | static void WriteVarLen(); | ^~~~~~~~~~~ --- store.o --- store.c:3008:13: warning: old-style function definition [-Wold-style-definition] 3008 | static void tempounits(t_num, t_denom) | ^~~~~~~~~~ store.c: In function 'get_tempo_from_name': store.c:3027:5: warning: old-style function definition [-Wold-style-definition] 3027 | int get_tempo_from_name (s) /* [SS] 2010-12-07 */ | ^~~~~~~~~~~~~~~~~~~ store.c: In function 'is_abcm2ps_option': store.c:3041:5: warning: old-style function definition [-Wold-style-definition] 3041 | int is_abcm2ps_option (s) /* [SS] 2018-12-17 */ | ^~~~~~~~~~~~~~~~~ store.c: In function 'event_tempo': store.c:3054:6: warning: old-style function definition [-Wold-style-definition] 3054 | void event_tempo(n, a, b, rel, pre, post) | ^~~~~~~~~~~ store.c: In function 'event_timesig': store.c:3094:6: warning: old-style function definition [-Wold-style-definition] 3094 | void event_timesig (timesig) | ^~~~~~~~~~~~~ store.c: In function 'event_octave': store.c:3132:6: warning: old-style function definition [-Wold-style-definition] 3132 | void event_octave(num, local) | ^~~~~~~~~~~~ store.c: In function 'event_info_key': store.c:3147:6: warning: old-style function definition [-Wold-style-definition] 3147 | void event_info_key(key, value) | ^~~~~~~~~~~~~~ store.c: In function 'stack_broken': store.c:3179:13: warning: old-style function definition [-Wold-style-definition] 3179 | static void stack_broken(v) | ^~~~~~~~~~~~ store.c: In function 'restore_broken': store.c:3197:13: warning: old-style function definition [-Wold-style-definition] 3197 | static void restore_broken(v) | ^~~~~~~~~~~~~~ store.c: In function 'event_playonrep': store.c:3244:6: warning: old-style function definition [-Wold-style-definition] 3244 | void event_playonrep(s) | ^~~~~~~~~~~~~~~ store.c: In function 'event_sluron': store.c:3265:6: warning: old-style function definition [-Wold-style-definition] 3265 | void event_sluron(t) | ^~~~~~~~~~~~ store.c: In function 'event_sluroff': store.c:3276:6: warning: old-style function definition [-Wold-style-definition] 3276 | void event_sluroff(t) | ^~~~~~~~~~~~~ store.c: In function 'event_lineend': store.c:3307:6: warning: old-style function definition [-Wold-style-definition] 3307 | void event_lineend(ch, n) | ^~~~~~~~~~~~~ store.c: In function 'event_broken': store.c:3315:6: warning: old-style function definition [-Wold-style-definition] 3315 | void event_broken(type, mult) | ^~~~~~~~~~~~ store.c: In function 'event_tuple': store.c:3337:6: warning: old-style function definition [-Wold-style-definition] 3337 | void event_tuple(n, q, r) | ^~~~~~~~~~~ store.c: In function 'lenmul': store.c:3392:13: warning: old-style function definition [-Wold-style-definition] 3392 | static void lenmul(n, a, b) | ^~~~~~ store.c: In function 'event_spacing': store.c:3498:6: warning: old-style function definition [-Wold-style-definition] 3498 | void event_spacing(n, m) | ^~~~~~~~~~~~~ store.c: In function 'event_rest': store.c:3503:6: warning: old-style function definition [-Wold-style-definition] 3503 | void event_rest(decorators,n,m,type) | ^~~~~~~~~~ store.c: In function 'event_mrest': store.c:3551:6: warning: old-style function definition [-Wold-style-definition] 3551 | void event_mrest(n,m,c) | ^~~~~~~~~~~ store.c: In function 'event_finger': store.c:3644:6: warning: old-style function definition [-Wold-style-definition] 3644 | void event_finger(p) | ^~~~~~~~~~~~ store.c: In function 'pitchof': store.c:3651:12: warning: old-style function definition [-Wold-style-definition] 3651 | static int pitchof(note, accidental, mult, octave, propagate_accs) | ^~~~~~~ store.c: In function 'barepitch': store.c:3689:12: warning: old-style function definition [-Wold-style-definition] 3689 | static int barepitch(note, accidental, mult, octave) | ^~~~~~~~~ store.c: In function 'pitchof_b': store.c:3708:12: warning: old-style function definition [-Wold-style-definition] 3708 | static int pitchof_b(note, accidental, mult, octave, propagate_accs,pitchbend) | ^~~~~~~~~ store.c: In function 'doroll': store.c:3891:13: warning: old-style function definition [-Wold-style-definition] 3891 | static void doroll(note, octave, n, m, pitch) | ^~~~~~ store.c: In function 'doroll_setup': store.c:3929:13: warning: old-style function definition [-Wold-style-definition] 3929 | static void doroll_setup(note,octave,n,m,pitch) | ^~~~~~~~~~~~ store.c: In function 'doroll_output': store.c:3966:13: warning: old-style function definition [-Wold-style-definition] 3966 | static void doroll_output(i) | ^~~~~~~~~~~~~ store.c: In function 'dotrill_setup': store.c:4052:13: warning: old-style function definition [-Wold-style-definition] 4052 | static void dotrill_setup(note, octave, n, m, pitch) | ^~~~~~~~~~~~~ store.c: In function 'dotrill_output': store.c:4084:13: warning: old-style function definition [-Wold-style-definition] 4084 | static void dotrill_output(i) | ^~~~~~~~~~~~~~ store.c: In function 'makecut': store.c:4157:6: warning: old-style function definition [-Wold-style-definition] 4157 | void makecut (mainpitch, shortpitch,mainbend,shortbend, n,m) | ^~~~~~~ store.c: In function 'makeharproll': store.c:4168:6: warning: old-style function definition [-Wold-style-definition] 4168 | void makeharproll (pitch, bend,n,m) /* [JS] 2011-04-29 */ | ^~~~~~~~~~~~ store.c: In function 'makeharproll3': store.c:4179:6: warning: old-style function definition [-Wold-style-definition] 4179 | void makeharproll3 (pitch, bend,n,m) /* [JS] 2011-04-29 */ | ^~~~~~~~~~~~~ store.c: In function 'doornament': store.c:4192:13: warning: old-style function definition [-Wold-style-definition] 4192 | static void doornament(note, octave, n, m, pitch) | ^~~~~~~~~~ store.c: In function 'hornp': store.c:4262:13: warning: old-style function definition [-Wold-style-definition] 4262 | static void hornp(num, denom) | ^~~~~ store.c: In function 'event_note': store.c:4283:6: warning: old-style function definition [-Wold-style-definition] 4283 | void event_note(decorators, clef, accidental, mult, note, xoctave, n, m) | ^~~~~~~~~~ store.c: At top level: store.c:4418:6: error: conflicting types for 'event_temperament'; have 'void(char *)' 4418 | void event_temperament(char* line) | ^~~~~~~~~~~~~~~~~ In file included from store.c:207: parseabc.h:170:13: note: previous declaration of 'event_temperament' with type 'void(void)' 170 | extern void event_temperament(); | ^~~~~~~~~~~~~~~~~ store.c: In function 'get_accidental': store.c:4472:7: warning: old-style function definition [-Wold-style-definition] 4472 | char *get_accidental(place, accidental) | ^~~~~~~~~~~~~~ store.c: In function 'event_handle_gchord': store.c:4492:6: warning: old-style function definition [-Wold-style-definition] 4492 | void event_handle_gchord(s) | ^~~~~~~~~~~~~~~~~~~ store.c: In function 'event_handle_instruction': store.c:4576:6: warning: old-style function definition [-Wold-style-definition] 4576 | void event_handle_instruction(s) | ^~~~~~~~~~~~~~~~~~~~~~~~ store.c: In function 'setmap': store.c:4747:13: warning: old-style function definition [-Wold-style-definition] 4747 | static void setmap(sf, map, mult) | ^~~~~~ store.c: In function 'altermap': store.c:4775:13: warning: old-style function definition [-Wold-style-definition] 4775 | static void altermap(v, modmap, modmul,modmic) | ^~~~~~~~ store.c: In function 'copymap': store.c:4795:13: warning: old-style function definition [-Wold-style-definition] 4795 | static void copymap(v) | ^~~~~~~ store.c: In function 'myputc': store.c:4815:5: warning: old-style function definition [-Wold-style-definition] 4815 | int myputc(c) | ^~~~~~ store.c: In function 'nondestructive_readstr': store.c:4830:6: warning: old-style function definition [-Wold-style-definition] 4830 | void nondestructive_readstr(out, in, limit) | ^~~~~~~~~~~~~~~~~~~~~~ store.c: In function 'dotie': store.c:4846:13: warning: old-style function definition [-Wold-style-definition] 4846 | static void dotie(j, xinchord,voiceno) | ^~~~~ store.c: In function 'applygrace': store.c:5111:13: warning: old-style function definition [-Wold-style-definition] 5111 | static void applygrace(place) | ^~~~~~~~~~ store.c: In function 'applygrace_orig': store.c:5123:13: warning: old-style function definition [-Wold-style-definition] 5123 | static void applygrace_orig(place) | ^~~~~~~~~~~~~~~ store.c: In function 'applygrace_new': store.c:5234:13: warning: old-style function definition [-Wold-style-definition] 5234 | static void applygrace_new(place) | ^~~~~~~~~~~~~~ store.c: In function 'event_bar': store.c:5415:6: warning: old-style function definition [-Wold-style-definition] 5415 | void event_bar(type, replist) | ^~~~~~~~~ store.c: In function 'placeendrep': store.c:5471:13: warning: old-style function definition [-Wold-style-definition] 5471 | static void placeendrep(j) | ^~~~~~~~~~~ store.c: In function 'placestartrep': store.c:5493:13: warning: old-style function definition [-Wold-style-definition] 5493 | static void placestartrep(j) | ^~~~~~~~~~~~~ store.c: In function 'apply_bf_stress_factors': store.c:5748:15: error: too many arguments to function 'parse_stress_params'; expected 0, have 1 5748 | if (parse_stress_params (inputfile) == -1) readstressfile (inputfile); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ store.c:515:5: note: declared here 515 | int parse_stress_params(); | ^~~~~~~~~~~~~~~~~~~ store.c: In function 'event_key': store.c:5923:6: warning: old-style function definition [-Wold-style-definition] 5923 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone, gotkey, gotclef, clefname, clef, | ^~~~~~~~~ store.c: In function 'finishfile': store.c:6207:9: error: too many arguments to function 'writetrack'; expected 0, have 1 6207 | writetrack(0); | ^~~~~~~~~~ ~ store.c:507:13: note: declared here 507 | extern long writetrack(); | ^~~~~~~~~~ store.c:6212:16: error: too many arguments to function 'writetrack'; expected 0, have 1 6212 | writetrack(i); | ^~~~~~~~~~ ~ store.c:507:13: note: declared here 507 | extern long writetrack(); | ^~~~~~~~~~ store.c:6219:16: error: too many arguments to function 'writetrack'; expected 0, have 1 6219 | writetrack(i); | ^~~~~~~~~~ ~ store.c:507:13: note: declared here 507 | extern long writetrack(); | ^~~~~~~~~~ store.c:6233:9: error: too many arguments to function 'mfwrite'; expected 0, have 4 6233 | mfwrite(0, 1, division, fp); | ^~~~~~~ ~ In file included from store.c:209: midifile.h:35:6: note: declared here 35 | void mfwrite(); | ^~~~~~~ store.c:6235:9: error: too many arguments to function 'mfwrite'; expected 0, have 4 6235 | mfwrite(1, ntracks, division, fp); | ^~~~~~~ ~ midifile.h:35:6: note: declared here 35 | void mfwrite(); | ^~~~~~~ store.c: In function 'event_refno': store.c:6266:6: warning: old-style function definition [-Wold-style-definition] 6266 | void event_refno(n) | ^~~~~~~~~~~ store.c: In function 'main': store.c:6342:5: warning: old-style function definition [-Wold-style-definition] 6342 | int main(argc,argv) | ^~~~ store.c:6363:5: error: too many arguments to function 'parsefile'; expected 0, have 1 6363 | parsefile(filename); | ^~~~~~~~~ ~~~~~~~~ parseabc.h:174:13: note: declared here 174 | extern void parsefile(); | ^~~~~~~~~ *** [store.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi --- midifile.o --- midifile.c:893:7: error: too many arguments to function 'mferror'; expected 0, have 1 893 | mferror("error: MIDI channel greater than 16"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ midifile.c:896:5: error: too many arguments to function 'eputc'; expected 0, have 1 896 | eputc(c); | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:900:3: error: too many arguments to function 'eputc'; expected 0, have 1 900 | eputc(data[i]); | ^~~~~ ~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'mf_write_meta_event': midifile.c:920:1: warning: old-style function definition [-Wold-style-definition] 920 | mf_write_meta_event(delta_time, type, data, size) | ^~~~~~~~~~~~~~~~~~~ midifile.c:925:1: error: number of arguments doesn't match prototype 925 | { | ^ midifile.h:37:5: error: prototype declaration 37 | int mf_write_meta_event(); | ^~~~~~~~~~~~~~~~~~~ midifile.c:928:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 928 | WriteVarLen(delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:137:13: note: declared here 137 | static void WriteVarLen(); | ^~~~~~~~~~~ midifile.c:931:5: error: too many arguments to function 'eputc'; expected 0, have 1 931 | eputc(meta_event); | ^~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:934:5: error: too many arguments to function 'eputc'; expected 0, have 1 934 | eputc(type); | ^~~~~ ~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:937:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 937 | WriteVarLen((long)size); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:137:13: note: declared here 137 | static void WriteVarLen(); | ^~~~~~~~~~~ midifile.c:941:6: error: too many arguments to function 'eputc'; expected 0, have 1 941 | if(eputc((data[i] & 0xff)) != (data[i] & 0xff)) | ^~~~~ ~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'mf_write_tempo': midifile.c:948:1: warning: old-style function definition [-Wold-style-definition] 948 | mf_write_tempo(tempo) | ^~~~~~~~~~~~~~ midifile.c:950:1: error: number of arguments doesn't match prototype 950 | { | ^ midifile.h:39:6: error: prototype declaration 39 | void mf_write_tempo(); | ^~~~~~~~~~~~~~ midifile.c:954:5: error: too many arguments to function 'eputc'; expected 0, have 1 954 | eputc(0); | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:955:5: error: too many arguments to function 'eputc'; expected 0, have 1 955 | eputc(meta_event); | ^~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:956:5: error: too many arguments to function 'eputc'; expected 0, have 1 956 | eputc(set_tempo); | ^~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:958:5: error: too many arguments to function 'eputc'; expected 0, have 1 958 | eputc(3); | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:959:5: error: too many arguments to function 'eputc'; expected 0, have 1 959 | eputc((char)(0xff & (tempo >> 16))); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:960:5: error: too many arguments to function 'eputc'; expected 0, have 1 960 | eputc((char)(0xff & (tempo >> 8))); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:961:5: error: too many arguments to function 'eputc'; expected 0, have 1 961 | eputc((char)(0xff & tempo)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'mf_sec2ticks': midifile.c:973:1: warning: old-style function definition [-Wold-style-definition] 973 | mf_sec2ticks(secs,division,tempo) | ^~~~~~~~~~~~ midifile.c:977:1: error: number of arguments doesn't match prototype 977 | { | ^ midifile.h:34:6: error: prototype declaration 34 | long mf_sec2ticks(); | ^~~~~~~~~~~~ midifile.c: In function 'WriteVarLen': midifile.c:996:1: warning: old-style function definition [-Wold-style-definition] 996 | WriteVarLen(value) | ^~~~~~~~~~~ midifile.c:1009:8: error: too many arguments to function 'eputc'; expected 0, have 1 1009 | eputc((char)(buffer & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'single_note_tuning_change': midifile.c:1024:1: error: too many arguments to function 'eputc'; expected 0, have 1 1024 | eputc(0); /* varinum delta_t (time to next event) */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1025:1: error: too many arguments to function 'eputc'; expected 0, have 1 1025 | eputc(0xf0); /* sysex initiation */ | ^~~~~ ~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1026:2: error: too many arguments to function 'eputc'; expected 0, have 1 1026 | eputc(11); /* 11 bytes included in sysex */ | ^~~~~ ~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1027:1: error: too many arguments to function 'eputc'; expected 0, have 1 1027 | eputc(127); /* universal sysex command (0x7f) */ | ^~~~~ ~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1028:1: error: too many arguments to function 'eputc'; expected 0, have 1 1028 | eputc(0); /* device id */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1029:1: error: too many arguments to function 'eputc'; expected 0, have 1 1029 | eputc(8); /* midi tuning */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1030:1: error: too many arguments to function 'eputc'; expected 0, have 1 1030 | eputc(2); /* note change */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1031:1: error: too many arguments to function 'eputc'; expected 0, have 1 1031 | eputc(0); /* program number 0 - 127 */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1032:1: error: too many arguments to function 'eputc'; expected 0, have 1 1032 | eputc(1); /* only one change */ | ^~~~~ ~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1034:1: error: too many arguments to function 'eputc'; expected 0, have 1 1034 | eputc(kk); /* MIDI key 0 - 127 */ | ^~~~~ ~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1044:1: error: too many arguments to function 'eputc'; expected 0, have 1 1044 | eputc(xx); | ^~~~~ ~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1045:1: error: too many arguments to function 'eputc'; expected 0, have 1 1045 | eputc(yy); | ^~~~~ ~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1046:1: error: too many arguments to function 'eputc'; expected 0, have 1 1046 | eputc(zz); | ^~~~~ ~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1047:1: error: too many arguments to function 'eputc'; expected 0, have 1 1047 | eputc(247); /* 0xf7 terminates sysex command */ | ^~~~~ ~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'mf_ticks2sec': midifile.c:1057:1: warning: old-style function definition [-Wold-style-definition] 1057 | mf_ticks2sec(ticks,division,tempo) | ^~~~~~~~~~~~ midifile.c:1061:1: error: number of arguments doesn't match prototype 1061 | { | ^ midifile.h:33:7: error: prototype declaration 33 | float mf_ticks2sec(); | ^~~~~~~~~~~~ midifile.c: In function 'write32bit': midifile.c:1088:1: warning: old-style function definition [-Wold-style-definition] 1088 | write32bit(data) | ^~~~~~~~~~ midifile.c:1091:5: error: too many arguments to function 'eputc'; expected 0, have 1 1091 | eputc((char)((data >> 24) & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1092:5: error: too many arguments to function 'eputc'; expected 0, have 1 1092 | eputc((char)((data >> 16) & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1093:5: error: too many arguments to function 'eputc'; expected 0, have 1 1093 | eputc((char)((data >> 8 ) & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1094:5: error: too many arguments to function 'eputc'; expected 0, have 1 1094 | eputc((char)(data & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'write16bit': midifile.c:1098:1: warning: old-style function definition [-Wold-style-definition] 1098 | write16bit(data) | ^~~~~~~~~~ midifile.c:1101:5: error: too many arguments to function 'eputc'; expected 0, have 1 1101 | eputc((char)((data & 0xff00) >> 8)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c:1102:5: error: too many arguments to function 'eputc'; expected 0, have 1 1102 | eputc((char)(data & 0xff)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ midifile.c:141:12: note: declared here 141 | static int eputc(); | ^~~~~ midifile.c: In function 'eputc': midifile.c:1106:12: warning: old-style function definition [-Wold-style-definition] 1106 | static int eputc(c) | ^~~~~ midifile.c:1113:5: error: too many arguments to function 'mferror'; expected 0, have 1 1113 | mferror("Mf_putc undefined"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ midifile.c:1117:17: error: too many arguments to function 'Mf_putc'; expected 0, have 1 1117 | return_val = (*Mf_putc)(c); | ~^~~~~~~~~ ~ midifile.c:1120:5: error: too many arguments to function 'mferror'; expected 0, have 1 1120 | mferror("error writing"); | ^~~~~~~ ~~~~~~~~~~~~~~~ midifile.c:578:6: note: declared here 578 | void mferror(s) | ^~~~~~~ *** [midifile.o] Error code 1 bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi bmake: 5 errors bmake: stopped making "all" in /tmp/work/audio/abcmidi/work/abcmidi *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/abcmidi *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/abcmidi