D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expected
Installing /home/pterjan/rpmbuild/SRPMS/abcmidi-2025.02.16-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bgbOs9
sh: line 4: [: -j8: integer expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wr94Td
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/abcmidi-2025.02.16-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/abcmidi-2025.02.16-build
+ rm -rf abcmidi
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/abcMIDI-2025.02.16.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd abcmidi
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LDhXuw
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/abcmidi-2025.02.16-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd abcmidi
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for size_t... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for strcasecmp... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o parser2.o parser2.c
parser2.c: In function 'splitstring':
parser2.c:30:13: warning: old-style function definition [-Wold-style-definition]
   30 | static void splitstring(s, sep, handler)
      |             ^~~~~~~~~~~
parser2.c:52:6: error: too many arguments to function 'handler'; expected 0, have 1
   52 |     (*handler)(out);
      |     ~^~~~~~~~~ ~~~
parser2.c: In function 'event_gchord':
parser2.c:56:6: warning: old-style function definition [-Wold-style-definition]
   56 | void event_gchord(s)
      |      ^~~~~~~~~~~~
parser2.c: In function 'event_instruction':
parser2.c:63:6: warning: old-style function definition [-Wold-style-definition]
   63 | void event_instruction(s)
      |      ^~~~~~~~~~~~~~~~~
parser2.c: In function 'event_slur':
parser2.c:70:6: warning: old-style function definition [-Wold-style-definition]
   70 | void event_slur(t)
      |      ^~~~~~~~~~
make: *** [<builtin>: parser2.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o crack.o crack.c
crack.c: In function 'crack':
crack.c:77:7: warning: old-style function definition [-Wold-style-definition]
   77 | char* crack(argc, argv, flags, ign)
      |       ^~~~~
crack.c:80:23: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
   80 |     char *pv, *flgp, *strchr();
      |                       ^~~~~~
crack.c:67:1: note: 'strchr' is declared in header '<string.h>'
   66 | #include <stdlib.h>
  +++ |+#include <string.h>
   67 | 
crack.c:95:23: error: too many arguments to function 'strchr'; expected 0, have 2
   95 |             if ((flgp=strchr(flags,*pv)) != NULL)
      |                       ^~~~~~ ~~~~~
crack.c:80:23: note: declared here
   80 |     char *pv, *flgp, *strchr();
      |                       ^~~~~~
make: *** [<builtin>: crack.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o mftext.o mftext.c
mftext.c: In function 'main':
mftext.c:33:5: warning: old-style function definition [-Wold-style-definition]
   33 | int main(argc,argv)
      |     ^~~~
mftext.c:43:15: error: too many arguments to function 'crack'; expected 0, have 4
   43 |   while((ch = crack(argc,argv,"s",0)) != NULL){
      |               ^~~~~ ~~~~
mftext.c:39:9: note: declared here
   39 |   char *crack();
      |         ^~~~~
mftext.c:52:11: error: too many arguments to function 'efopen'; expected 0, have 2
   52 |       F = efopen(argv[arg_index],"rb");
      |           ^~~~~~ ~~~~~~~~~~~~~~~
mftext.c:37:9: note: declared here
   37 |   FILE *efopen();
      |         ^~~~~~
mftext.c: In function 'efopen':
mftext.c:37:9: warning: old-style function definition [-Wold-style-definition]
mftext.c:65:1: error: number of arguments doesn't match prototype
   65 | {
      | ^
mftext.c:37:9: error: prototype declaration
   37 |   FILE *efopen();
      |         ^~~~~~
mftext.c: In function 'error':
mftext.c:75:6: warning: old-style function definition [-Wold-style-definition]
   75 | void error(s)
      |      ^~~~~
mftext.c: In function 'prtime':
mftext.c:84:23: error: too many arguments to function 'mf_ticks2sec'; expected 0, have 3
   84 |   printf("Time=%f   ",mf_ticks2sec(Mf_currtime,division,tempo));
      |                       ^~~~~~~~~~~~ ~~~~~~~~~~~
In file included from mftext.c:15:
midifile.h:33:7: note: declared here
   33 | float mf_ticks2sec();
      |       ^~~~~~~~~~~~
mftext.c: In function 'txt_header':
mftext.c:89:6: warning: old-style function definition [-Wold-style-definition]
   89 | void txt_header(format,ntrks,ldivision)
      |      ^~~~~~~~~~
mftext.c: In function 'txt_noteon':
mftext.c:106:6: warning: old-style function definition [-Wold-style-definition]
  106 | void txt_noteon(chan,pitch,vol)
      |      ^~~~~~~~~~
mftext.c: In function 'txt_noteoff':
mftext.c:113:6: warning: old-style function definition [-Wold-style-definition]
  113 | void txt_noteoff(chan,pitch,vol)
      |      ^~~~~~~~~~~
mftext.c: In function 'txt_pressure':
mftext.c:120:6: warning: old-style function definition [-Wold-style-definition]
  120 | void txt_pressure(chan,pitch,press)
      |      ^~~~~~~~~~~~
mftext.c: In function 'txt_parameter':
mftext.c:127:6: warning: old-style function definition [-Wold-style-definition]
  127 | void txt_parameter(chan,control,value)
      |      ^~~~~~~~~~~~~
mftext.c: In function 'txt_pitchbend':
mftext.c:136:6: warning: old-style function definition [-Wold-style-definition]
  136 | void txt_pitchbend(chan,lsb,msb)
      |      ^~~~~~~~~~~~~
mftext.c: In function 'txt_program':
mftext.c:143:6: warning: old-style function definition [-Wold-style-definition]
  143 | void txt_program(chan,program)
      |      ^~~~~~~~~~~
mftext.c: In function 'txt_chanpressure':
mftext.c:150:6: warning: old-style function definition [-Wold-style-definition]
  150 | void txt_chanpressure(chan,press)
      |      ^~~~~~~~~~~~~~~~
mftext.c: In function 'txt_sysex':
mftext.c:157:6: warning: old-style function definition [-Wold-style-definition]
  157 | void txt_sysex(leng,mess)
      |      ^~~~~~~~~
mftext.c: In function 'txt_metamisc':
mftext.c:165:6: warning: old-style function definition [-Wold-style-definition]
  165 | void txt_metamisc(type,leng,mess)
      |      ^~~~~~~~~~~~
mftext.c: In function 'txt_metaspecial':
mftext.c:173:6: warning: old-style function definition [-Wold-style-definition]
  173 | void txt_metaspecial(type,leng,mess)
      |      ^~~~~~~~~~~~~~~
mftext.c: In function 'txt_metatext':
mftext.c:181:6: warning: old-style function definition [-Wold-style-definition]
  181 | void txt_metatext(type,leng,mess)
      |      ^~~~~~~~~~~~
mftext.c: In function 'txt_metaseq':
mftext.c:212:6: warning: old-style function definition [-Wold-style-definition]
  212 | void txt_metaseq(num)
      |      ^~~~~~~~~~~
mftext.c: In function 'txt_keysig':
mftext.c:225:6: warning: old-style function definition [-Wold-style-definition]
  225 | void txt_keysig(sf,mi)
      |      ^~~~~~~~~~
mftext.c: In function 'txt_tempo':
mftext.c:232:6: warning: old-style function definition [-Wold-style-definition]
  232 | void txt_tempo(ltempo)
      |      ^~~~~~~~~
mftext.c: In function 'txt_timesig':
mftext.c:240:6: warning: old-style function definition [-Wold-style-definition]
  240 | void txt_timesig(nn,dd,cc,bb)
      |      ^~~~~~~~~~~
mftext.c: In function 'txt_smpte':
mftext.c:251:6: warning: old-style function definition [-Wold-style-definition]
  251 | void txt_smpte(hr,mn,se,fr,ff)
      |      ^~~~~~~~~
mftext.c: In function 'txt_arbitrary':
mftext.c:259:6: warning: old-style function definition [-Wold-style-definition]
  259 | void txt_arbitrary(leng,mess)
      |      ^~~~~~~~~~~~~
make: *** [<builtin>: mftext.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o queues.o queues.c
queues.c: In function 'addtoQ':
queues.c:90:6: warning: old-style function definition [-Wold-style-definition]
   90 | void addtoQ(num, denom, pitch, chan, effect, d)
      |      ^~~~~~
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)
      |      ^~~~~~~~
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);
      |      ^~~~~~~~~~~~~~~~~~~ ~~~~~~
In file included from queues.c:40:
midifile.h:38:5: note: declared here
   38 | int mf_write_midi_event();
      |     ^~~~~~~~~~~~~~~~~~~
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();
      |     ^~~~~~~~~~~~~~~~~~~
queues.c: In function 'note_effect2':
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.h:38:5: note: declared here
   38 | int mf_write_midi_event();
      |     ^~~~~~~~~~~~~~~~~~~
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();
      |     ^~~~~~~~~~~~~~~~~~~
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)
      |      ^~~~~~~~~~~~
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();
      |     ^~~~~~~~~~~~~~~~~~~
queues.c: In function 'note_effect5':
queues.c:451:6: warning: old-style function definition [-Wold-style-definition]
  451 | void note_effect5(chan)
      |      ^~~~~~~~~~~~
queues.c: In function 'timestep':
queues.c:573:6: warning: old-style function definition [-Wold-style-definition]
  573 | void timestep(t, atend)
      |      ^~~~~~~~
make: *** [<builtin>: queues.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o midifile.o midifile.c
midifile.c: In function 'mfread':
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();
      |      ^~~~~~~
midifile.c: In function 'mfreadtrk':
midifile.c:166:6: warning: old-style function definition [-Wold-style-definition]
  166 | void mfreadtrk(itrack)     /* The only non-static function in this file. */
      |      ^~~~~~~~~
midifile.c:171:5: error: too many arguments to function 'mferror'; expected 0, have 1
  171 |     mferror("mfprocess() called without setting Mf_getc");
      |     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
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 */
      | ^~~~~~
midifile.c:206:7: error: too many arguments to function 'mferror'; expected 0, have 1
  206 |       mferror(buff);
      |       ^~~~~~~ ~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c: In function 'egetc':
midifile.c:218:5: error: too many arguments to function 'mferror'; expected 0, have 1
  218 |     mferror("premature EOF");
      |     ^~~~~~~ ~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c: In function 'readheader':
midifile.c:239:6: error: too many arguments to function 'Mf_header'; expected 0, have 3
  239 |     (*Mf_header)(format,ntrks,division);
      |     ~^~~~~~~~~~~ ~~~~~~
midifile.c: In function 'skiptrack':
midifile.c:254:19: error: too many arguments to function 'mferror'; expected 0, have 1
  254 | if (byte == EOF) {mferror("premature EOF\n"); return(0);}
      |                   ^~~~~~~ ~~~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c: In function 'readtrack':
midifile.c:294:30: error: too many arguments to function 'mferror'; expected 0, have 1
  294 |                              mferror("bad time increment");
      |                              ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c:301:7: error: too many arguments to function 'mferror'; expected 0, have 1
  301 |       mferror("didn't find expected continuation of a sysex");
      |       ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c:308:9: error: too many arguments to function 'mferror'; expected 0, have 1
  308 |         mferror("unexpected running status");
      |         ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c:327:9: error: too many arguments to function 'chanmessage'; expected 0, have 3
  327 |         chanmessage( laststatus, c1, (needed>1) ? egetc() : 0 );
      |         ^~~~~~~~~~~  ~~~~~~~~~~
midifile.c:131:13: note: declared here
  131 | static void chanmessage();
      |             ^~~~~~~~~~~
midifile.c:331:9: error: too many arguments to function 'chanmessage'; expected 0, have 3
  331 |         chanmessage( status, c1, (needed>1) ? egetc() : 0 );
      |         ^~~~~~~~~~~  ~~~~~~
midifile.c:131:13: note: declared here
  131 | static void chanmessage();
      |             ^~~~~~~~~~~
midifile.c:346:9: error: too many arguments to function 'msgadd'; expected 0, have 1
  346 |         msgadd(egetc());
      |         ^~~~~~ ~~~~~~~
midifile.c:133:13: note: declared here
  133 | static void msgadd();
      |             ^~~~~~
midifile.c:348:7: error: too many arguments to function 'metaevent'; expected 0, have 1
  348 |       metaevent(type);
      |       ^~~~~~~~~ ~~~~
midifile.c:129:13: note: declared here
  129 | static void metaevent();
      |             ^~~~~~~~~
midifile.c:356:7: error: too many arguments to function 'msgadd'; expected 0, have 1
  356 |       msgadd(0xf0);
      |       ^~~~~~ ~~~~
midifile.c:133:13: note: declared here
  133 | static void msgadd();
      |             ^~~~~~
midifile.c:359:9: error: too many arguments to function 'msgadd'; expected 0, have 1
  359 |         msgadd(c=egetc());
      |         ^~~~~~ ~~~~~~~~~
midifile.c:133:13: note: declared here
  133 | static void msgadd();
      |             ^~~~~~
midifile.c:376:9: error: too many arguments to function 'msgadd'; expected 0, have 1
  376 |         msgadd(c=egetc());
      |         ^~~~~~ ~~~~~~~~~
midifile.c:133:13: note: declared here
  133 | static void msgadd();
      |             ^~~~~~
midifile.c:380:12: error: too many arguments to function 'Mf_arbitrary'; expected 0, have 2
  380 |           (*Mf_arbitrary)(msgleng(),msg());
      |           ~^~~~~~~~~~~~~~ ~~~~~~~~~
midifile.c:388:7: error: too many arguments to function 'badbyte'; expected 0, have 1
  388 |       badbyte(c);
      |       ^~~~~~~ ~
midifile.c:128:13: note: declared here
  128 | static void badbyte();
      |             ^~~~~~~
midifile.c: In function 'badbyte':
midifile.c:398:1: warning: old-style function definition [-Wold-style-definition]
  398 | badbyte(c)
      | ^~~~~~~
midifile.c:404:3: error: too many arguments to function 'mferror'; expected 0, have 1
  404 |   mferror(buff);
      |   ^~~~~~~ ~~~~
midifile.h:40:6: note: declared here
   40 | void mferror();
      |      ^~~~~~~
midifile.c: In function 'metaevent':
midifile.c:408:1: warning: old-style function definition [-Wold-style-definition]
  408 | metaevent(type)
      | ^~~~~~~~~
midifile.c:422:20: error: too many arguments to function 'to16bit'; expected 0, have 2
  422 |       (*Mf_seqnum)(to16bit(m[0],m[1]));
      |                    ^~~~~~~ ~~~~
midifile.c:121:12: note: declared here
  121 | static int to16bit();
      |            ^~~~~~~
midifile.c:422:8: error: too many arguments to function 'Mf_seqnum'; expected 0, have 1
  422 |       (*Mf_seqnum)(to16bit(m[0],m[1]));
      |       ~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
midifile.c:442:8: error: too many arguments to function 'Mf_text'; expected 0, have 3
  442 |       (*Mf_text)(type,leng,m);
      |       ~^~~~~~~~~ ~~~~
midifile.c:450:19: error: too many arguments to function 'to32bit'; expected 0, have 4
  450 |       (*Mf_tempo)(to32bit(0,m[0],m[1],m[2]));
      |                   ^~~~~~~ ~
midifile.c:119:13: note: declared here
  119 | static long to32bit();
      |             ^~~~~~~
midifile.c:450:8: error: too many arguments to function 'Mf_tempo'; expected 0, have 1
  450 |       (*Mf_tempo)(to32bit(0,m[0],m[1],m[2]));
      |       ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:454:8: error: too many arguments to function 'Mf_smpte'; expected 0, have 5
  454 |       (*Mf_smpte)(m[0],m[1],m[2],m[3],m[4]);
      |       ~^~~~~~~~~~ ~~~~
midifile.c:458:8: error: too many arguments to function 'Mf_timesig'; expected 0, have 4
  458 |       (*Mf_timesig)(m[0],m[1],m[2],m[3]);
      |       ~^~~~~~~~~~~~ ~~~~
midifile.c:462:8: error: too many arguments to function 'Mf_keysig'; expected 0, have 2
  462 |       (*Mf_keysig)(m[0],m[1]);
      |       ~^~~~~~~~~~~ ~~~~
midifile.c:466:8: error: too many arguments to function 'Mf_seqspecific'; expected 0, have 2
  466 |       (*Mf_seqspecific)(leng,m);
      |       ~^~~~~~~~~~~~~~~~ ~~~~
midifile.c:470:8: error: too many arguments to function 'Mf_metamisc'; expected 0, have 3
  470 |       (*Mf_metamisc)(type,leng,m);
      |       ~^~~~~~~~~~~~~ ~~~~
midifile.c: In function 'sysex':
midifile.c:478:6: error: too many arguments to function 'Mf_sysex'; expected 0, have 2
  478 |     (*Mf_sysex)(msgleng(),msg());
      |     ~^~~~~~~~~~ ~~~~~~~~~
midifile.c: In function 'chanmessage':
midifile.c:482:1: warning: old-style function definition [-Wold-style-definition]
  482 | chanmessage(status,c1,c2)
      | ^~~~~~~~~~~
midifile.c:491:8: error: too many arguments to function 'Mf_noteoff'; expected 0, have 3
  491 |       (*Mf_noteoff)(chan,c1,c2);
      |       ~^~~~~~~~~~~~ ~~~~
midifile.c:495:8: error: too many arguments to function 'Mf_noteon'; expected 0, have 3
  495 |       (*Mf_noteon)(chan,c1,c2);
      |       ~^~~~~~~~~~~ ~~~~
midifile.c:499:8: error: too many arguments to function 'Mf_pressure'; expected 0, have 3
  499 |       (*Mf_pressure)(chan,c1,c2);
      |       ~^~~~~~~~~~~~~ ~~~~
midifile.c:503:8: error: too many arguments to function 'Mf_parameter'; expected 0, have 3
  503 |       (*Mf_parameter)(chan,c1,c2);
      |       ~^~~~~~~~~~~~~~ ~~~~
midifile.c:507:8: error: too many arguments to function 'Mf_pitchbend'; expected 0, have 3
  507 |       (*Mf_pitchbend)(chan,c1,c2);
      |       ~^~~~~~~~~~~~~~ ~~~~
midifile.c:511:8: error: too many arguments to function 'Mf_program'; expected 0, have 2
  511 |       (*Mf_program)(chan,c1);
      |       ~^~~~~~~~~~~~ ~~~~
midifile.c:515:8: error: too many arguments to function 'Mf_chanpressure'; expected 0, have 2
  515 |       (*Mf_chanpressure)(chan,c1);
      |       ~^~~~~~~~~~~~~~~~~ ~~~~
midifile.c: In function 'to32bit':
midifile.c:542:1: warning: old-style function definition [-Wold-style-definition]
  542 | to32bit(c1,c2,c3,c4)
      | ^~~~~~~
midifile.c: In function 'to16bit':
midifile.c:555:1: warning: old-style function definition [-Wold-style-definition]
  555 | to16bit(c1,c2)
      | ^~~~~~~
midifile.c: In function 'read32bit':
midifile.c:570:10: error: too many arguments to function 'to32bit'; expected 0, have 4
  570 |   return to32bit(c1,c2,c3,c4);
      |          ^~~~~~~ ~~
midifile.c:542:1: note: declared here
  542 | to32bit(c1,c2,c3,c4)
      | ^~~~~~~
midifile.c: In function 'read16bit':
midifile.c:579:10: error: too many arguments to function 'to16bit'; expected 0, have 2
  579 |   return to16bit(c1,c2);
      |          ^~~~~~~ ~~
midifile.c:555:1: note: declared here
  555 | to16bit(c1,c2)
      | ^~~~~~~
midifile.c: In function 'mferror':
midifile.c:583:6: warning: old-style function definition [-Wold-style-definition]
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:585:1: error: number of arguments doesn't match prototype
  585 | {
      | ^
midifile.h:40:6: error: prototype declaration
   40 | void mferror();
      |      ^~~~~~~
midifile.c:587:6: error: too many arguments to function 'Mf_error'; expected 0, have 1
  587 |     (*Mf_error)(s);
      |     ~^~~~~~~~~~ ~
midifile.c: In function 'msgadd':
midifile.c:623:1: warning: old-style function definition [-Wold-style-definition]
  623 | msgadd(c)
      | ^~~~~~
midifile.c: In function 'biggermsg':
midifile.c:646:5: error: too many arguments to function 'mferror'; expected 0, have 1
  646 |     mferror("malloc error!");
      |     ^~~~~~~ ~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c: In function 'mfwrite':
midifile.c:690:1: warning: old-style function definition [-Wold-style-definition]
  690 | mfwrite(format,ntracks,division,fp)
      | ^~~~~~~
midifile.c:693:1: error: number of arguments doesn't match prototype
  693 | {
      | ^
midifile.h:35:6: error: prototype declaration
   35 | void mfwrite();
      |      ^~~~~~~
midifile.c:697:7: error: too many arguments to function 'mferror'; expected 0, have 1
  697 |       mferror("mf_write() called without setting Mf_putc");
      |       ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:700:7: error: too many arguments to function 'mferror'; expected 0, have 1
  700 |       mferror("mf_write() called without setting Mf_writetrack");
      |       ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:703:5: error: too many arguments to function 'mf_write_header_chunk'; expected 0, have 3
  703 |     mf_write_header_chunk(format,ntracks,division);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~
midifile.c:136:13: note: declared here
  136 | static void mf_write_header_chunk();
      |             ^~~~~~~~~~~~~~~~~~~~~
midifile.c:713:9: error: too many arguments to function 'mf_write_track_chunk'; expected 0, have 2
  713 |         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':
midifile.c:720:5: warning: old-style function definition [-Wold-style-definition]
  720 | int nullputc(c)
      |     ^~~~~~~~
midifile.c: In function 'mf_write_track_chunk':
midifile.c:732:1: warning: old-style function definition [-Wold-style-definition]
  732 | mf_write_track_chunk(which_track,fp)
      | ^~~~~~~~~~~~~~~~~~~~
midifile.c:798:3: error: too many arguments to function 'write32bit'; expected 0, have 1
  798 |   write32bit(trkhdr);
      |   ^~~~~~~~~~ ~~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c:799:3: error: too many arguments to function 'write32bit'; expected 0, have 1
  799 |   write32bit(trklength);
      |   ^~~~~~~~~~ ~~~~~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c:805:19: error: too many arguments to function 'Mf_writetrack'; expected 0, have 1
  805 |       endspace = (*Mf_writetrack)(which_track);
      |                  ~^~~~~~~~~~~~~~~ ~~~~~~~~~~~
midifile.c:809:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
  809 |   WriteVarLen(endspace);
      |   ^~~~~~~~~~~ ~~~~~~~~
midifile.c:137:13: note: declared here
  137 | static void WriteVarLen();
      |             ^~~~~~~~~~~
midifile.c:811:3: error: too many arguments to function 'eputc'; expected 0, have 1
  811 |   eputc(meta_event);
      |   ^~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:812:3: error: too many arguments to function 'eputc'; expected 0, have 1
  812 |   eputc(end_of_track);
      |   ^~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:814:4: error: too many arguments to function 'eputc'; expected 0, have 1
  814 |    eputc(0);
      |    ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:831:7: error: too many arguments to function 'mferror'; expected 0, have 1
  831 |       mferror("error seeking during final stage of write");
      |       ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:836:3: error: too many arguments to function 'write32bit'; expected 0, have 1
  836 |   write32bit(trkhdr);
      |   ^~~~~~~~~~ ~~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c:837:3: error: too many arguments to function 'write32bit'; expected 0, have 1
  837 |   write32bit(trklength);
      |   ^~~~~~~~~~ ~~~~~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c: In function 'mf_write_header_chunk':
midifile.c:845:1: warning: old-style function definition [-Wold-style-definition]
  845 | mf_write_header_chunk(format,ntracks,division)
      | ^~~~~~~~~~~~~~~~~~~~~
midifile.c:855:5: error: too many arguments to function 'write32bit'; expected 0, have 1
  855 |     write32bit(ident);
      |     ^~~~~~~~~~ ~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c:856:5: error: too many arguments to function 'write32bit'; expected 0, have 1
  856 |     write32bit(length);
      |     ^~~~~~~~~~ ~~~~~~
midifile.c:138:13: note: declared here
  138 | static void write32bit();
      |             ^~~~~~~~~~
midifile.c:857:5: error: too many arguments to function 'write16bit'; expected 0, have 1
  857 |     write16bit(format);
      |     ^~~~~~~~~~ ~~~~~~
midifile.c:139:13: note: declared here
  139 | static void write16bit();
      |             ^~~~~~~~~~
midifile.c:858:5: error: too many arguments to function 'write16bit'; expected 0, have 1
  858 |     write16bit(ntracks);
      |     ^~~~~~~~~~ ~~~~~~~
midifile.c:139:13: note: declared here
  139 | static void write16bit();
      |             ^~~~~~~~~~
midifile.c:859:5: error: too many arguments to function 'write16bit'; expected 0, have 1
  859 |     write16bit(division);
      |     ^~~~~~~~~~ ~~~~~~~~
midifile.c:139:13: note: declared here
  139 | static void write16bit();
      |             ^~~~~~~~~~
midifile.c: In function 'mf_write_midi_event':
midifile.c:882:1: warning: old-style function definition [-Wold-style-definition]
  882 | mf_write_midi_event(delta_time, type, chan, data, size)
      | ^~~~~~~~~~~~~~~~~~~
midifile.c:887:1: error: number of arguments doesn't match prototype
  887 | {
      | ^
midifile.h:38:5: error: prototype declaration
   38 | int mf_write_midi_event();
      |     ^~~~~~~~~~~~~~~~~~~
midifile.c:891:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
  891 |     WriteVarLen(delta_time);
      |     ^~~~~~~~~~~ ~~~~~~~~~~
midifile.c:137:13: note: declared here
  137 | static void WriteVarLen();
      |             ^~~~~~~~~~~
midifile.c:898:7: error: too many arguments to function 'mferror'; expected 0, have 1
  898 |       mferror("error: MIDI channel greater than 16");
      |       ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:901:5: error: too many arguments to function 'eputc'; expected 0, have 1
  901 |     eputc(c);
      |     ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:905:3: error: too many arguments to function 'eputc'; expected 0, have 1
  905 |   eputc(data[i]);
      |   ^~~~~ ~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c: In function 'mf_write_meta_event':
midifile.c:925:1: warning: old-style function definition [-Wold-style-definition]
  925 | mf_write_meta_event(delta_time, type, data, size)
      | ^~~~~~~~~~~~~~~~~~~
midifile.c:930:1: error: number of arguments doesn't match prototype
  930 | {
      | ^
midifile.h:37:5: error: prototype declaration
   37 | int mf_write_meta_event();
      |     ^~~~~~~~~~~~~~~~~~~
midifile.c:933:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
  933 |     WriteVarLen(delta_time);
      |     ^~~~~~~~~~~ ~~~~~~~~~~
midifile.c:137:13: note: declared here
  137 | static void WriteVarLen();
      |             ^~~~~~~~~~~
midifile.c:936:5: error: too many arguments to function 'eputc'; expected 0, have 1
  936 |     eputc(meta_event);
      |     ^~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:939:5: error: too many arguments to function 'eputc'; expected 0, have 1
  939 |     eputc(type);
      |     ^~~~~ ~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:942:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
  942 |     WriteVarLen((long)size);
      |     ^~~~~~~~~~~ ~~~~~~~~~~
midifile.c:137:13: note: declared here
  137 | static void WriteVarLen();
      |             ^~~~~~~~~~~
midifile.c:946:6: error: too many arguments to function 'eputc'; expected 0, have 1
  946 |   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:953:1: warning: old-style function definition [-Wold-style-definition]
  953 | mf_write_tempo(tempo)
      | ^~~~~~~~~~~~~~
midifile.c:955:1: error: number of arguments doesn't match prototype
  955 | {
      | ^
midifile.h:39:6: error: prototype declaration
   39 | void mf_write_tempo();
      |      ^~~~~~~~~~~~~~
midifile.c:959:5: error: too many arguments to function 'eputc'; expected 0, have 1
  959 |     eputc(0);
      |     ^~~~~ ~
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(meta_event);
      |     ^~~~~
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(set_tempo);
      |     ^~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:963:5: error: too many arguments to function 'eputc'; expected 0, have 1
  963 |     eputc(3);
      |     ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:964:5: error: too many arguments to function 'eputc'; expected 0, have 1
  964 |     eputc((char)(0xff & (tempo >> 16)));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:965:5: error: too many arguments to function 'eputc'; expected 0, have 1
  965 |     eputc((char)(0xff & (tempo >> 8)));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:966:5: error: too many arguments to function 'eputc'; expected 0, have 1
  966 |     eputc((char)(0xff & tempo));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c: In function 'mf_sec2ticks':
midifile.c:978:1: warning: old-style function definition [-Wold-style-definition]
  978 | mf_sec2ticks(secs,division,tempo)
      | ^~~~~~~~~~~~
midifile.c:982:1: error: number of arguments doesn't match prototype
  982 | {
      | ^
midifile.h:34:6: error: prototype declaration
   34 | long mf_sec2ticks();
      |      ^~~~~~~~~~~~
midifile.c: In function 'WriteVarLen':
midifile.c:1001:1: warning: old-style function definition [-Wold-style-definition]
 1001 | WriteVarLen(value)
      | ^~~~~~~~~~~
midifile.c:1014:8: error: too many arguments to function 'eputc'; expected 0, have 1
 1014 |        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:1029:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1029 | eputc(0); /* varinum delta_t (time to next event) */
      | ^~~~~ ~
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(0xf0); /* sysex initiation */
      | ^~~~~ ~~~~
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(11);  /* 11 bytes included in sysex */
      | ^~~~~ ~~
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(127); /* universal sysex command (0x7f) */
      | ^~~~~ ~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1033:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1033 | eputc(0);    /* device id */
      | ^~~~~ ~
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(8);    /* midi tuning */
      | ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1035:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1035 | eputc(2);    /* note change */
      | ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1036:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1036 | eputc(0);    /* program number 0 - 127 */
      | ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1037:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1037 | eputc(1);    /* only one change */
      | ^~~~~ ~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1039:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1039 | eputc(kk);  /* MIDI key  0 - 127 */
      | ^~~~~ ~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1049:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1049 | eputc(xx);
      | ^~~~~ ~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1050:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1050 | eputc(yy);
      | ^~~~~ ~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1051:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1051 | eputc(zz);
      | ^~~~~ ~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1052:1: error: too many arguments to function 'eputc'; expected 0, have 1
 1052 | 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:1062:1: warning: old-style function definition [-Wold-style-definition]
 1062 | mf_ticks2sec(ticks,division,tempo)
      | ^~~~~~~~~~~~
midifile.c:1066:1: error: number of arguments doesn't match prototype
 1066 | {
      | ^
midifile.h:33:7: error: prototype declaration
   33 | float mf_ticks2sec();
      |       ^~~~~~~~~~~~
midifile.c: In function 'write32bit':
midifile.c:1093:1: warning: old-style function definition [-Wold-style-definition]
 1093 | write32bit(data)
      | ^~~~~~~~~~
midifile.c:1096:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1096 |     eputc((char)((data >> 24) & 0xff));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1097:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1097 |     eputc((char)((data >> 16) & 0xff));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1098:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1098 |     eputc((char)((data >> 8 ) & 0xff));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1099:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1099 |     eputc((char)(data & 0xff));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c: In function 'write16bit':
midifile.c:1103:1: warning: old-style function definition [-Wold-style-definition]
 1103 | write16bit(data)
      | ^~~~~~~~~~
midifile.c:1106:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1106 |     eputc((char)((data & 0xff00) >> 8));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c:1107:5: error: too many arguments to function 'eputc'; expected 0, have 1
 1107 |     eputc((char)(data & 0xff));
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~
midifile.c:141:12: note: declared here
  141 | static int eputc();
      |            ^~~~~
midifile.c: In function 'eputc':
midifile.c:1111:12: warning: old-style function definition [-Wold-style-definition]
 1111 | static int eputc(c)
      |            ^~~~~
midifile.c:1118:5: error: too many arguments to function 'mferror'; expected 0, have 1
 1118 |     mferror("Mf_putc undefined");
      |     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
midifile.c:1122:17: error: too many arguments to function 'Mf_putc'; expected 0, have 1
 1122 |   return_val = (*Mf_putc)(c);
      |                ~^~~~~~~~~ ~
midifile.c:1125:5: error: too many arguments to function 'mferror'; expected 0, have 1
 1125 |     mferror("error writing");
      |     ^~~~~~~ ~~~~~~~~~~~~~~~
midifile.c:583:6: note: declared here
  583 | void mferror(s)
      |      ^~~~~~~
make: *** [<builtin>: midifile.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o abcmatch.o abcmatch.c
abcmatch.c: In function 'analyze_abc_file':
abcmatch.c:1154:7: error: too many arguments to function 'parsetune'; expected 0, have 1
 1154 |       parsetune (fp);
      |       ^~~~~~~~~  ~~
In file included from abcmatch.c:57:
parseabc.h:179:12: note: declared here
  179 | extern int parsetune();
      |            ^~~~~~~~~
abcmatch.c: In function 'event_init':
abcmatch.c:1203:1: warning: old-style function definition [-Wold-style-definition]
 1203 | event_init (argc, argv, filename)
      | ^~~~~~~~~~
abcmatch.c: In function 'main':
abcmatch.c:1393:1: warning: old-style function definition [-Wold-style-definition]
 1393 | main (argc, argv)
      | ^~~~
abcmatch.c:1431:7: error: too many arguments to function 'parsefile'; expected 0, have 1
 1431 |       parsefile (templatefile);
      |       ^~~~~~~~~  ~~~~~~~~~~~~
parseabc.h:178:13: note: declared here
  178 | extern void parsefile();
      |             ^~~~~~~~~
abcmatch.c:1490:11: error: too many arguments to function 'parsetune'; expected 0, have 1
 1490 |           parsetune (fp);
      |           ^~~~~~~~~  ~~
parseabc.h:179:12: note: declared here
  179 | extern int parsetune();
      |            ^~~~~~~~~
make: *** [<builtin>: abcmatch.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o midicopy.o midicopy.c
midicopy.c:236:1: error: conflicting types for 'append_to_string'; have 'void(int)'
  236 | append_to_string (int c)
      | ^~~~~~~~~~~~~~~~
midicopy.c:83:6: note: previous declaration of 'append_to_string' with type 'void(void)'
   83 | void append_to_string ();
      |      ^~~~~~~~~~~~~~~~
midicopy.c: In function 'midicopy_timesig':
midicopy.c:392:1: warning: old-style function definition [-Wold-style-definition]
  392 | midicopy_timesig (c1, c2, c3, c4)
      | ^~~~~~~~~~~~~~~~
midicopy.c: In function 'copy_keysig':
midicopy.c:404:1: warning: old-style function definition [-Wold-style-definition]
  404 | copy_keysig (c1, c2)
      | ^~~~~~~~~~~
midicopy.c: In function 'copy_metaseqnum':
midicopy.c:417:1: warning: old-style function definition [-Wold-style-definition]
  417 | copy_metaseqnum (c1,  c2)
      | ^~~~~~~~~~~~~~~
midicopy.c: In function 'copy_metaeot':
midicopy.c:444:8: error: conflicting types for 'WriteVarLen'; have 'void(void)'
  444 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c:140:6: note: previous declaration of 'WriteVarLen' with type 'void(long int)'
  140 | void WriteVarLen (long);
      |      ^~~~~~~~~~~
midicopy.c:445:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
  445 |   WriteVarLen (10);
      |   ^~~~~~~~~~~  ~~
midicopy.c:444:8: note: declared here
  444 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: In function 'readmt':
midicopy.c:509:1: warning: old-style function definition [-Wold-style-definition]
  509 | readmt (s)                      /* read through the "MThd" or "MTrk" header string */
      | ^~~~~~
midicopy.c: In function 'readtrack':
midicopy.c:721:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  721 |             msgadd (egetc ());
      |             ^~~~~~  ~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:731:11: error: too many arguments to function 'msgadd'; expected 0, have 1
  731 |           msgadd (0xf0);
      |           ^~~~~~  ~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:734:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  734 |             msgadd (c = egetc ());
      |             ^~~~~~  ~~~~~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:751:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  751 |             msgadd (c = egetc ());
      |             ^~~~~~  ~~~~~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:756:18: error: too many arguments to function 'Mf_arbitrary'; expected 0, have 2
  756 |                 (*Mf_arbitrary) (msgleng (), msg ());
      |                 ~^~~~~~~~~~~~~~  ~~~~~~~~~~
midicopy.c: In function 'get_tempo_info_from_track_1':
midicopy.c:874:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  874 |             msgadd (egetc ());
      |             ^~~~~~  ~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:880:35: error: too many arguments to function 'to32bit'; expected 0, have 4
  880 |               mf_get_tempo_event (to32bit (0, m[0], m[1], m[2]));
      |                                   ^~~~~~~  ~
midicopy.c:124:6: note: declared here
  124 | long to32bit ();
      |      ^~~~~~~
midicopy.c:889:11: error: too many arguments to function 'msgadd'; expected 0, have 1
  889 |           msgadd (0xf0);
      |           ^~~~~~  ~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:892:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  892 |             msgadd (c = egetc ());
      |             ^~~~~~  ~~~~~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:910:13: error: too many arguments to function 'msgadd'; expected 0, have 1
  910 |             msgadd (c = egetc ());
      |             ^~~~~~  ~~~~~~~~~~~~
midicopy.c:138:6: note: declared here
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c:915:18: error: too many arguments to function 'Mf_arbitrary'; expected 0, have 2
  915 |                 (*Mf_arbitrary) (msgleng (), msg ());
      |                 ~^~~~~~~~~~~~~~  ~~~~~~~~~~
midicopy.c: In function 'badbyte':
midicopy.c:938:1: warning: old-style function definition [-Wold-style-definition]
  938 | badbyte (c)
      | ^~~~~~~
midicopy.c: In function 'metaevent':
midicopy.c:997:25: error: too many arguments to function 'to32bit'; expected 0, have 4
  997 |         mf_write_tempo (to32bit (0, m[0], m[1], m[2]));
      |                         ^~~~~~~  ~
midicopy.c:124:6: note: declared here
  124 | long to32bit ();
      |      ^~~~~~~
midicopy.c: In function 'to32bit':
midicopy.c:1118:1: warning: old-style function definition [-Wold-style-definition]
 1118 | to32bit (c1, c2, c3, c4)
      | ^~~~~~~
midicopy.c:1120:1: error: number of arguments doesn't match prototype
 1120 | {
      | ^
midicopy.c:124:6: error: prototype declaration
  124 | long to32bit ();
      |      ^~~~~~~
midicopy.c: In function 'to16bit':
midicopy.c:1134:1: warning: old-style function definition [-Wold-style-definition]
 1134 | to16bit (c1, c2)
      | ^~~~~~~
midicopy.c:1136:1: error: number of arguments doesn't match prototype
 1136 | {
      | ^
midicopy.c:126:5: error: prototype declaration
  126 | int to16bit ();
      |     ^~~~~~~
midicopy.c: In function 'read32bit':
midicopy.c:1151:10: error: too many arguments to function 'to32bit'; expected 0, have 4
 1151 |   return to32bit (c1, c2, c3, c4);
      |          ^~~~~~~  ~~
midicopy.c:1118:1: note: declared here
 1118 | to32bit (c1, c2, c3, c4)
      | ^~~~~~~
midicopy.c: In function 'read16bit':
midicopy.c:1162:10: error: too many arguments to function 'to16bit'; expected 0, have 2
 1162 |   return to16bit (c1, c2);
      |          ^~~~~~~  ~~
midicopy.c:1134:1: note: declared here
 1134 | to16bit (c1, c2)
      | ^~~~~~~
midicopy.c: At top level:
midicopy.c:1208:1: error: conflicting types for 'msgadd'; have 'void(int)'
 1208 | msgadd (int c)
      | ^~~~~~
midicopy.c:138:6: note: previous declaration of 'msgadd' with type 'void(void)'
  138 | void msgadd ();
      |      ^~~~~~
midicopy.c: In function 'build_new_midi_file':
midicopy.c:1286:1: warning: old-style function definition [-Wold-style-definition]
 1286 | build_new_midi_file (format, ntracks, division, fp)
      | ^~~~~~~~~~~~~~~~~~~
midicopy.c:1291:8: error: conflicting types for 'mf_write_track_chunk'; have 'void(void)'
 1291 |   void mf_write_track_chunk ();
      |        ^~~~~~~~~~~~~~~~~~~~
midicopy.c:80:6: note: previous declaration of 'mf_write_track_chunk' with type 'void(int,  FILE *)'
   80 | void mf_write_track_chunk (int which_track, FILE * fp);
      |      ^~~~~~~~~~~~~~~~~~~~
midicopy.c:1332:15: error: too many arguments to function 'mf_write_track_chunk'; expected 0, have 2
 1332 |               mf_write_track_chunk (i, fp);
      |               ^~~~~~~~~~~~~~~~~~~~  ~
midicopy.c:1291:8: note: declared here
 1291 |   void mf_write_track_chunk ();
      |        ^~~~~~~~~~~~~~~~~~~~
midicopy.c: At top level:
midicopy.c:1401:1: error: conflicting types for 'mf_write_track_chunk'; have 'void(int,  FILE *)'
 1401 | mf_write_track_chunk (which_track, fp)
      | ^~~~~~~~~~~~~~~~~~~~
midicopy.c:1291:8: note: previous declaration of 'mf_write_track_chunk' with type 'void(void)'
 1291 |   void mf_write_track_chunk ();
      |        ^~~~~~~~~~~~~~~~~~~~
midicopy.c: In function 'mf_write_track_chunk':
midicopy.c:1401:1: warning: old-style function definition [-Wold-style-definition]
 1401 | mf_write_track_chunk (which_track, fp)
      | ^~~~~~~~~~~~~~~~~~~~
midicopy.c:1409:1: error: number of arguments doesn't match prototype
 1409 | {
      | ^
midicopy.c:1291:8: error: prototype declaration
 1291 |   void mf_write_track_chunk ();
      |        ^~~~~~~~~~~~~~~~~~~~
midicopy.c: In function 'mf_write_header_chunk':
midicopy.c:1429:1: warning: old-style function definition [-Wold-style-definition]
 1429 | mf_write_header_chunk (format, ntracks, division)
      | ^~~~~~~~~~~~~~~~~~~~~
midicopy.c:1440:3: error: too many arguments to function 'write32bit'; expected 0, have 1
 1440 |   write32bit (ident);
      |   ^~~~~~~~~~  ~~~~~
midicopy.c:1433:23: note: declared here
 1433 |   void write16bit (), write32bit ();
      |                       ^~~~~~~~~~
midicopy.c:1441:3: error: too many arguments to function 'write32bit'; expected 0, have 1
 1441 |   write32bit (length);
      |   ^~~~~~~~~~  ~~~~~~
midicopy.c:1433:23: note: declared here
 1433 |   void write16bit (), write32bit ();
      |                       ^~~~~~~~~~
midicopy.c:1442:3: error: too many arguments to function 'write16bit'; expected 0, have 1
 1442 |   write16bit (format);
      |   ^~~~~~~~~~  ~~~~~~
midicopy.c:1433:8: note: declared here
 1433 |   void write16bit (), write32bit ();
      |        ^~~~~~~~~~
midicopy.c:1443:3: error: too many arguments to function 'write16bit'; expected 0, have 1
 1443 |   write16bit (ntracks);
      |   ^~~~~~~~~~  ~~~~~~~
midicopy.c:1433:8: note: declared here
 1433 |   void write16bit (), write32bit ();
      |        ^~~~~~~~~~
midicopy.c:1444:3: error: too many arguments to function 'write16bit'; expected 0, have 1
 1444 |   write16bit (division);
      |   ^~~~~~~~~~  ~~~~~~~~
midicopy.c:1433:8: note: declared here
 1433 |   void write16bit (), write32bit ();
      |        ^~~~~~~~~~
midicopy.c: In function 'mf_write_midi_event':
midicopy.c:1476:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
 1476 |   WriteVarLen (Mf_currtime - Mf_currcopytime);
      |   ^~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midicopy.c:1473:8: note: declared here
 1473 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: In function 'mf_write_meta_event':
midicopy.c:1521:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
 1521 |   WriteVarLen (Mf_currtime - Mf_currcopytime);
      |   ^~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midicopy.c:1519:8: note: declared here
 1519 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c:1532:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
 1532 |   WriteVarLen ((long) size);
      |   ^~~~~~~~~~~  ~~~~~~~~~~~
midicopy.c:1519:8: note: declared here
 1519 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: In function 'mf_get_tempo_event':
midicopy.c:1546:1: warning: old-style function definition [-Wold-style-definition]
 1546 | mf_get_tempo_event (tempo)
      | ^~~~~~~~~~~~~~~~~~
midicopy.c: In function 'mf_write_tempo':
midicopy.c:1562:1: warning: old-style function definition [-Wold-style-definition]
 1562 | mf_write_tempo (tempo)
      | ^~~~~~~~~~~~~~
midicopy.c:1575:7: error: too many arguments to function 'WriteVarLen'; expected 0, have 1
 1575 |       WriteVarLen (Mf_currtime - Mf_currcopytime);
      |       ^~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midicopy.c:1569:8: note: declared here
 1569 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: At top level:
midicopy.c:1608:1: error: conflicting types for 'WriteVarLen'; have 'void(long int)'
 1608 | WriteVarLen (value)
      | ^~~~~~~~~~~
midicopy.c:1569:8: note: previous declaration of 'WriteVarLen' with type 'void(void)'
 1569 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: In function 'WriteVarLen':
midicopy.c:1608:1: warning: old-style function definition [-Wold-style-definition]
 1608 | WriteVarLen (value)
      | ^~~~~~~~~~~
midicopy.c:1610:1: error: number of arguments doesn't match prototype
 1610 | {
      | ^
midicopy.c:1569:8: error: prototype declaration
 1569 |   void WriteVarLen ();
      |        ^~~~~~~~~~~
midicopy.c: In function 'write32bit':
midicopy.c:1433:23: warning: old-style function definition [-Wold-style-definition]
 1433 |   void write16bit (), write32bit ();
      |                       ^~~~~~~~~~
midicopy.c:1656:1: error: number of arguments doesn't match prototype
 1656 | {
      | ^
midicopy.c:1433:23: error: prototype declaration
 1433 |   void write16bit (), write32bit ();
      |                       ^~~~~~~~~~
midicopy.c: In function 'write16bit':
midicopy.c:1433:8: warning: old-style function definition [-Wold-style-definition]
 1433 |   void write16bit (), write32bit ();
      |        ^~~~~~~~~~
midicopy.c:1666:1: error: number of arguments doesn't match prototype
 1666 | {
      | ^
midicopy.c:1433:8: error: prototype declaration
 1433 |   void write16bit (), write32bit ();
      |        ^~~~~~~~~~
make: *** [<builtin>: midicopy.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o matchsup.o matchsup.c
matchsup.c: In function 'event_info':
matchsup.c:243:6: warning: old-style function definition [-Wold-style-definition]
  243 | void event_info (place)
      |      ^~~~~~~~~~
matchsup.c: In function 'event_gchord':
matchsup.c:248:6: warning: old-style function definition [-Wold-style-definition]
  248 | void event_gchord (chord)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'event_slur':
matchsup.c:253:6: warning: old-style function definition [-Wold-style-definition]
  253 | void event_slur (t)
      |      ^~~~~~~~~~
matchsup.c: In function 'event_instruction':
matchsup.c:259:6: warning: old-style function definition [-Wold-style-definition]
  259 | void event_instruction (s)
      |      ^~~~~~~~~~~~~~~~~
matchsup.c: In function 'event_reserved':
matchsup.c:265:6: warning: old-style function definition [-Wold-style-definition]
  265 | void event_reserved (p)
      |      ^~~~~~~~~~~~~~
matchsup.c: In function 'reduce':
matchsup.c:273:6: warning: old-style function definition [-Wold-style-definition]
  273 | void reduce(a, b)
      |      ^~~~~~
matchsup.c: In function 'addunits':
matchsup.c:303:6: warning: old-style function definition [-Wold-style-definition]
  303 | void addunits(a, b)
      |      ^~~~~~~~
matchsup.c: In function 'set_meter':
matchsup.c:313:6: warning: old-style function definition [-Wold-style-definition]
  313 | void set_meter(n, m)
      |      ^~~~~~~~~
matchsup.c: In function 'newvoice':
matchsup.c:341:29: warning: old-style function definition [-Wold-style-definition]
  341 | static struct voicecontext* newvoice(n)
      |                             ^~~~~~~~
matchsup.c: In function 'getvoicecontext':
matchsup.c:375:29: warning: old-style function definition [-Wold-style-definition]
  375 | static struct voicecontext* getvoicecontext(n)
      |                             ^~~~~~~~~~~~~~~
matchsup.c: In function 'event_text':
matchsup.c:418:6: warning: old-style function definition [-Wold-style-definition]
  418 | void event_text(s)
      |      ^~~~~~~~~~
matchsup.c: In function 'event_specific':
matchsup.c:426:6: warning: old-style function definition [-Wold-style-definition]
  426 | void event_specific (package, s, in_I)
      |      ^~~~~~~~~~~~~~
matchsup.c: In function 'event_x_reserved':
matchsup.c:433:6: warning: old-style function definition [-Wold-style-definition]
  433 | void event_x_reserved(p)
      |      ^~~~~~~~~~~~~~~~
matchsup.c: In function 'event_abbreviation':
matchsup.c:439:6: warning: old-style function definition [-Wold-style-definition]
  439 | void event_abbreviation(symbol, string, container)
      |      ^~~~~~~~~~~~~~~~~~
matchsup.c: In function 'event_tex':
matchsup.c:472:6: warning: old-style function definition [-Wold-style-definition]
  472 | void event_tex(s)
      |      ^~~~~~~~~
matchsup.c: In function 'event_fatal_error':
matchsup.c:478:6: warning: old-style function definition [-Wold-style-definition]
  478 | void event_fatal_error(s)
      |      ^~~~~~~~~~~~~~~~~
matchsup.c: In function 'event_error':
matchsup.c:486:6: warning: old-style function definition [-Wold-style-definition]
  486 | void event_error(s)
      |      ^~~~~~~~~~~
matchsup.c: In function 'event_warning':
matchsup.c:502:6: warning: old-style function definition [-Wold-style-definition]
  502 | void event_warning(s)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'autoextend':
matchsup.c:518:12: warning: old-style function definition [-Wold-style-definition]
  518 | static int autoextend(maxnotes)
      |            ^~~~~~~~~~
matchsup.c: In function 'addfeature':
matchsup.c:565:13: warning: old-style function definition [-Wold-style-definition]
  565 | static void addfeature(f, p, n, d)
      |             ^~~~~~~~~~
matchsup.c: In function 'event_endmusicline':
matchsup.c:607:6: warning: old-style function definition [-Wold-style-definition]
  607 | void event_endmusicline(endchar)
      |      ^~~~~~~~~~~~~~~~~~
matchsup.c: In function 'textfeature':
matchsup.c:614:13: warning: old-style function definition [-Wold-style-definition]
  614 | static void textfeature(type, s)
      |             ^~~~~~~~~~~
matchsup.c: In function 'event_comment':
matchsup.c:622:6: warning: old-style function definition [-Wold-style-definition]
  622 | void event_comment(s)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'event_field':
matchsup.c:639:6: warning: old-style function definition [-Wold-style-definition]
  639 | void event_field(k, f)
      |      ^~~~~~~~~~~
matchsup.c: In function 'event_words':
matchsup.c:671:6: warning: old-style function definition [-Wold-style-definition]
  671 | void event_words(p, append, continuation)
      |      ^~~~~~~~~~~
matchsup.c: In function 'appendfield':
matchsup.c:680:6: warning: old-style function definition [-Wold-style-definition]
  680 | void appendfield (morewords)
      |      ^~~~~~~~~~~
matchsup.c: In function 'read_spec':
matchsup.c:706:13: warning: old-style function definition [-Wold-style-definition]
  706 | static void read_spec(spec, part)
      |             ^~~~~~~~~
matchsup.c: In function 'event_part':
matchsup.c:718:6: warning: old-style function definition [-Wold-style-definition]
  718 | void event_part(s)
      |      ^~~~~~~~~~
matchsup.c: In function 'event_voice':
matchsup.c:759:6: warning: old-style function definition [-Wold-style-definition]
  759 | void event_voice(n, s, vp)
      |      ^~~~~~~~~~~
matchsup.c: In function 'event_length':
matchsup.c:785:6: warning: old-style function definition [-Wold-style-definition]
  785 | void event_length(n)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'event_default_length':
matchsup.c:797:6: warning: old-style function definition [-Wold-style-definition]
  797 | void event_default_length (n)
      |      ^~~~~~~~~~~~~~~~~~~~
matchsup.c: In function 'tempounits':
matchsup.c:803:13: warning: old-style function definition [-Wold-style-definition]
  803 | static void tempounits(t_num, t_denom)
      |             ^~~~~~~~~~
matchsup.c: In function 'event_tempo':
matchsup.c:809:6: warning: old-style function definition [-Wold-style-definition]
  809 | void event_tempo(n, a, b, rel, pre, post)
      |      ^~~~~~~~~~~
matchsup.c: In function 'event_timesig':
matchsup.c:819:6: warning: old-style function definition [-Wold-style-definition]
  819 | void event_timesig (timesig)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'event_octave':
matchsup.c:842:6: warning: old-style function definition [-Wold-style-definition]
  842 | void event_octave(num, local)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'event_info_key':
matchsup.c:857:6: warning: old-style function definition [-Wold-style-definition]
  857 | void event_info_key(key, value)
      |      ^~~~~~~~~~~~~~
matchsup.c: In function 'stack_broken':
matchsup.c:869:13: warning: old-style function definition [-Wold-style-definition]
  869 | static void stack_broken(v)
      |             ^~~~~~~~~~~~
matchsup.c: In function 'restore_broken':
matchsup.c:886:13: warning: old-style function definition [-Wold-style-definition]
  886 | static void restore_broken(v)
      |             ^~~~~~~~~~~~~~
matchsup.c: In function 'event_playonrep':
matchsup.c:957:6: warning: old-style function definition [-Wold-style-definition]
  957 | void event_playonrep(s)
      |      ^~~~~~~~~~~~~~~
matchsup.c: In function 'event_sluron':
matchsup.c:981:6: warning: old-style function definition [-Wold-style-definition]
  981 | void event_sluron(t)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'event_sluroff':
matchsup.c:991:6: warning: old-style function definition [-Wold-style-definition]
  991 | void event_sluroff(t)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'event_lineend':
matchsup.c:1015:6: warning: old-style function definition [-Wold-style-definition]
 1015 | void event_lineend(ch, n)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'event_broken':
matchsup.c:1023:6: warning: old-style function definition [-Wold-style-definition]
 1023 | void event_broken(type, mult)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'event_tuple':
matchsup.c:1040:6: warning: old-style function definition [-Wold-style-definition]
 1040 | void event_tuple(n, q, r)
      |      ^~~~~~~~~~~
matchsup.c: In function 'lenmul':
matchsup.c:1095:13: warning: old-style function definition [-Wold-style-definition]
 1095 | static void lenmul(n, a, b)
      |             ^~~~~~
matchsup.c: In function 'event_spacing':
matchsup.c:1198:6: warning: old-style function definition [-Wold-style-definition]
 1198 | void event_spacing(n, m)
      |      ^~~~~~~~~~~~~
matchsup.c: In function 'event_rest':
matchsup.c:1203:6: warning: old-style function definition [-Wold-style-definition]
 1203 | void event_rest(decorators,n,m,type)
      |      ^~~~~~~~~~
matchsup.c: In function 'event_mrest':
matchsup.c:1247:6: warning: old-style function definition [-Wold-style-definition]
 1247 | void event_mrest(n,m,c)
      |      ^~~~~~~~~~~
matchsup.c: In function 'event_finger':
matchsup.c:1306:6: warning: old-style function definition [-Wold-style-definition]
 1306 | void event_finger(p)
      |      ^~~~~~~~~~~~
matchsup.c: In function 'pitchof':
matchsup.c:1313:12: warning: old-style function definition [-Wold-style-definition]
 1313 | static int pitchof(note, accidental, mult, octave, propogate_accs)
      |            ^~~~~~~
matchsup.c: In function 'hornp':
matchsup.c:1349:13: warning: old-style function definition [-Wold-style-definition]
 1349 | static void hornp(num, denom)
      |             ^~~~~
matchsup.c: In function 'event_note':
matchsup.c:1371:6: warning: old-style function definition [-Wold-style-definition]
 1371 | void event_note(decorators, clef, accidental, mult, note, xoctave, n, m)
      |      ^~~~~~~~~~
matchsup.c: At top level:
matchsup.c:1437:6: error: conflicting types for 'event_temperament'; have 'void(char *)'
 1437 | void event_temperament(char *line) {
      |      ^~~~~~~~~~~~~~~~~
In file included from matchsup.c:66:
parseabc.h:174:13: note: previous declaration of 'event_temperament' with type 'void(void)'
  174 | extern void event_temperament();
      |             ^~~~~~~~~~~~~~~~~
matchsup.c: In function 'get_accidental':
matchsup.c:1447:7: warning: old-style function definition [-Wold-style-definition]
 1447 | char *get_accidental(place, accidental)
      |       ^~~~~~~~~~~~~~
matchsup.c: In function 'event_handle_gchord':
matchsup.c:1467:6: warning: old-style function definition [-Wold-style-definition]
 1467 | void event_handle_gchord(s)
      |      ^~~~~~~~~~~~~~~~~~~
matchsup.c: In function 'event_handle_instruction':
matchsup.c:1473:6: warning: old-style function definition [-Wold-style-definition]
 1473 | void event_handle_instruction(s)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
matchsup.c: In function 'setmap':
matchsup.c:1481:13: warning: old-style function definition [-Wold-style-definition]
 1481 | static void setmap(sf, map, mult)
      |             ^~~~~~
matchsup.c: In function 'altermap':
matchsup.c:1509:13: warning: old-style function definition [-Wold-style-definition]
 1509 | static void altermap(v, modmap, modmul)
      |             ^~~~~~~~
matchsup.c: In function 'copymap':
matchsup.c:1525:13: warning: old-style function definition [-Wold-style-definition]
 1525 | static void copymap(v)
      |             ^~~~~~~
matchsup.c: In function 'myputc':
matchsup.c:1540:5: warning: old-style function definition [-Wold-style-definition]
 1540 | int myputc(c)
      |     ^~~~~~
matchsup.c: In function 'addfract':
matchsup.c:1546:13: warning: old-style function definition [-Wold-style-definition]
 1546 | static void addfract(xnum, xdenom, a, b)
      |             ^~~~~~~~
matchsup.c: In function 'dotie':
matchsup.c:1558:13: warning: old-style function definition [-Wold-style-definition]
 1558 | static void dotie(j, xinchord,voiceno)
      |             ^~~~~
matchsup.c: In function 'event_bar':
matchsup.c:1756:6: warning: old-style function definition [-Wold-style-definition]
 1756 | void event_bar(type, replist)
      |      ^~~~~~~~~
matchsup.c: In function 'event_key':
matchsup.c:1882:6: warning: old-style function definition [-Wold-style-definition]
 1882 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone,
      |      ^~~~~~~~~
matchsup.c: In function 'event_refno':
matchsup.c:1996:6: warning: old-style function definition [-Wold-style-definition]
 1996 | void event_refno(n)
      |      ^~~~~~~~~~~
make: *** [<builtin>: matchsup.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o toabc.o toabc.c
toabc.c: In function 'purgespace':
toabc.c:160:12: warning: old-style function definition [-Wold-style-definition]
  160 | static int purgespace(p)
      |            ^~~~~~~~~~
toabc.c: In function 'zero_barcount':
toabc.c:181:5: warning: old-style function definition [-Wold-style-definition]
  181 | int zero_barcount(foundbar)
      |     ^~~~~~~~~~~~~
toabc.c: In function 'new_barcount':
toabc.c:190:5: warning: old-style function definition [-Wold-style-definition]
  190 | int new_barcount(type, foundbar, oldcount)
      |     ^~~~~~~~~~~~
toabc.c: In function 'setline':
toabc.c:212:13: warning: old-style function definition [-Wold-style-definition]
  212 | static void setline(t)
      |             ^~~~~~~
toabc.c: In function 'flush_abctext':
toabc.c:226:12: warning: old-style function definition [-Wold-style-definition]
  226 | static int flush_abctext(bars, termination)
      |            ^~~~~~~~~~~~~
toabc.c: In function 'complete_bars':
toabc.c:327:6: warning: old-style function definition [-Wold-style-definition]
  327 | void complete_bars(v)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'complete_all':
toabc.c:348:6: warning: old-style function definition [-Wold-style-definition]
  348 | void complete_all(v, termination)
      |      ^~~~~~~~~~~~
toabc.c: In function 'newabctext':
toabc.c:368:24: warning: old-style function definition [-Wold-style-definition]
  368 | static struct abctext* newabctext(t)
      |                        ^~~~~~~~~~
toabc.c: In function 'reduce':
toabc.c:449:13: warning: old-style function definition [-Wold-style-definition]
  449 | static void reduce(a, b)
      |             ^~~~~~
toabc.c: In function 'addunits':
toabc.c:484:13: warning: old-style function definition [-Wold-style-definition]
  484 | static void addunits(n, m)
      |             ^~~~~~~~
toabc.c: In function 'parse_voices_selection':
toabc.c:504:6: warning: old-style function definition [-Wold-style-definition]
  504 | void parse_voices_selection(voices_string) /* [PHDM] 2013-03-08 */
      |      ^~~~~~~~~~~~~~~~~~~~~~
toabc.c: In function 'must_emit_voice':
toabc.c:518:5: warning: old-style function definition [-Wold-style-definition]
  518 | int must_emit_voice(n) /* [PHDM] 2013-03-08 */
      |     ^~~~~~~~~~~~~~~
toabc.c: In function 'event_init':
toabc.c:524:6: warning: old-style function definition [-Wold-style-definition]
  524 | void event_init(argc, argv, filename)
      |      ^~~~~~~~~~
toabc.c: In function 'emit_string':
toabc.c:720:6: warning: old-style function definition [-Wold-style-definition]
  720 | void emit_string(s)
      |      ^~~~~~~~~~~
toabc.c: In function 'emit_char':
toabc.c:729:6: warning: old-style function definition [-Wold-style-definition]
  729 | void emit_char(ch)
      |      ^~~~~~~~~
toabc.c: In function 'emit_int':
toabc.c:742:6: warning: old-style function definition [-Wold-style-definition]
  742 | void emit_int(n)
      |      ^~~~~~~~
toabc.c: In function 'emit_string_sprintf':
toabc.c:751:6: warning: old-style function definition [-Wold-style-definition]
  751 | void emit_string_sprintf(s1, s2)
      |      ^~~~~~~~~~~~~~~~~~~
toabc.c: In function 'emit_int_sprintf':
toabc.c:761:6: warning: old-style function definition [-Wold-style-definition]
  761 | void emit_int_sprintf(s, n)
      |      ^~~~~~~~~~~~~~~~
toabc.c: In function 'event_text':
toabc.c:816:6: warning: old-style function definition [-Wold-style-definition]
  816 | void event_text(p)
      |      ^~~~~~~~~~
toabc.c: In function 'event_reserved':
toabc.c:823:6: warning: old-style function definition [-Wold-style-definition]
  823 | void event_reserved(p)
      |      ^~~~~~~~~~~~~~
toabc.c: In function 'event_tex':
toabc.c:830:6: warning: old-style function definition [-Wold-style-definition]
  830 | void event_tex(s)
      |      ^~~~~~~~~
toabc.c: In function 'event_endmusicline':
toabc.c:875:6: warning: old-style function definition [-Wold-style-definition]
  875 | void event_endmusicline(endchar)
      |      ^~~~~~~~~~~~~~~~~~
toabc.c: In function 'event_error':
toabc.c:881:6: warning: old-style function definition [-Wold-style-definition]
  881 | void event_error(s)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_warning':
toabc.c:889:6: warning: old-style function definition [-Wold-style-definition]
  889 | void event_warning(s)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'event_comment':
toabc.c:897:6: warning: old-style function definition [-Wold-style-definition]
  897 | void event_comment(s)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'event_info':
toabc.c:941:6: warning: old-style function definition [-Wold-style-definition]
  941 | void event_info(f)
      |      ^~~~~~~~~~
toabc.c: In function 'event_field':
toabc.c:950:6: warning: old-style function definition [-Wold-style-definition]
  950 | void event_field(k, f)
      |      ^~~~~~~~~~~
toabc.c: In function 'getbar':
toabc.c:961:17: warning: old-style function definition [-Wold-style-definition]
  961 | struct abctext* getbar(place)
      |                 ^~~~~~
toabc.c: In function 'getnextbar':
toabc.c:976:17: warning: old-style function definition [-Wold-style-definition]
  976 | struct abctext* getnextbar(place)
      |                 ^~~~~~~~~~
toabc.c: In function 'append_lyrics':
toabc.c:989:6: warning: old-style function definition [-Wold-style-definition]
  989 | void append_lyrics(place, newwords)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'apply_bar':
toabc.c:1017:17: warning: old-style function definition [-Wold-style-definition]
 1017 | struct abctext* apply_bar(syll, place, notesleft, barwords)
      |                 ^~~~~~~~~
toabc.c: In function 'apply_syllable':
toabc.c:1041:17: warning: old-style function definition [-Wold-style-definition]
 1041 | struct abctext* apply_syllable(syll, place, notesleft, barwords)
      |                 ^~~~~~~~~~~~~~
toabc.c: In function 'parse_words':
toabc.c:1071:6: warning: old-style function definition [-Wold-style-definition]
 1071 | void parse_words(p)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_words':
toabc.c:1172:6: warning: old-style function definition [-Wold-style-definition]
 1172 | void event_words(p, append, continuation)
      |      ^~~~~~~~~~~
toabc.c: In function 'appendfield':
toabc.c:1202:6: warning: old-style function definition [-Wold-style-definition]
 1202 | void appendfield (morewords)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_part':
toabc.c:1210:6: warning: old-style function definition [-Wold-style-definition]
 1210 | void event_part(s)
      |      ^~~~~~~~~~
toabc.c: In function 'setvoice':
toabc.c:1244:5: warning: old-style function definition [-Wold-style-definition]
 1244 | int setvoice(num)
      |     ^~~~~~~~
toabc.c: In function 'event_voice':
toabc.c:1272:6: warning: old-style function definition [-Wold-style-definition]
 1272 | void event_voice(n, s, vp)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_length':
toabc.c:1322:6: warning: old-style function definition [-Wold-style-definition]
 1322 | void event_length(n)
      |      ^~~~~~~~~~~~
toabc.c: In function 'event_default_length':
toabc.c:1337:6: warning: old-style function definition [-Wold-style-definition]
 1337 | void event_default_length(n)
      |      ^~~~~~~~~~~~~~~~~~~~
toabc.c: In function 'event_refno':
toabc.c:1344:6: warning: old-style function definition [-Wold-style-definition]
 1344 | void event_refno(n)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_tempo':
toabc.c:1371:6: warning: old-style function definition [-Wold-style-definition]
 1371 | void event_tempo(n, a, b, relative, pre, post)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_timesig':
toabc.c:1441:6: warning: old-style function definition [-Wold-style-definition]
 1441 | void event_timesig (timesig)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'setmap':
toabc.c:1527:13: warning: old-style function definition [-Wold-style-definition]
 1527 | static void setmap(sf, map)
      |             ^~~~~~
toabc.c: In function 'event_key':
toabc.c:1635:6: warning: old-style function definition [-Wold-style-definition]
 1635 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone,
      |      ^~~~~~~~~
toabc.c: In function 'printlen':
toabc.c:1769:13: warning: old-style function definition [-Wold-style-definition]
 1769 | static void printlen(a, b)
      |             ^~~~~~~~
toabc.c: In function 'event_spacing':
toabc.c:1784:6: warning: old-style function definition [-Wold-style-definition]
 1784 | void event_spacing(n, m)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'event_rest':
toabc.c:1792:6: warning: old-style function definition [-Wold-style-definition]
 1792 | void event_rest(decorators,n,m,type)
      |      ^~~~~~~~~~
toabc.c: In function 'event_mrest':
toabc.c:1817:6: warning: old-style function definition [-Wold-style-definition]
 1817 | void event_mrest(n,m,c)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_bar':
toabc.c:1832:6: warning: old-style function definition [-Wold-style-definition]
 1832 | void event_bar(type, replist)
      |      ^~~~~~~~~
toabc.c: In function 'event_playonrep':
toabc.c:1934:6: warning: old-style function definition [-Wold-style-definition]
 1934 | void event_playonrep(s)
      |      ^~~~~~~~~~~~~~~
toabc.c: In function 'event_broken':
toabc.c:1940:6: warning: old-style function definition [-Wold-style-definition]
 1940 | void event_broken(type, n)
      |      ^~~~~~~~~~~~
toabc.c: In function 'event_tuple':
toabc.c:1956:6: warning: old-style function definition [-Wold-style-definition]
 1956 | void event_tuple(n, q, r)
      |      ^~~~~~~~~~~
toabc.c: In function 'splitstring':
toabc.c:2066:13: warning: old-style function definition [-Wold-style-definition]
 2066 | static void splitstring(s, sep, handler)
      |             ^~~~~~~~~~~
toabc.c:2088:6: error: too many arguments to function 'handler'; expected 0, have 1
 2088 |     (*handler)(out);
      |     ~^~~~~~~~~ ~~~
toabc.c: In function 'event_handle_gchord':
toabc.c:2092:6: warning: old-style function definition [-Wold-style-definition]
 2092 | void event_handle_gchord(s)
      |      ^~~~~~~~~~~~~~~~~~~
toabc.c: In function 'event_gchord':
toabc.c:2260:6: warning: old-style function definition [-Wold-style-definition]
 2260 | void event_gchord(s)
      |      ^~~~~~~~~~~~
toabc.c: In function 'event_instruction':
toabc.c:2266:6: warning: old-style function definition [-Wold-style-definition]
 2266 | void event_instruction(s)
      |      ^~~~~~~~~~~~~~~~~
toabc.c: In function 'event_slur':
toabc.c:2273:6: warning: old-style function definition [-Wold-style-definition]
 2273 | void event_slur(t)
      |      ^~~~~~~~~~
toabc.c: In function 'event_sluron':
toabc.c:2287:6: warning: old-style function definition [-Wold-style-definition]
 2287 | void event_sluron(t)
      |      ^~~~~~~~~~~~
toabc.c: In function 'event_sluroff':
toabc.c:2293:6: warning: old-style function definition [-Wold-style-definition]
 2293 | void event_sluroff(t)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'event_lineend':
toabc.c:2304:6: warning: old-style function definition [-Wold-style-definition]
 2304 | void event_lineend(ch, n)
      |      ^~~~~~~~~~~~~
toabc.c: In function 'transpose_note':
toabc.c:2321:6: warning: old-style function definition [-Wold-style-definition]
 2321 | void transpose_note(xaccidental,xmult, xnote, xoctave, transpose,
      |      ^~~~~~~~~~~~~~
toabc.c: In function 'event_note1':
toabc.c:2427:6: warning: old-style function definition [-Wold-style-definition]
 2427 | void event_note1(decorators, clef, xaccidental, xmult, xnote, xoctave, n, m)
      |      ^~~~~~~~~~~
toabc.c: At top level:
toabc.c:2547:6: error: conflicting types for 'event_temperament'; have 'void(char *)'
 2547 | void event_temperament(char *line) {
      |      ^~~~~~~~~~~~~~~~~
In file included from toabc.c:33:
parseabc.h:174:13: note: previous declaration of 'event_temperament' with type 'void(void)'
  174 | extern void event_temperament();
      |             ^~~~~~~~~~~~~~~~~
toabc.c: In function 'event_note2':
toabc.c:2577:6: warning: old-style function definition [-Wold-style-definition]
 2577 | void event_note2(decorators, clef, xaccidental, xmult, xnote, xoctave, n, m)
      |      ^~~~~~~~~~~
toabc.c: In function 'event_note':
toabc.c:2639:6: warning: old-style function definition [-Wold-style-definition]
 2639 | void event_note(decorators, clef, xaccidental, xmult, xnote, xoctave, n, m)
      |      ^~~~~~~~~~
toabc.c: In function 'main':
toabc.c:2840:5: warning: old-style function definition [-Wold-style-definition]
 2840 | int main(argc,argv)
      |     ^~~~
toabc.c:2856:5: error: too many arguments to function 'parsefile'; expected 0, have 1
 2856 |     parsefile(filename);
      |     ^~~~~~~~~ ~~~~~~~~
parseabc.h:178:13: note: declared here
  178 | extern void parsefile();
      |             ^~~~~~~~~
make: *** [<builtin>: toabc.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o parseabc.o parseabc.c
parseabc.c: In function 'checkmalloc':
parseabc.c:142:1: warning: old-style function definition [-Wold-style-definition]
  142 | checkmalloc (bytes)
      | ^~~~~~~~~~~
parseabc.c: In function 'addstring':
parseabc.c:158:1: warning: old-style function definition [-Wold-style-definition]
  158 | addstring (s)
      | ^~~~~~~~~
parseabc.c: In function 'concatenatestring':
parseabc.c:170:8: warning: old-style function definition [-Wold-style-definition]
  170 | char * concatenatestring(s1,s2)
      |        ^~~~~~~~~~~~~~~~~
parseabc.c: In function 'initvstring':
parseabc.c:186:1: warning: old-style function definition [-Wold-style-definition]
  186 | initvstring (s)
      | ^~~~~~~~~~~
parseabc.c: In function 'extendvstring':
parseabc.c:197:1: warning: old-style function definition [-Wold-style-definition]
  197 | extendvstring (s)
      | ^~~~~~~~~~~~~
parseabc.c: In function 'addch':
parseabc.c:218:1: warning: old-style function definition [-Wold-style-definition]
  218 | addch (ch, s)
      | ^~~~~
parseabc.c: In function 'addtext':
parseabc.c:233:1: warning: old-style function definition [-Wold-style-definition]
  233 | addtext (text, s)
      | ^~~~~~~
parseabc.c: In function 'clearvstring':
parseabc.c:250:1: warning: old-style function definition [-Wold-style-definition]
  250 | clearvstring (s)
      | ^~~~~~~~~~~~
parseabc.c: In function 'freevstring':
parseabc.c:260:1: warning: old-style function definition [-Wold-style-definition]
  260 | freevstring (s)
      | ^~~~~~~~~~~
parseabc.c: In function 'handle_abc2midi_parser':
parseabc.c:289:6: warning: old-style function definition [-Wold-style-definition]
  289 | void handle_abc2midi_parser (line)
      |      ^~~~~~~~~~~~~~~~~~~~~~
parseabc.c: In function 'getarg':
parseabc.c:304:1: warning: old-style function definition [-Wold-style-definition]
  304 | getarg (option, argc, argv)
      | ^~~~~~
parseabc.c: In function 'skipspace':
parseabc.c:324:1: warning: old-style function definition [-Wold-style-definition]
  324 | skipspace (p)
      | ^~~~~~~~~
parseabc.c: In function 'skiptospace':
parseabc.c:333:1: warning: old-style function definition [-Wold-style-definition]
  333 | skiptospace (p)
      | ^~~~~~~~~~~
parseabc.c: In function 'readnumf':
parseabc.c:341:1: warning: old-style function definition [-Wold-style-definition]
  341 | readnumf (num)
      | ^~~~~~~~
parseabc.c: In function 'readsnumf':
parseabc.c:367:1: warning: old-style function definition [-Wold-style-definition]
  367 | readsnumf (s)
      | ^~~~~~~~~
parseabc.c: In function 'readnump':
parseabc.c:387:1: warning: old-style function definition [-Wold-style-definition]
  387 | readnump (p)
      | ^~~~~~~~
parseabc.c: In function 'readsnump':
parseabc.c:408:1: warning: old-style function definition [-Wold-style-definition]
  408 | readsnump (p)
      | ^~~~~~~~~
parseabc.c: In function 'read_microtone_value':
parseabc.c:615:1: warning: old-style function definition [-Wold-style-definition]
  615 | read_microtone_value (a, b, p)
      | ^~~~~~~~~~~~~~~~~~~~
parseabc.c: In function 'ismicrotone':
parseabc.c:661:1: warning: old-style function definition [-Wold-style-definition]
  661 | ismicrotone (p, dir)
      | ^~~~~~~~~~~
parseabc.c: In function 'readword':
parseabc.c:715:1: warning: old-style function definition [-Wold-style-definition]
  715 | readword (word, s)
      | ^~~~~~~~
parseabc.c: In function 'readword_with_':
parseabc.c:746:1: warning: old-style function definition [-Wold-style-definition]
  746 | readword_with_ (word, s)
      | ^~~~~~~~~~~~~~
parseabc.c: In function 'lcase':
parseabc.c:773:1: warning: old-style function definition [-Wold-style-definition]
  773 | lcase (s)
      | ^~~~~
parseabc.c: In function 'parseclef':
parseabc.c:984:1: warning: old-style function definition [-Wold-style-definition]
  984 | parseclef (s, word, gotclef, clefstr, newclef, gotoctave, octave)
      | ^~~~~~~~~
parseabc.c: In function 'parsetranspose':
parseabc.c:1027:1: warning: old-style function definition [-Wold-style-definition]
 1027 | parsetranspose (s, word, gottranspose, transpose)
      | ^~~~~~~~~~~~~~
parseabc.c: In function 'parseoctave':
parseabc.c:1152:1: warning: old-style function definition [-Wold-style-definition]
 1152 | parseoctave (s, word, gotoctave, octave)
      | ^~~~~~~~~~~
parseabc.c: In function 'parsename':
parseabc.c:1230:1: warning: old-style function definition [-Wold-style-definition]
 1230 | parsename (s, gotname, namestring, maxsize)
      | ^~~~~~~~~
parseabc.c: In function 'parsemiddle':
parseabc.c:1268:1: warning: old-style function definition [-Wold-style-definition]
 1268 | parsemiddle (s, word, gotmiddle, middlestring, maxsize)
      | ^~~~~~~~~~~
parseabc.c: In function 'parseother':
parseabc.c:1306:1: warning: old-style function definition [-Wold-style-definition]
 1306 | parseother (s, word, gotother, other, maxsize)  /* [SS] 2011-04-18 */
      | ^~~~~~~~~~
parseabc.c: In function 'parsekey':
parseabc.c:1398:1: warning: old-style function definition [-Wold-style-definition]
 1398 | parsekey (str)
      | ^~~~~~~~
parseabc.c: In function 'parsevoice':
parseabc.c:1688:1: warning: old-style function definition [-Wold-style-definition]
 1688 | parsevoice (s)
      | ^~~~~~~~~~
parseabc.c: In function 'parsenote':
parseabc.c:1778:1: warning: old-style function definition [-Wold-style-definition]
 1778 | parsenote (s)
      | ^~~~~~~~~
parseabc.c: In function 'getrep':
parseabc.c:1973:1: warning: old-style function definition [-Wold-style-definition]
 1973 | getrep (p, out)
      | ^~~~~~
parseabc.c: In function 'checkend':
parseabc.c:2029:1: warning: old-style function definition [-Wold-style-definition]
 2029 | checkend (s)
      | ^~~~~~~~
parseabc.c: In function 'readstr':
parseabc.c:2051:1: warning: old-style function definition [-Wold-style-definition]
 2051 | readstr (out, in, limit)
      | ^~~~~~~
parseabc.c: In function 'readaln':
parseabc.c:2071:5: warning: old-style function definition [-Wold-style-definition]
 2071 | int readaln (out, in, limit)
      |     ^~~~~~~
parseabc.c: In function 'parse_precomment':
parseabc.c:2091:1: warning: old-style function definition [-Wold-style-definition]
 2091 | parse_precomment (s)
      | ^~~~~~~~~~~~~~~~
parseabc.c: In function 'parse_abc_include':
parseabc.c:2113:8: warning: old-style function definition [-Wold-style-definition]
 2113 | FILE * parse_abc_include (s)
      |        ^~~~~~~~~~~~~~~~~
parseabc.c: In function 'parse_tempo':
parseabc.c:2134:1: warning: old-style function definition [-Wold-style-definition]
 2134 | parse_tempo (place)
      | ^~~~~~~~~~~
parseabc.c: In function 'append_fieldcmd':
parseabc.c:2208:6: warning: old-style function definition [-Wold-style-definition]
 2208 | void append_fieldcmd (key, s)  /* [SS] 2014-08-15 */
      |      ^~~~~~~~~~~~~~~
parseabc.c: In function 'parsefield':
parseabc.c:2382:1: warning: old-style function definition [-Wold-style-definition]
 2382 | parsefield (key, field)
      | ^~~~~~~~~~
parseabc.c: In function 'parseinlinefield':
parseabc.c:2641:1: warning: old-style function definition [-Wold-style-definition]
 2641 | parseinlinefield (p)
      | ^~~~~~~~~~~~~~~~
parseabc.c: In function 'pitch2midi':
parseabc.c:2797:12: warning: old-style function definition [-Wold-style-definition]
 2797 | static int pitch2midi(note, accidental, mult, octave )
      |            ^~~~~~~~~~
parseabc.c: In function 'parsemusic':
parseabc.c:2954:1: warning: old-style function definition [-Wold-style-definition]
 2954 | parsemusic (field)
      | ^~~~~~~~~~
parseabc.c: In function 'parseline':
parseabc.c:3450:1: warning: old-style function definition [-Wold-style-definition]
 3450 | parseline (line)
      | ^~~~~~~~~
parseabc.c:3472:11: error: too many arguments to function 'event_temperament'; expected 0, have 1
 3472 |           event_temperament(line);
      |           ^~~~~~~~~~~~~~~~~ ~~~~
In file included from parseabc.c:34:
parseabc.h:174:13: note: declared here
  174 | extern void event_temperament();
      |             ^~~~~~~~~~~~~~~~~
parseabc.c: In function 'parsefile':
parseabc.c:3583:1: warning: old-style function definition [-Wold-style-definition]
 3583 | parsefile (name)
      | ^~~~~~~~~
parseabc.c:3593:1: error: number of arguments doesn't match prototype
 3593 | {
      | ^
parseabc.h:178:13: error: prototype declaration
  178 | extern void parsefile();
      |             ^~~~~~~~~
parseabc.c: At top level:
parseabc.c:3713:1: error: conflicting types for 'parsetune'; have 'int(FILE *)'
 3713 | parsetune (FILE * fp)
      | ^~~~~~~~~
parseabc.h:179:12: note: previous declaration of 'parsetune' with type 'int(void)'
  179 | extern int parsetune();
      |            ^~~~~~~~~
make: *** [<builtin>: parseabc.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o yapstree.o yapstree.c
yapstree.c: In function 'setfract':
yapstree.c:89:6: warning: old-style function definition [-Wold-style-definition]
   89 | void setfract(f, a, b)
      |      ^~~~~~~~
yapstree.c: In function 'reducef':
yapstree.c:98:6: warning: old-style function definition [-Wold-style-definition]
   98 | void reducef(f)
      |      ^~~~~~~
yapstree.c: In function 'newnote':
yapstree.c:715:21: warning: old-style function definition [-Wold-style-definition]
  715 | static struct note* newnote(decorators, clef, xaccidental, xmult, xnote, xoctave,
      |                     ^~~~~~~
yapstree.c: In function 'addunits':
yapstree.c:788:13: warning: old-style function definition [-Wold-style-definition]
  788 | static void addunits(f, n, m)
      |             ^~~~~~~~
yapstree.c: In function 'addfractions':
yapstree.c:798:13: warning: old-style function definition [-Wold-style-definition]
  798 | static void addfractions(f,n,m)
      |             ^~~~~~~~~~~~
yapstree.c: In function 'event_init':
yapstree.c:1113:6: warning: old-style function definition [-Wold-style-definition]
 1113 | void event_init(argc, argv, filename)
      |      ^~~~~~~~~~
yapstree.c: In function 'event_text':
yapstree.c:1349:6: warning: old-style function definition [-Wold-style-definition]
 1349 | void event_text(p)
      |      ^~~~~~~~~~
yapstree.c: In function 'event_x_reserved':
yapstree.c:1355:6: warning: old-style function definition [-Wold-style-definition]
 1355 | void event_x_reserved(p)
      |      ^~~~~~~~~~~~~~~~
yapstree.c: In function 'event_abbreviation':
yapstree.c:1360:6: warning: old-style function definition [-Wold-style-definition]
 1360 | void event_abbreviation(symbol, string, container)
      |      ^~~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_tex':
yapstree.c:1392:6: warning: old-style function definition [-Wold-style-definition]
 1392 | void event_tex(s)
      |      ^~~~~~~~~
yapstree.c: In function 'event_endmusicline':
yapstree.c:1485:6: warning: old-style function definition [-Wold-style-definition]
 1485 | void event_endmusicline(endchar)
      |      ^~~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_error':
yapstree.c:1497:6: warning: old-style function definition [-Wold-style-definition]
 1497 | void event_error(s)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_warning':
yapstree.c:1504:6: warning: old-style function definition [-Wold-style-definition]
 1504 | void event_warning(s)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'event_comment':
yapstree.c:1511:6: warning: old-style function definition [-Wold-style-definition]
 1511 | void event_comment(s)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'event_specific':
yapstree.c:1597:3: error: too many arguments to function 'font_command'; expected 0, have 2
 1597 |   font_command(p, s);
      |   ^~~~~~~~~~~~ ~
yapstree.c:51:13: note: declared here
   51 | extern void font_command();
      |             ^~~~~~~~~~~~
yapstree.c: In function 'event_field':
yapstree.c:1600:6: warning: old-style function definition [-Wold-style-definition]
 1600 | void event_field(k, f)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_words':
yapstree.c:1716:6: warning: old-style function definition [-Wold-style-definition]
 1716 | void event_words(p, append, continuation)
      |      ^~~~~~~~~~~
yapstree.c: In function 'appendfield':
yapstree.c:1821:6: warning: old-style function definition [-Wold-style-definition]
 1821 | void appendfield (morewords)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_part':
yapstree.c:1827:6: warning: old-style function definition [-Wold-style-definition]
 1827 | void event_part(s)
      |      ^~~~~~~~~~
yapstree.c: In function 'event_voice':
yapstree.c:1851:6: warning: old-style function definition [-Wold-style-definition]
 1851 | void event_voice(n, s, vp)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_length':
yapstree.c:1872:6: warning: old-style function definition [-Wold-style-definition]
 1872 | void event_length(n)
      |      ^~~~~~~~~~~~
yapstree.c: In function 'event_default_length':
yapstree.c:1889:6: warning: old-style function definition [-Wold-style-definition]
 1889 | void event_default_length (n)
      |      ^~~~~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_refno':
yapstree.c:1896:6: warning: old-style function definition [-Wold-style-definition]
 1896 | void event_refno(n)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_tempo':
yapstree.c:1927:6: warning: old-style function definition [-Wold-style-definition]
 1927 | void event_tempo(n, a, b, relative, pre, post)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_timesig':
yapstree.c:1955:6: warning: old-style function definition [-Wold-style-definition]
 1955 | void event_timesig (timesig)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'setmap':
yapstree.c:2003:6: warning: old-style function definition [-Wold-style-definition]
 2003 | void setmap(sf, map, mult)
      |      ^~~~~~
yapstree.c: In function 'altermap':
yapstree.c:2031:6: warning: old-style function definition [-Wold-style-definition]
 2031 | void altermap(basemap, basemul, modmap, modmul)
      |      ^~~~~~~~
yapstree.c: In function 'event_true_key':
yapstree.c:2076:6: warning: old-style function definition [-Wold-style-definition]
 2076 | void event_true_key(sharps, s, modeindex, modmap, modmul)
      |      ^~~~~~~~~~~~~~
yapstree.c: In function 'event_key':
yapstree.c:2122:6: warning: old-style function definition [-Wold-style-definition]
 2122 | void event_key(sharps, s, minor, modmap, modmul, modmicrotone, gotkey,
      |      ^~~~~~~~~
yapstree.c: In function 'event_bar':
yapstree.c:2192:6: warning: old-style function definition [-Wold-style-definition]
 2192 | void event_bar(type, playonrep_list)
      |      ^~~~~~~~~
yapstree.c: In function 'event_playonrep':
yapstree.c:2262:6: warning: old-style function definition [-Wold-style-definition]
 2262 | void event_playonrep(s)
      |      ^~~~~~~~~~~~~~~
yapstree.c: In function 'event_broken':
yapstree.c:2269:6: warning: old-style function definition [-Wold-style-definition]
 2269 | void event_broken(type, mult)
      |      ^~~~~~~~~~~~
yapstree.c: In function 'event_tuple':
yapstree.c:2286:6: warning: old-style function definition [-Wold-style-definition]
 2286 | void event_tuple(n, q, r)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_handle_gchord':
yapstree.c:2330:6: warning: old-style function definition [-Wold-style-definition]
 2330 | void event_handle_gchord(s)
      |      ^~~~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_handle_instruction':
yapstree.c:2348:6: warning: old-style function definition [-Wold-style-definition]
 2348 | void event_handle_instruction(s)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_sluron':
yapstree.c:2445:6: warning: old-style function definition [-Wold-style-definition]
 2445 | void event_sluron(t)
      |      ^~~~~~~~~~~~
yapstree.c: In function 'event_sluroff':
yapstree.c:2462:6: warning: old-style function definition [-Wold-style-definition]
 2462 | void event_sluroff(t)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'event_lineend':
yapstree.c:2545:6: warning: old-style function definition [-Wold-style-definition]
 2545 | void event_lineend(ch, n)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'lenmul':
yapstree.c:2552:13: warning: old-style function definition [-Wold-style-definition]
 2552 | static void lenmul(n, a, b)
      |             ^~~~~~
yapstree.c: In function 'event_spacing':
yapstree.c:2821:6: warning: old-style function definition [-Wold-style-definition]
 2821 | void event_spacing(n, m)
      |      ^~~~~~~~~~~~~
yapstree.c: In function 'xevent_rest':
yapstree.c:2826:6: warning: old-style function definition [-Wold-style-definition]
 2826 | void xevent_rest(n, m, multi)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_rest':
yapstree.c:2873:6: warning: old-style function definition [-Wold-style-definition]
 2873 | void event_rest(decorators,n,m,type)
      |      ^~~~~~~~~~
yapstree.c: In function 'event_mrest':
yapstree.c:2881:6: warning: old-style function definition [-Wold-style-definition]
 2881 | void event_mrest(n,m,c)
      |      ^~~~~~~~~~~
yapstree.c: In function 'event_note':
yapstree.c:2889:6: warning: old-style function definition [-Wold-style-definition]
 2889 | void event_note(decorators, clef, xaccidental, xmult, xnote, xoctave, n, m)
      |      ^~~~~~~~~~
yapstree.c: At top level:
yapstree.c:2955:6: error: conflicting types for 'event_temperament'; have 'void(char *)'
 2955 | void event_temperament(char *line) {
      |      ^~~~~~~~~~~~~~~~~
In file included from yapstree.c:45:
parseabc.h:174:13: note: previous declaration of 'event_temperament' with type 'void(void)'
  174 | extern void event_temperament();
      |             ^~~~~~~~~~~~~~~~~
yapstree.c: In function 'event_info_key':
yapstree.c:2965:6: warning: old-style function definition [-Wold-style-definition]
 2965 | void event_info_key(key, value)
      |      ^~~~~~~~~~~~~~
yapstree.c: In function 'main':
yapstree.c:2992:5: warning: old-style function definition [-Wold-style-definition]
 2992 | int main(argc,argv)
      |     ^~~~
yapstree.c:3007:5: error: too many arguments to function 'parsefile'; expected 0, have 1
 3007 |     parsefile(filename);
      |     ^~~~~~~~~ ~~~~~~~~
parseabc.h:178:13: note: declared here
  178 | extern void parsefile();
      |             ^~~~~~~~~
make: *** [<builtin>: yapstree.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o genmidi.o genmidi.c
genmidi.c: In function 'reduce':
genmidi.c:298:6: warning: old-style function definition [-Wold-style-definition]
  298 | void reduce(a, b)
      |      ^~~~~~
genmidi.c: In function 'gtfract':
genmidi.c:328:5: warning: old-style function definition [-Wold-style-definition]
  328 | int gtfract(anum,adenom, bnum,bdenom)
      |     ^~~~~~~
genmidi.c: In function 'addunits':
genmidi.c:342:6: warning: old-style function definition [-Wold-style-definition]
  342 | void addunits(a, b)
      |      ^~~~~~~~
genmidi.c: In function 'set_gchords':
genmidi.c:392:6: warning: old-style function definition [-Wold-style-definition]
  392 | void set_gchords(s)
      |      ^~~~~~~~~~~
genmidi.c: In function 'set_drums':
genmidi.c:435:6: warning: old-style function definition [-Wold-style-definition]
  435 | void set_drums(s)
      |      ^~~~~~~~~
genmidi.c: In function 'checkbar':
genmidi.c:520:13: warning: old-style function definition [-Wold-style-definition]
  520 | static void checkbar(pass)
      |             ^~~~~~~~
genmidi.c: In function 'softcheckbar':
genmidi.c:568:13: warning: old-style function definition [-Wold-style-definition]
  568 | static void softcheckbar(pass)
      |             ^~~~~~~~~~~~
genmidi.c: In function 'save_state':
genmidi.c:579:13: warning: old-style function definition [-Wold-style-definition]
  579 | static void save_state(vec, a, b, c, d, e, f)
      |             ^~~~~~~~~~
genmidi.c: In function 'restore_state':
genmidi.c:592:13: warning: old-style function definition [-Wold-style-definition]
  592 | static void restore_state(vec, a, b, c, d, e, f)
      |             ^~~~~~~~~~~~~
genmidi.c: In function 'findpart':
genmidi.c:625:12: warning: old-style function definition [-Wold-style-definition]
  625 | static int findpart(j)
      |            ^~~~~~~~
genmidi.c: In function 'partbreak':
genmidi.c:659:12: warning: old-style function definition [-Wold-style-definition]
  659 | static int partbreak(xtrack, voice, place)
      |            ^~~~~~~~~
genmidi.c: In function 'findvoice':
genmidi.c:676:12: warning: old-style function definition [-Wold-style-definition]
  676 | static int findvoice(initplace, voice, xtrack)
      |            ^~~~~~~~~
genmidi.c: In function 'text_data':
genmidi.c:708:13: warning: old-style function definition [-Wold-style-definition]
  708 | static void text_data(s)
      |             ^~~~~~~~~
genmidi.c:712:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
  712 |   mf_write_meta_event(delta_time, text_event, s, strlen(s));
      |   ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
In file included from genmidi.c:43:
midifile.h:37:5: note: declared here
   37 | int mf_write_meta_event();
      |     ^~~~~~~~~~~~~~~~~~~
genmidi.c: In function 'karaokestarttrack':
genmidi.c:717:13: warning: old-style function definition [-Wold-style-definition]
  717 | static void karaokestarttrack (track)
      |             ^~~~~~~~~~~~~~~~~
genmidi.c:743:7: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
  743 |       mf_write_meta_event(0L, sequence_name, "Words", 5);
      |       ^~~~~~~~~~~~~~~~~~~ ~~
midifile.h:37:5: note: declared here
   37 | int mf_write_meta_event();
      |     ^~~~~~~~~~~~~~~~~~~
genmidi.c:763:12: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
  763 |            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:807:12: warning: old-style function definition [-Wold-style-definition]
  807 | static int findwline(startline)
      |            ^~~~~~~~~
genmidi.c: In function 'getword':
genmidi.c:905:12: warning: old-style function definition [-Wold-style-definition]
  905 | static int getword(place, w)
      |            ^~~~~~~
genmidi.c: In function 'write_syllable':
genmidi.c:1120:13: warning: old-style function definition [-Wold-style-definition]
 1120 | static void write_syllable(place)
      |             ^~~~~~~~~~~~~~
genmidi.c: In function 'inlist':
genmidi.c:1220:12: warning: old-style function definition [-Wold-style-definition]
 1220 | static int inlist(place, passno)
      |            ^~~~~~
genmidi.c: In function 'set_meter':
genmidi.c:1269:6: warning: old-style function definition [-Wold-style-definition]
 1269 | void set_meter(n, m)
      |      ^~~~~~~~~
genmidi.c: In function 'write_meter':
genmidi.c:1298:13: warning: old-style function definition [-Wold-style-definition]
 1298 | static void write_meter(n, m)
      |             ^~~~~~~~~~~
genmidi.c:1326:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 1326 |   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:1329:13: warning: old-style function definition [-Wold-style-definition]
 1329 | static void write_keysig(sf, mi)
      |             ^~~~~~~~~~~~
genmidi.c:1337:3: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 1337 |   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:1340:13: warning: old-style function definition [-Wold-style-definition]
 1340 | static void midi_noteon(delta_time, pitch, pitchbend, chan, vel)
      |             ^~~~~~~~~~~
genmidi.c:1360:7: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1360 |       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:1370:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1370 |     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:1374:6: warning: old-style function definition [-Wold-style-definition]
 1374 | void midi_noteoff(delta_time, pitch, chan)
      |      ^~~~~~~~~~~~
genmidi.c:1387:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1387 |     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:1391:13: warning: old-style function definition [-Wold-style-definition]
 1391 | static void noteon_data(pitch, pitchbend, channel, vel)
      |             ^~~~~~~~~~~
genmidi.c: In function 'apply_velocity_increment_for_one_note':
genmidi.c:1616:5: warning: old-style function definition [-Wold-style-definition]
 1616 | int apply_velocity_increment_for_one_note (velocity)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
genmidi.c: In function 'noteon':
genmidi.c:1636:13: warning: old-style function definition [-Wold-style-definition]
 1636 | static void noteon(n)
      |             ^~~~~~
genmidi.c: In function 'write_program':
genmidi.c:1657:13: warning: old-style function definition [-Wold-style-definition]
 1657 | static void write_program(p, channel)
      |             ^~~~~~~~~~~~~
genmidi.c:1669:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1669 |     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:1676:6: warning: old-style function definition [-Wold-style-definition]
 1676 | void write_event_with_delay(delta,event_type, channel, data, n)
      |      ^~~~~~~~~~~~~~~~~~~~~~
genmidi.c:1686:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1686 |     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:1690:6: warning: old-style function definition [-Wold-style-definition]
 1690 | void write_event(event_type, channel, data, n)
      |      ^~~~~~~~~~~
genmidi.c:1700:5: error: too many arguments to function 'mf_write_midi_event'; expected 0, have 5
 1700 |     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:1704:14: warning: old-style function definition [-Wold-style-definition]
 1704 | static char *select_channel(chan, s)
      |              ^~~~~~~~~~~~~~
genmidi.c: In function 'makechordchannels':
genmidi.c:1729:12: warning: old-style function definition [-Wold-style-definition]
 1729 | static int makechordchannels (n)
      |            ^~~~~~~~~~~~~~~~~
genmidi.c: In function 'expand_array':
genmidi.c:1892:13: warning: old-style function definition [-Wold-style-definition]
 1892 | static void expand_array (shortarray, size, longarray, factor)
      |             ^~~~~~~~~~~~
genmidi.c: In function 'dodeferred':
genmidi.c:1925:13: warning: old-style function definition [-Wold-style-definition]
 1925 | static void dodeferred(s,noteson)
      |             ^~~~~~~~~~
genmidi.c: In function 'delay':
genmidi.c:2370:13: warning: old-style function definition [-Wold-style-definition]
 2370 | static void delay(a, b, c)
      |             ^~~~~
genmidi.c: In function 'save_note':
genmidi.c:2385:13: warning: old-style function definition [-Wold-style-definition]
 2385 | static void save_note(num, denom, pitch, pitchbend, chan, vel)
      |             ^~~~~~~~~
genmidi.c: In function 'dogchords':
genmidi.c:2400:6: warning: old-style function definition [-Wold-style-definition]
 2400 | void dogchords(i)
      |      ^~~~~~~~~
genmidi.c: In function 'dodrums':
genmidi.c:2537:6: warning: old-style function definition [-Wold-style-definition]
 2537 | void dodrums(i)
      |      ^~~~~~~
genmidi.c: In function 'progress_sequence':
genmidi.c:2589:6: warning: old-style function definition [-Wold-style-definition]
 2589 | void progress_sequence(i)
      |      ^~~~~~~~~~~~~~~~~
genmidi.c: In function 'writetrack':
genmidi.c:2856:6: warning: old-style function definition [-Wold-style-definition]
 2856 | long writetrack(xtrack)
      |      ^~~~~~~~~~
genmidi.c:2925:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2925 |     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:2940:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2940 |     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:2949:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2949 |     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:2961:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2961 |     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:2978:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2978 |     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:2990:5: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 2990 |     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:2995:5: error: too many arguments to function 'mf_write_tempo'; expected 0, have 1
 2995 |     mf_write_tempo(tempo);
      |     ^~~~~~~~~~~~~~ ~~~~~
midifile.h:39:6: note: declared here
   39 | void mf_write_tempo();
      |      ^~~~~~~~~~~~~~
genmidi.c:3191:9: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3191 |         mf_write_meta_event(0L, marker, msg, 1);
      |         ^~~~~~~~~~~~~~~~~~~ ~~
midifile.h:37:5: note: declared here
   37 | int mf_write_meta_event();
      |     ^~~~~~~~~~~~~~~~~~~
genmidi.c:3206:9: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3206 |         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:3215:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3215 |               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:3439:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3439 |               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:3443:15: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3443 |               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:3486:11: error: too many arguments to function 'mf_write_meta_event'; expected 0, have 4
 3486 |           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();
      |     ^~~~~~~~~~~~~~~~~~~
make: *** [<builtin>: genmidi.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o drawtune.o drawtune.c
drawtune.c: In function 'setmargins':
drawtune.c:430:6: warning: old-style function definition [-Wold-style-definition]
  430 | void setmargins(s)
      |      ^~~~~~~~~~
drawtune.c: In function 'setpagesize':
drawtune.c:449:6: warning: old-style function definition [-Wold-style-definition]
  449 | void setpagesize(s)
      |      ^~~~~~~~~~~
drawtune.c: In function 'set_space':
drawtune.c:486:13: warning: old-style function definition [-Wold-style-definition]
  486 | static void set_space(afont, s)
      |             ^~~~~~~~~
drawtune.c: In function 'init_font':
drawtune.c:509:13: warning: old-style function definition [-Wold-style-definition]
  509 | static void init_font(afont, ptsize, spce, defnum, specialnum)
      |             ^~~~~~~~~
drawtune.c: In function 'read_boolean':
drawtune.c:2085:5: warning: old-style function definition [-Wold-style-definition]
 2085 | int read_boolean(s)
      |     ^~~~~~~~~~~~
drawtune.c: In function 'font_command':
drawtune.c:2103:6: warning: old-style function definition [-Wold-style-definition]
 2103 | void font_command(p, s)
      |      ^~~~~~~~~~~~
drawtune.c: In function 'printtext':
drawtune.c:2721:13: warning: old-style function definition [-Wold-style-definition]
 2721 | static void printtext(place, s, afont)
      |             ^~~~~~~~~
drawtune.c: In function 'centretext':
drawtune.c:2750:6: warning: old-style function definition [-Wold-style-definition]
 2750 | void centretext(s)
      |      ^~~~~~~~~~
drawtune.c: In function 'lefttext':
drawtune.c:2758:6: warning: old-style function definition [-Wold-style-definition]
 2758 | void lefttext(s)
      |      ^~~~~~~~
drawtune.c: In function 'open_output_file':
drawtune.c:2863:6: warning: old-style function definition [-Wold-style-definition]
 2863 | void open_output_file(filename, boundingbox)
      |      ^~~~~~~~~~~~~~~~
drawtune.c:2874:3: error: too many arguments to function 'printlib'; expected 0, have 3
 2874 |   printlib(f, filename, boundingbox);
      |   ^~~~~~~~ ~
drawtune.c:51:13: note: declared here
   51 | extern void printlib();
      |             ^~~~~~~~
drawtune.c: In function 'endrep':
drawtune.c:2890:12: warning: old-style function definition [-Wold-style-definition]
 2890 | static int endrep(inend, end_string, x1, x2, yend)
      |            ^~~~~~
drawtune.c: In function 'finalsizetune':
drawtune.c:3454:13: warning: old-style function definition [-Wold-style-definition]
 3454 | static void finalsizetune(t)
      |             ^~~~~~~~~~~~~
drawtune.c: In function 'tuneheight':
drawtune.c:3510:15: warning: old-style function definition [-Wold-style-definition]
 3510 | static double tuneheight(t)
      |               ^~~~~~~~~~
make: *** [<builtin>: drawtune.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o midistats.o midistats.c
midistats.c: In function 'fatal_error':
midistats.c:316:6: warning: old-style function definition [-Wold-style-definition]
  316 | void fatal_error(s)
      |      ^~~~~~~~~~~
midistats.c: In function 'event_error':
midistats.c:325:6: warning: old-style function definition [-Wold-style-definition]
  325 | void event_error(s)
      |      ^~~~~~~~~~~
midistats.c: In function 'checkmalloc':
midistats.c:336:6: warning: old-style function definition [-Wold-style-definition]
  336 | int* checkmalloc(bytes)
      |      ^~~~~~~~~~~
midistats.c: In function 'efopen':
midistats.c:353:1: warning: old-style function definition [-Wold-style-definition]
  353 | efopen(name,mode)
      | ^~~~~~
midistats.c: In function 'error':
midistats.c:367:6: warning: old-style function definition [-Wold-style-definition]
  367 | void error(s)
      |      ^~~~~
midistats.c: In function 'stats_error':
midistats.c:375:6: warning: old-style function definition [-Wold-style-definition]
  375 | void stats_error(s)
      |      ^~~~~~~~~~~
midistats.c: In function 'pitch2drum':
midistats.c:438:6: warning: old-style function definition [-Wold-style-definition]
  438 | void pitch2drum(midipitch)
      |      ^~~~~~~~~~
midistats.c: In function 'output_count_trkdata':
midistats.c:711:6: warning: old-style function definition [-Wold-style-definition]
  711 | void output_count_trkdata(data_array,name)
      |      ^~~~~~~~~~~~~~~~~~~~
midistats.c: In function 'stats_noteon':
midistats.c:895:6: warning: old-style function definition [-Wold-style-definition]
  895 | void stats_noteon(chan,pitch,vol)
      |      ^~~~~~~~~~~~
midistats.c: In function 'stats_pitchbend':
midistats.c:1009:6: warning: old-style function definition [-Wold-style-definition]
 1009 | void stats_pitchbend(chan,lsb,msb)
      |      ^~~~~~~~~~~~~~~
midistats.c: In function 'stats_pressure':
midistats.c:1016:6: warning: old-style function definition [-Wold-style-definition]
 1016 | void stats_pressure(chan,press)
      |      ^~~~~~~~~~~~~~
midistats.c: In function 'stats_program':
midistats.c:1025:6: warning: old-style function definition [-Wold-style-definition]
 1025 | void stats_program(chan,program)
      |      ^~~~~~~~~~~~~
midistats.c: In function 'stats_parameter':
midistats.c:1044:6: warning: old-style function definition [-Wold-style-definition]
 1044 | void stats_parameter(chan,control,value)
      |      ^~~~~~~~~~~~~~~
midistats.c: In function 'stats_metatext':
midistats.c:1061:6: warning: old-style function definition [-Wold-style-definition]
 1061 | void stats_metatext(type,leng,mess)
      |      ^~~~~~~~~~~~~~
midistats.c: In function 'stats_keysig':
midistats.c:1077:6: warning: old-style function definition [-Wold-style-definition]
 1077 | void stats_keysig(sf,mi)
      |      ^~~~~~~~~~~~
midistats.c: In function 'stats_tempo':
midistats.c:1100:6: warning: old-style function definition [-Wold-style-definition]
 1100 | void stats_tempo(ltempo)
      |      ^~~~~~~~~~~
midistats.c: In function 'stats_timesig':
midistats.c:1113:6: warning: old-style function definition [-Wold-style-definition]
 1113 | void stats_timesig(nn,dd,cc,bb)
      |      ^~~~~~~~~~~~~
midistats.c: In function 'initfunc_for_stats':
midistats.c:1178:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1178 |     Mf_header = stats_header;
      |               ^
midistats.c:462:6: note: 'stats_header' declared here
  462 | void stats_header (int format, int ntrks, int ldivision)
      |      ^~~~~~~~~~~~
midistats.c:1182:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1182 |     Mf_noteoff = stats_noteoff;
      |                ^
midistats.c:979:6: note: 'stats_noteoff' declared here
  979 | void stats_noteoff(int chan,int pitch,int vol)
      |      ^~~~~~~~~~~~~
midistats.c:1183:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1183 |     Mf_pressure = no_op3;
      |                 ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1188:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1188 |     Mf_sysex = no_op2;
      |              ^
midistats.c:390:7: note: 'no_op2' declared here
  390 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midistats.c:1189:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1189 |     Mf_metamisc = no_op3;
      |                 ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1190:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
 1190 |     Mf_seqnum = no_op1;
      |               ^
midistats.c:389:7: note: 'no_op1' declared here
  389 |  void no_op1(int dummy1) {}
      |       ^~~~~~
midistats.c:1193:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int,  int,  int)' [-Wincompatible-pointer-types]
 1193 |     Mf_smpte = no_op5;
      |              ^
midistats.c:393:7: note: 'no_op5' declared here
  393 |  void no_op5(int dummy1, int dummy2, int dummy3, int dummy4, int dummy5) { }
      |       ^~~~~~
midistats.c:1196:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1196 |     Mf_seqspecific = no_op3;
      |                    ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1198:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1198 |     Mf_arbitrary = no_op2;
      |                  ^
midistats.c:390:7: note: 'no_op2' declared here
  390 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midistats.c: In function 'initfunc_for_loadNoteEvents':
midistats.c:1206:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1206 |     Mf_header = load_header;
      |               ^
midistats.c:1164:6: note: 'load_header' declared here
 1164 | void load_header (int format, int ntrks, int ldivision)
      |      ^~~~~~~~~~~
midistats.c:1209:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1209 |     Mf_noteon = record_noteon;
      |               ^
midistats.c:1125:6: note: 'record_noteon' declared here
 1125 | void record_noteon(int chan,int pitch,int vol)
      |      ^~~~~~~~~~~~~
midistats.c:1210:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1210 |     Mf_noteoff = record_noteoff;
      |                ^
midistats.c:1141:6: note: 'record_noteoff' declared here
 1141 | void record_noteoff(int chan,int pitch,int vol)
      |      ^~~~~~~~~~~~~~
midistats.c:1211:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1211 |     Mf_pressure = no_op3;
      |                 ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1212:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1212 |     Mf_parameter = no_op3;
      |                  ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1213:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1213 |     Mf_pitchbend = no_op3;
      |                  ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1215:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1215 |     Mf_chanpressure = no_op3;
      |                     ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1216:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1216 |     Mf_sysex = no_op2;
      |              ^
midistats.c:390:7: note: 'no_op2' declared here
  390 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midistats.c:1217:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1217 |     Mf_metamisc = no_op3;
      |                 ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1218:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
 1218 |     Mf_seqnum = no_op1;
      |               ^
midistats.c:389:7: note: 'no_op1' declared here
  389 |  void no_op1(int dummy1) {}
      |       ^~~~~~
midistats.c:1220:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int,  int)' [-Wincompatible-pointer-types]
 1220 |     Mf_timesig = no_op4;
      |                ^
midistats.c:392:7: note: 'no_op4' declared here
  392 |  void no_op4(int dummy1, int dummy2, int dummy3, int dummy4) { }
      |       ^~~~~~
midistats.c:1221:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int,  int,  int)' [-Wincompatible-pointer-types]
 1221 |     Mf_smpte = no_op5;
      |              ^
midistats.c:393:7: note: 'no_op5' declared here
  393 |  void no_op5(int dummy1, int dummy2, int dummy3, int dummy4, int dummy5) { }
      |       ^~~~~~
midistats.c:1222:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(long int)' [-Wincompatible-pointer-types]
 1222 |     Mf_tempo = record_tempo;
      |              ^
midistats.c:1147:6: note: 'record_tempo' declared here
 1147 | void record_tempo(long ltempo)
      |      ^~~~~~~~~~~~
midistats.c:1223:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1223 |     Mf_keysig = no_op2;
      |               ^
midistats.c:390:7: note: 'no_op2' declared here
  390 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midistats.c:1224:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1224 |     Mf_seqspecific = no_op3;
      |                    ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1225:13: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1225 |     Mf_text = no_op3;
      |             ^
midistats.c:391:7: note: 'no_op3' declared here
  391 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midistats.c:1226:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1226 |     Mf_arbitrary = no_op2;
      |                  ^
midistats.c:390:7: note: 'no_op2' declared here
  390 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midistats.c: In function 'readnum':
midistats.c:1691:5: warning: old-style function definition [-Wold-style-definition]
 1691 | int readnum(num)
      |     ^~~~~~~
midistats.c: In function 'readnump':
midistats.c:1716:5: warning: old-style function definition [-Wold-style-definition]
 1716 | int readnump(p)
      |     ^~~~~~~~
midistats.c: In function 'getarg':
midistats.c:1737:5: warning: old-style function definition [-Wold-style-definition]
 1737 | int getarg(option, argc, argv)
      |     ^~~~~~
midistats.c: In function 'huntfilename':
midistats.c:1754:5: warning: old-style function definition [-Wold-style-definition]
 1754 | int huntfilename(argc, argv)
      |     ^~~~~~~~~~~~
midistats.c: In function 'process_command_line_arguments':
midistats.c:1780:5: warning: old-style function definition [-Wold-style-definition]
 1780 | int process_command_line_arguments(argc,argv)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midistats.c: In function 'midistats':
midistats.c:1916:6: warning: old-style function definition [-Wold-style-definition]
 1916 | void midistats(argc,argv)
      |      ^~~~~~~~~
midistats.c: In function 'main':
midistats.c:1974:5: warning: old-style function definition [-Wold-style-definition]
 1974 | int main(argc,argv)
      |     ^~~~
midistats.c:1978:9: error: prototype for 'efopen' declares fewer arguments than previous old-style definition
 1978 |   FILE *efopen();
      |         ^~~~~~
midistats.c:353:1: note: previous definition of 'efopen' with type 'FILE *()'
  353 | efopen(name,mode)
      | ^~~~~~
make: *** [<builtin>: midistats.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o midi2abc.o midi2abc.c
midi2abc.c: In function 'fatal_error':
midi2abc.c:270:6: warning: old-style function definition [-Wold-style-definition]
  270 | void fatal_error(s)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'event_error':
midi2abc.c:279:6: warning: old-style function definition [-Wold-style-definition]
  279 | void event_error(s)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'checkmalloc':
midi2abc.c:290:6: warning: old-style function definition [-Wold-style-definition]
  290 | int* checkmalloc(bytes)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'addstring':
midi2abc.c:305:7: warning: old-style function definition [-Wold-style-definition]
  305 | char* addstring(s)
      |       ^~~~~~~~~
midi2abc.c: In function 'addtext':
midi2abc.c:325:6: warning: old-style function definition [-Wold-style-definition]
  325 | void addtext(s, type)
      |      ^~~~~~~
midi2abc.c: In function 'addtext_type0':
midi2abc.c:350:6: warning: old-style function definition [-Wold-style-definition]
  350 | void addtext_type0(s, type,chn)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'noteplaying':
midi2abc.c:391:6: warning: old-style function definition [-Wold-style-definition]
  391 | void noteplaying(p)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'addnote':
midi2abc.c:414:6: warning: old-style function definition [-Wold-style-definition]
  414 | void addnote(p, ch, v)
      |      ^~~~~~~
midi2abc.c: In function 'addnote_type0':
midi2abc.c:448:6: warning: old-style function definition [-Wold-style-definition]
  448 | void addnote_type0(p, ch, v)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'notestop':
midi2abc.c:483:6: warning: old-style function definition [-Wold-style-definition]
  483 | void notestop(p, ch)
      |      ^~~~~~~~
midi2abc.c: In function 'efopen':
midi2abc.c:529:1: warning: old-style function definition [-Wold-style-definition]
  529 | efopen(name,mode)
      | ^~~~~~
midi2abc.c: In function 'error':
midi2abc.c:543:6: warning: old-style function definition [-Wold-style-definition]
  543 | void error(s)
      |      ^~~~~
midi2abc.c: In function 'txt_header':
midi2abc.c:552:6: warning: old-style function definition [-Wold-style-definition]
  552 | void txt_header(xformat,ntrks,ldivision)
      |      ^~~~~~~~~~
midi2abc.c:566:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  566 |       Mf_noteon =  txt_noteon_type0;
      |                 ^
midi2abc.c:249:6: note: 'txt_noteon_type0' declared here
  249 | void txt_noteon_type0(int,int,int);
      |      ^~~~~~~~~~~~~~~~
midi2abc.c:567:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  567 |       Mf_noteoff =  txt_noteoff;
      |                  ^
midi2abc.c:246:6: note: 'txt_noteoff' declared here
  246 | void txt_noteoff(int,int,int);
      |      ^~~~~~~~~~~
midi2abc.c:568:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  568 |       Mf_program =  txt_program_type0;
      |                  ^
midi2abc.c:250:6: note: 'txt_program_type0' declared here
  250 | void txt_program_type0(int,int);
      |      ^~~~~~~~~~~~~~~~~
midi2abc.c: In function 'txt_noteon':
midi2abc.c:623:6: warning: old-style function definition [-Wold-style-definition]
  623 | void txt_noteon(chan,pitch,vol)
      |      ^~~~~~~~~~
midi2abc.c: In function 'txt_noteon_type0':
midi2abc.c:637:6: warning: old-style function definition [-Wold-style-definition]
  637 | void txt_noteon_type0(chan,pitch,vol)
      |      ^~~~~~~~~~~~~~~~
midi2abc.c: In function 'txt_noteoff':
midi2abc.c:650:6: warning: old-style function definition [-Wold-style-definition]
  650 | void txt_noteoff(chan,pitch,vol)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'txt_pressure':
midi2abc.c:658:6: warning: old-style function definition [-Wold-style-definition]
  658 | void txt_pressure(chan,pitch,press)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'txt_parameter':
midi2abc.c:664:6: warning: old-style function definition [-Wold-style-definition]
  664 | void txt_parameter(chan,control,value)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'txt_pitchbend':
midi2abc.c:669:6: warning: old-style function definition [-Wold-style-definition]
  669 | void txt_pitchbend(chan,lsb,msb)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'txt_sysex_snt':
midi2abc.c:686:6: warning: old-style function definition [-Wold-style-definition]
  686 | void txt_sysex_snt (leng,mess)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'txt_program':
midi2abc.c:730:6: warning: old-style function definition [-Wold-style-definition]
  730 | void txt_program(chan,program)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'txt_program_type0':
midi2abc.c:745:6: warning: old-style function definition [-Wold-style-definition]
  745 | void txt_program_type0(chan,program)
      |      ^~~~~~~~~~~~~~~~~
midi2abc.c: In function 'txt_sysex':
midi2abc.c:758:6: warning: old-style function definition [-Wold-style-definition]
  758 | void txt_sysex(leng,mess)
      |      ^~~~~~~~~
midi2abc.c: In function 'txt_metamisc':
midi2abc.c:764:6: warning: old-style function definition [-Wold-style-definition]
  764 | void txt_metamisc(type,leng,mess)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'txt_metaspecial':
midi2abc.c:770:6: warning: old-style function definition [-Wold-style-definition]
  770 | void txt_metaspecial(type,leng,mess)
      |      ^~~~~~~~~~~~~~~
midi2abc.c: In function 'txt_metatext':
midi2abc.c:776:6: warning: old-style function definition [-Wold-style-definition]
  776 | void txt_metatext(type,leng,mess)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'txt_metaseq':
midi2abc.c:825:6: warning: old-style function definition [-Wold-style-definition]
  825 | void txt_metaseq(num)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'txt_keysig':
midi2abc.c:837:6: warning: old-style function definition [-Wold-style-definition]
  837 | void txt_keysig(sf,mi)
      |      ^~~~~~~~~~
midi2abc.c: In function 'txt_tempo':
midi2abc.c:869:6: warning: old-style function definition [-Wold-style-definition]
  869 | void txt_tempo(ltempo)
      |      ^~~~~~~~~
midi2abc.c: In function 'setup_timesig':
midi2abc.c:878:6: warning: old-style function definition [-Wold-style-definition]
  878 | void setup_timesig(nn,  denom,  bb)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'txt_timesig':
midi2abc.c:905:6: warning: old-style function definition [-Wold-style-definition]
  905 | void txt_timesig(nn,dd,cc,bb)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'txt_smpte':
midi2abc.c:927:6: warning: old-style function definition [-Wold-style-definition]
  927 | void txt_smpte(hr,mn,se,fr,ff)
      |      ^~~~~~~~~
midi2abc.c: In function 'txt_arbitrary':
midi2abc.c:932:6: warning: old-style function definition [-Wold-style-definition]
  932 | void txt_arbitrary(leng,mess)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'print_txt_header':
midi2abc.c:950:6: warning: old-style function definition [-Wold-style-definition]
  950 | void print_txt_header(xformat,ntrks,ldivision)
      |      ^~~~~~~~~~~~~~~~
midi2abc.c: In function 'print_txt_noteon':
midi2abc.c:959:6: warning: old-style function definition [-Wold-style-definition]
  959 | void print_txt_noteon(chan, pitch, vol)
      |      ^~~~~~~~~~~~~~~~
midi2abc.c: In function 'print_txt_noteoff':
midi2abc.c:983:6: warning: old-style function definition [-Wold-style-definition]
  983 | void print_txt_noteoff(chan, pitch, vol)
      |      ^~~~~~~~~~~~~~~~~
midi2abc.c: In function 'print_txt_noteoff_and_bends':
midi2abc.c:1002:6: warning: old-style function definition [-Wold-style-definition]
 1002 | void print_txt_noteoff_and_bends(chan, pitch, vol)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'prtime':
midi2abc.c:1102:24: error: too many arguments to function 'mf_ticks2sec'; expected 0, have 3
 1102 |      printf("%6.2f   ",mf_ticks2sec(Mf_currtime,division,tempo));
      |                        ^~~~~~~~~~~~ ~~~~~~~~~~~
In file included from midi2abc.c:76:
midifile.h:33:7: note: declared here
   33 | float mf_ticks2sec();
      |       ^~~~~~~~~~~~
midi2abc.c: In function 'pitch2drum':
midi2abc.c:1136:6: warning: old-style function definition [-Wold-style-definition]
 1136 | void pitch2drum(midipitch)
      |      ^~~~~~~~~~
midi2abc.c: In function 'mftxt_noteon':
midi2abc.c:1181:6: warning: old-style function definition [-Wold-style-definition]
 1181 | void mftxt_noteon(chan,pitch,vol)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'mftxt_noteoff':
midi2abc.c:1196:6: warning: old-style function definition [-Wold-style-definition]
 1196 | void mftxt_noteoff(chan,pitch,vol)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_polypressure':
midi2abc.c:1211:6: warning: old-style function definition [-Wold-style-definition]
 1211 | void mftxt_polypressure(chan,pitch,press)
      |      ^~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_chanpressure':
midi2abc.c:1219:6: warning: old-style function definition [-Wold-style-definition]
 1219 | void mftxt_chanpressure(chan,pitch,press)
      |      ^~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_pitchbend':
midi2abc.c:1229:6: warning: old-style function definition [-Wold-style-definition]
 1229 | void mftxt_pitchbend(chan,lsb,msb)
      |      ^~~~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_program':
midi2abc.c:1247:6: warning: old-style function definition [-Wold-style-definition]
 1247 | void mftxt_program(chan,program)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_parameter':
midi2abc.c:1303:6: warning: old-style function definition [-Wold-style-definition]
 1303 | void mftxt_parameter(chan,control,value)
      |      ^~~~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_metatext':
midi2abc.c:1381:6: warning: old-style function definition [-Wold-style-definition]
 1381 | void mftxt_metatext(type,leng,mess)
      |      ^~~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_keysig':
midi2abc.c:1418:6: warning: old-style function definition [-Wold-style-definition]
 1418 | void mftxt_keysig(sf,mi)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'mftxt_tempo':
midi2abc.c:1436:6: warning: old-style function definition [-Wold-style-definition]
 1436 | void mftxt_tempo(ltempo)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'mftxt_timesig':
midi2abc.c:1445:6: warning: old-style function definition [-Wold-style-definition]
 1445 | void mftxt_timesig(nn,dd,cc,bb)
      |      ^~~~~~~~~~~~~
midi2abc.c: In function 'mftxt_smpte':
midi2abc.c:1458:6: warning: old-style function definition [-Wold-style-definition]
 1458 | void mftxt_smpte(hr,mn,se,fr,ff)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'initfunc_for_midinotes':
midi2abc.c:1480:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1480 |     Mf_pressure = no_op3;
      |                 ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1481:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1481 |     Mf_parameter = no_op3;
      |                  ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1483:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1483 |     Mf_program = print_txt_program;
      |                ^
midi2abc.c:1086:6: note: 'print_txt_program' declared here
 1086 | void print_txt_program(int chan,int program) {
      |      ^~~~~~~~~~~~~~~~~
midi2abc.c:1484:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1484 |     Mf_chanpressure = no_op3;
      |                     ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1486:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1486 |     Mf_metamisc = no_op3;
      |                 ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1487:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
 1487 |     Mf_seqnum = no_op1;
      |               ^
midi2abc.c:943:7: note: 'no_op1' declared here
  943 |  void no_op1(int dummy1) {}
      |       ^~~~~~
midi2abc.c:1489:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int,  int)' [-Wincompatible-pointer-types]
 1489 |     Mf_timesig = no_op4;
      |                ^
midi2abc.c:946:7: note: 'no_op4' declared here
  946 |  void no_op4(int dummy1, int dummy2, int dummy3, int dummy4) { }
      |       ^~~~~~
midi2abc.c:1490:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int,  int,  int)' [-Wincompatible-pointer-types]
 1490 |     Mf_smpte = no_op5;
      |              ^
midi2abc.c:947:7: note: 'no_op5' declared here
  947 |  void no_op5(int dummy1, int dummy2, int dummy3, int dummy4, int dummy5) { }
      |       ^~~~~~
midi2abc.c:1491:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
 1491 |     Mf_tempo = no_op1;
      |              ^
midi2abc.c:943:7: note: 'no_op1' declared here
  943 |  void no_op1(int dummy1) {}
      |       ^~~~~~
midi2abc.c:1492:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1492 |     Mf_keysig = no_op2;
      |               ^
midi2abc.c:944:7: note: 'no_op2' declared here
  944 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midi2abc.c:1493:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1493 |     Mf_seqspecific = no_op3;
      |                    ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1494:13: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1494 |     Mf_text = no_op3;
      |             ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1495:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1495 |     Mf_arbitrary = no_op2;
      |                  ^
midi2abc.c:944:7: note: 'no_op2' declared here
  944 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midi2abc.c: In function 'initfunc_for_mftext':
midi2abc.c:1509:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1509 |     Mf_header = mftxt_header;
      |               ^
midi2abc.c:1158:6: note: 'mftxt_header' declared here
 1158 | void mftxt_header (int format, int ntrks, int ldivision)
      |      ^~~~~~~~~~~~
midi2abc.c:1519:14: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1519 |     Mf_sysex = no_op2;
      |              ^
midi2abc.c:944:7: note: 'no_op2' declared here
  944 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midi2abc.c:1520:17: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1520 |     Mf_metamisc = no_op3;
      |                 ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1521:15: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
 1521 |     Mf_seqnum = no_op1;
      |               ^
midi2abc.c:943:7: note: 'no_op1' declared here
  943 |  void no_op1(int dummy1) {}
      |       ^~~~~~
midi2abc.c:1527:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1527 |     Mf_seqspecific = no_op3;
      |                    ^
midi2abc.c:945:7: note: 'no_op3' declared here
  945 |  void no_op3(int dummy1, int dummy2, int dummy3) { }
      |       ^~~~~~
midi2abc.c:1529:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1529 |     Mf_arbitrary = no_op2;
      |                  ^
midi2abc.c:944:7: note: 'no_op2' declared here
  944 |  void no_op2(int dummy1, int dummy2) {}
      |       ^~~~~~
midi2abc.c: In function 'initfuncs':
midi2abc.c:1542:16: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
 1542 |     Mf_noteoff =  txt_noteoff;
      |                ^
midi2abc.c:650:6: note: 'txt_noteoff' declared here
  650 | void txt_noteoff(chan,pitch,vol)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'postprocess':
midi2abc.c:1565:6: warning: old-style function definition [-Wold-style-definition]
 1565 | void postprocess(trackno)
      |      ^~~~~~~~~~~
midi2abc.c: In function 'scannotes':
midi2abc.c:1590:6: warning: old-style function definition [-Wold-style-definition]
 1590 | void scannotes(trackno)
      |      ^~~~~~~~~
midi2abc.c: In function 'xnum_to_next_nonchordal_note':
midi2abc.c:1607:5: warning: old-style function definition [-Wold-style-definition]
 1607 | int xnum_to_next_nonchordal_note(fromitem,spare,quantum)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'quantize':
midi2abc.c:1628:5: warning: old-style function definition [-Wold-style-definition]
 1628 | int quantize(trackno, xunit)
      |     ^~~~~~~~
midi2abc.c: In function 'guesslengths':
midi2abc.c:1686:6: warning: old-style function definition [-Wold-style-definition]
 1686 | void guesslengths(trackno)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'findana':
midi2abc.c:1714:5: warning: old-style function definition [-Wold-style-definition]
 1714 | int findana(maintrack, barsize)
      |     ^~~~~~~
midi2abc.c: In function 'guessana':
midi2abc.c:1741:5: warning: old-style function definition [-Wold-style-definition]
 1741 | int guessana(barbeats)
      |     ^~~~~~~~
midi2abc.c: In function 'findkey':
midi2abc.c:1772:5: warning: old-style function definition [-Wold-style-definition]
 1772 | int findkey(maintrack)
      |     ^~~~~~~
midi2abc.c: In function 'addtochord':
midi2abc.c:1937:6: warning: old-style function definition [-Wold-style-definition]
 1937 | void addtochord(p)
      |      ^~~~~~~~~~
midi2abc.c: In function 'removefromchord':
midi2abc.c:1982:16: warning: old-style function definition [-Wold-style-definition]
 1982 | struct dlistx* removefromchord(i)
      |                ^~~~~~~~~~~~~~~
midi2abc.c: In function 'findshortest':
midi2abc.c:2007:5: warning: old-style function definition [-Wold-style-definition]
 2007 | int findshortest(gap)
      |     ^~~~~~~~~~~~
midi2abc.c: In function 'advancechord':
midi2abc.c:2027:6: warning: old-style function definition [-Wold-style-definition]
 2027 | void advancechord(len)
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'testtrack':
midi2abc.c:2140:5: warning: old-style function definition [-Wold-style-definition]
 2140 | int testtrack(trackno, barbeats, anacrusis)
      |     ^~~~~~~~~
midi2abc.c: In function 'printpitch':
midi2abc.c:2198:6: warning: old-style function definition [-Wold-style-definition]
 2198 | void printpitch(j)
      |      ^~~~~~~~~~
midi2abc.c: In function 'reduce':
midi2abc.c:2230:13: warning: old-style function definition [-Wold-style-definition]
 2230 | static void reduce(a, b)
      |             ^~~~~~
midi2abc.c: In function 'printfract':
midi2abc.c:2255:6: warning: old-style function definition [-Wold-style-definition]
 2255 | void printfract(a, b)
      |      ^~~~~~~~~~
midi2abc.c: In function 'printchord':
midi2abc.c:2274:6: warning: old-style function definition [-Wold-style-definition]
 2274 | void printchord(len)
      |      ^~~~~~~~~~
midi2abc.c: In function 'dospecial':
midi2abc.c:2321:6: warning: old-style function definition [-Wold-style-definition]
 2321 | char dospecial(i, barnotes, featurecount,allow_broken,allow_triplets)
      |      ^~~~~~~~~
midi2abc.c:2359:17: error: too many arguments to function 'validnote'; expected 0, have 1
 2359 |       if (vt == validnote(vt)) {
      |                 ^~~~~~~~~ ~~
midi2abc.c:242:5: note: declared here
  242 | int validnote();
      |     ^~~~~~~~~
midi2abc.c: In function 'validnote':
midi2abc.c:2418:5: warning: old-style function definition [-Wold-style-definition]
 2418 | int validnote(n)
      |     ^~~~~~~~~
midi2abc.c:2421:1: error: number of arguments doesn't match prototype
 2421 | {
      | ^
midi2abc.c:242:5: error: prototype declaration
  242 | int validnote();
      |     ^~~~~~~~~
midi2abc.c: In function 'handletext':
midi2abc.c:2439:6: warning: old-style function definition [-Wold-style-definition]
 2439 | void handletext(t, textplace, trackno)
      |      ^~~~~~~~~~
midi2abc.c:2463:5: error: too many arguments to function 'remove_carriage_returns'; expected 0, have 1
 2463 |     remove_carriage_returns(str);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~
midi2abc.c:241:6: note: declared here
  241 | void remove_carriage_returns();
      |      ^~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'printtrack_split':
midi2abc.c:2797:14: error: too many arguments to function 'validnote'; expected 0, have 1
 2797 |       step = validnote(step);
      |              ^~~~~~~~~ ~~~~
midi2abc.c:2418:5: note: declared here
 2418 | int validnote(n)
      |     ^~~~~~~~~
midi2abc.c: In function 'printtrack_split_voice':
midi2abc.c:2863:6: warning: old-style function definition [-Wold-style-definition]
 2863 | void printtrack_split_voice(trackno, anacrusis)
      |      ^~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'printtrack':
midi2abc.c:2893:6: warning: old-style function definition [-Wold-style-definition]
 2893 | void printtrack(trackno, anacrusis)
      |      ^~~~~~~~~~
midi2abc.c:2966:14: error: too many arguments to function 'validnote'; expected 0, have 1
 2966 |       step = validnote(step);
      |              ^~~~~~~~~ ~~~~
midi2abc.c:2418:5: note: declared here
 2418 | int validnote(n)
      |     ^~~~~~~~~
midi2abc.c: At top level:
midi2abc.c:3035:6: error: conflicting types for 'remove_carriage_returns'; have 'void(char *)'
 3035 | void remove_carriage_returns(char *str)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c:241:6: note: previous declaration of 'remove_carriage_returns' with type 'void(void)'
  241 | void remove_carriage_returns();
      |      ^~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'printQ':
midi2abc.c:3052:11: error: too many arguments to function 'mf_ticks2sec'; expected 0, have 3
 3052 |   Tnote = mf_ticks2sec((long)((xunit*unitlen)/4), division, tempo);
      |           ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.h:33:7: note: declared here
   33 | float mf_ticks2sec();
      |       ^~~~~~~~~~~~
midi2abc.c: In function 'setupkey':
midi2abc.c:3069:6: warning: old-style function definition [-Wold-style-definition]
 3069 | void setupkey(sharps)
      |      ^~~~~~~~
midi2abc.c: In function 'readnum':
midi2abc.c:3151:5: warning: old-style function definition [-Wold-style-definition]
 3151 | int readnum(num)
      |     ^~~~~~~
midi2abc.c: In function 'readnump':
midi2abc.c:3176:5: warning: old-style function definition [-Wold-style-definition]
 3176 | int readnump(p)
      |     ^~~~~~~~
midi2abc.c: In function 'readsig':
midi2abc.c:3197:6: warning: old-style function definition [-Wold-style-definition]
 3197 | void readsig(a, b, sig)
      |      ^~~~~~~
midi2abc.c: In function 'getarg':
midi2abc.c:3250:5: warning: old-style function definition [-Wold-style-definition]
 3250 | int getarg(option, argc, argv)
      |     ^~~~~~
midi2abc.c: In function 'huntfilename':
midi2abc.c:3267:5: warning: old-style function definition [-Wold-style-definition]
 3267 | int huntfilename(argc, argv)
      |     ^~~~~~~~~~~~
midi2abc.c: In function 'process_command_line_arguments':
midi2abc.c:3293:5: warning: old-style function definition [-Wold-style-definition]
 3293 | int process_command_line_arguments(argc,argv)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midi2abc.c: In function 'midi2abc':
midi2abc.c:3569:6: warning: old-style function definition [-Wold-style-definition]
 3569 | void midi2abc (arg, argv)
      |      ^~~~~~~~
midi2abc.c:3649:13: error: too many arguments to function 'mf_sec2ticks'; expected 0, have 3
 3649 |     xunit = mf_sec2ticks((60.0*4.0)/((float)(Qval*unitlen)), division, tempo);
      |             ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
midifile.h:34:6: note: declared here
   34 | long mf_sec2ticks();
      |      ^~~~~~~~~~~~
midi2abc.c: In function 'midigram':
midi2abc.c:3768:6: warning: old-style function definition [-Wold-style-definition]
 3768 | void midigram(argc,argv)
      |      ^~~~~~~~
midi2abc.c: In function 'mftext':
midi2abc.c:3787:6: warning: old-style function definition [-Wold-style-definition]
 3787 | void mftext(argc,argv)
      |      ^~~~~~
midi2abc.c: In function 'main':
midi2abc.c:3803:5: warning: old-style function definition [-Wold-style-definition]
 3803 | int main(argc,argv)
      |     ^~~~
midi2abc.c:3807:9: error: prototype for 'efopen' declares fewer arguments than previous old-style definition
 3807 |   FILE *efopen();
      |         ^~~~~~
midi2abc.c:529:1: note: previous definition of 'efopen' with type 'FILE *()'
  529 | efopen(name,mode)
      | ^~~~~~
make: *** [<builtin>: midi2abc.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o debug.o debug.c
debug.c: In function 'showline':
debug.c:173:12: warning: old-style function definition [-Wold-style-definition]
  173 | static int showline(v)
      |            ^~~~~~~~
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o store.o store.c
store.c: In function 'newvoice':
store.c:530:29: warning: old-style function definition [-Wold-style-definition]
  530 | static struct voicecontext* newvoice(n)
      |                             ^~~~~~~~
store.c: In function 'getvoicecontext':
store.c:589:29: warning: old-style function definition [-Wold-style-definition]
  589 | static struct voicecontext* getvoicecontext(n)
      |                             ^~~~~~~~~~~~~~~
store.c: In function 'getchordnumber':
store.c:750:12: warning: old-style function definition [-Wold-style-definition]
  750 | static int getchordnumber(s)
      |            ^~~~~~~~~~~~~~
store.c: In function 'addchordname':
store.c:769:13: warning: old-style function definition [-Wold-style-definition]
  769 | static void addchordname(s, len, notes)
      |             ^~~~~~~~~~~~
store.c: In function 'event_init':
store.c:883:6: warning: old-style function definition [-Wold-style-definition]
  883 | void event_init(argc, argv, filename)
      |      ^~~~~~~~~~
store.c:892:10: error: conflicting types for 'log10'; have 'double(void)'
  892 |   double log10();
      |          ^~~~~
In file included from /usr/include/features.h:524,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from midifile.h:2,
                 from store.c:209:
/usr/include/bits/mathcalls.h:125:1: note: previous declaration of 'log10' with type 'double(double)'
  125 | __MATHCALL_VEC (log10,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
store.c:996:49: error: too many arguments to function 'log10'; expected 0, have 1
  996 |                semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */
      |                                                 ^~~~~ ~~~~~~~~~~~~
store.c:892:10: note: declared here
  892 |   double log10();
      |          ^~~~~
store.c:996:69: error: too many arguments to function 'log10'; expected 0, have 1
  996 |                semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */
      |                                                                     ^~~~~ ~~~~
store.c:892:10: note: declared here
  892 |   double log10();
      |          ^~~~~
store.c: In function 'event_text':
store.c:1161:6: warning: old-style function definition [-Wold-style-definition]
 1161 | void event_text(s)
      |      ^~~~~~~~~~
store.c: In function 'event_x_reserved':
store.c:1177:6: warning: old-style function definition [-Wold-style-definition]
 1177 | void event_x_reserved(p)
      |      ^~~~~~~~~~~~~~~~
store.c: In function 'event_abbreviation':
store.c:1187:6: warning: old-style function definition [-Wold-style-definition]
 1187 | void event_abbreviation(symbol, string, container)
      |      ^~~~~~~~~~~~~~~~~~
store.c: In function 'event_tex':
store.c:1529:6: warning: old-style function definition [-Wold-style-definition]
 1529 | void event_tex(s)
      |      ^~~~~~~~~
store.c: In function 'event_fatal_error':
store.c:1535:6: warning: old-style function definition [-Wold-style-definition]
 1535 | void event_fatal_error(s)
      |      ^~~~~~~~~~~~~~~~~
store.c: In function 'event_error':
store.c:1543:6: warning: old-style function definition [-Wold-style-definition]
 1543 | void event_error(s)
      |      ^~~~~~~~~~~
store.c: In function 'event_warning':
store.c:1558:6: warning: old-style function definition [-Wold-style-definition]
 1558 | void event_warning(s)
      |      ^~~~~~~~~~~~~
store.c: In function 'autoextend':
store.c:1573:12: warning: old-style function definition [-Wold-style-definition]
 1573 | static int autoextend(maxnotes)
      |            ^~~~~~~~~~
store.c: In function 'textextend':
store.c:1642:12: warning: old-style function definition [-Wold-style-definition]
 1642 | static int textextend(maxstrings, stringarray)
      |            ^~~~~~~~~~
store.c: In function 'addfeature':
store.c:1664:13: warning: old-style function definition [-Wold-style-definition]
 1664 | static void addfeature(f, p, n, d)
      |             ^~~~~~~~~~
store.c: In function 'replacefeature':
store.c:1682:13: warning: old-style function definition [-Wold-style-definition]
 1682 | static void replacefeature(f, p, n, d, loc)
      |             ^~~~~~~~~~~~~~
store.c: In function 'insertfeature':
store.c:1692:6: warning: old-style function definition [-Wold-style-definition]
 1692 | void insertfeature(f, p, n, d, loc)
      |      ^~~~~~~~~~~~~
store.c: In function 'removefeature':
store.c:1720:13: warning: old-style function definition [-Wold-style-definition]
 1720 | static void removefeature(loc)
      |             ^~~~~~~~~~~~~
store.c: In function 'interchange_features':
store.c:1740:13: warning: old-style function definition [-Wold-style-definition]
 1740 | static void interchange_features(loc1,loc2)
      |             ^~~~~~~~~~~~~~~~~~~~
store.c: In function 'removefeatures':
store.c:1772:13: warning: old-style function definition [-Wold-style-definition]
 1772 | static void removefeatures(locfrom,locto)
      |             ^~~~~~~~~~~~~~
store.c: In function 'event_endmusicline':
store.c:1809:6: warning: old-style function definition [-Wold-style-definition]
 1809 | void event_endmusicline(endchar)
      |      ^~~~~~~~~~~~~~~~~~
store.c: In function 'event_comment':
store.c:1828:6: warning: old-style function definition [-Wold-style-definition]
 1828 | void event_comment(s)
      |      ^~~~~~~~~~~~~
store.c: In function 'parse_mididef':
store.c:1845:6: warning: old-style function definition [-Wold-style-definition]
 1845 | void parse_mididef(s)
      |      ^~~~~~~~~~~~~
store.c:1856:5: error: too many arguments to function 'readaln'; expected 0, have 3
 1856 | i = readaln(midicmdname[nmidicmd], &p, 31);
      |     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
store.c:1842:5: note: declared here
 1842 | int readaln(); /* links to parseabc.c */
      |     ^~~~~~~
store.c: In function 'process_midix':
store.c:1869:6: warning: old-style function definition [-Wold-style-definition]
 1869 | void process_midix(s)
      |      ^~~~~~~~~~~~~
store.c:1887:9: error: too many arguments to function 'readaln'; expected 0, have 3
 1887 |     j = readaln(&name,&p,31);
      |         ^~~~~~~ ~~~~~
store.c:1842:5: note: declared here
 1842 | int readaln(); /* links to parseabc.c */
      |     ^~~~~~~
store.c: In function 'compute_fifth_size':
store.c:1906:7: warning: old-style function definition [-Wold-style-definition]
 1906 | float compute_fifth_size (octave_size, ndiv)
      |       ^~~~~~~~~~~~~~~~~~
store.c: In function 'event_midi':
store.c:1929:6: warning: old-style function definition [-Wold-style-definition]
 1929 | void event_midi(s)
      |      ^~~~~~~~~~
store.c:2363:10: error: too many arguments to function 'parse_stress_params'; expected 0, have 1
 2363 |      if (parse_stress_params (inputfile) == -1) readstressfile (inputfile);
      |          ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
store.c:514:5: note: declared here
  514 | int parse_stress_params();
      |     ^~~~~~~~~~~~~~~~~~~
store.c: In function 'event_specific_in_header':
store.c:2534:6: warning: old-style function definition [-Wold-style-definition]
 2534 | void event_specific_in_header(package, s)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
store.c: In function 'event_field':
store.c:2692:6: warning: old-style function definition [-Wold-style-definition]
 2692 | void event_field(k, f)
      |      ^~~~~~~~~~~
store.c: In function 'event_words':
store.c:2743:6: warning: old-style function definition [-Wold-style-definition]
 2743 | void event_words(p, append, continuation)
      |      ^~~~~~~~~~~
store.c: In function 'append_words':
store.c:2772:6: warning: old-style function definition [-Wold-style-definition]
 2772 | void append_words (morewords)
      |      ^~~~~~~~~~~~
store.c: In function 'appendfield':
store.c:2781:6: warning: old-style function definition [-Wold-style-definition]
 2781 | void appendfield (morewords)
      |      ^~~~~~~~~~~
store.c: In function 'char_out':
store.c:2807:13: warning: old-style function definition [-Wold-style-definition]
 2807 | static void char_out(part, ch)
      |             ^~~~~~~~
store.c: In function 'read_spec':
store.c:2825:13: warning: old-style function definition [-Wold-style-definition]
 2825 | static void read_spec(spec, part)
      |             ^~~~~~~~~
store.c: In function 'event_part':
store.c:2931:6: warning: old-style function definition [-Wold-style-definition]
 2931 | void event_part(s)
      |      ^~~~~~~~~~
store.c: In function 'event_voice':
store.c:2972:6: warning: old-style function definition [-Wold-style-definition]
 2972 | void event_voice(n, s, vp)
      |      ^~~~~~~~~~~
store.c: In function 'event_length':
store.c:3005:6: warning: old-style function definition [-Wold-style-definition]
 3005 | void event_length(n)
      |      ^~~~~~~~~~~~
store.c: In function 'event_default_length':
store.c:3016:6: warning: old-style function definition [-Wold-style-definition]
 3016 | void event_default_length (n)
      |      ^~~~~~~~~~~~~~~~~~~~
store.c: In function 'tempounits':
store.c:3022:13: warning: old-style function definition [-Wold-style-definition]
 3022 | static void tempounits(t_num, t_denom)
      |             ^~~~~~~~~~
store.c: In function 'get_tempo_from_name':
store.c:3041:5: warning: old-style function definition [-Wold-style-definition]
 3041 | int get_tempo_from_name (s) /* [SS] 2010-12-07 */
      |     ^~~~~~~~~~~~~~~~~~~
store.c: In function 'is_abcm2ps_option':
store.c:3055:5: warning: old-style function definition [-Wold-style-definition]
 3055 | int is_abcm2ps_option (s) /* [SS] 2018-12-17 */
      |     ^~~~~~~~~~~~~~~~~
store.c: In function 'event_tempo':
store.c:3068:6: warning: old-style function definition [-Wold-style-definition]
 3068 | void event_tempo(n, a, b, rel, pre, post)
      |      ^~~~~~~~~~~
store.c: In function 'event_timesig':
store.c:3108:6: warning: old-style function definition [-Wold-style-definition]
 3108 | void event_timesig (timesig)
      |      ^~~~~~~~~~~~~
store.c: In function 'event_octave':
store.c:3146:6: warning: old-style function definition [-Wold-style-definition]
 3146 | void event_octave(num, local)
      |      ^~~~~~~~~~~~
store.c: In function 'stack_broken':
store.c:3163:13: warning: old-style function definition [-Wold-style-definition]
 3163 | static void stack_broken(v)
      |             ^~~~~~~~~~~~
store.c: In function 'restore_broken':
store.c:3181:13: warning: old-style function definition [-Wold-style-definition]
 3181 | static void restore_broken(v)
      |             ^~~~~~~~~~~~~~
store.c: In function 'event_playonrep':
store.c:3228:6: warning: old-style function definition [-Wold-style-definition]
 3228 | void event_playonrep(s)
      |      ^~~~~~~~~~~~~~~
store.c: In function 'event_sluron':
store.c:3249:6: warning: old-style function definition [-Wold-style-definition]
 3249 | void event_sluron(t)
      |      ^~~~~~~~~~~~
store.c: In function 'event_sluroff':
store.c:3260:6: warning: old-style function definition [-Wold-style-definition]
 3260 | void event_sluroff(t)
      |      ^~~~~~~~~~~~~
store.c: In function 'event_lineend':
store.c:3291:6: warning: old-style function definition [-Wold-style-definition]
 3291 | void event_lineend(ch, n)
      |      ^~~~~~~~~~~~~
store.c: In function 'event_broken':
store.c:3299:6: warning: old-style function definition [-Wold-style-definition]
 3299 | void event_broken(type, mult)
      |      ^~~~~~~~~~~~
store.c: In function 'event_tuple':
store.c:3321:6: warning: old-style function definition [-Wold-style-definition]
 3321 | void event_tuple(n, q, r)
      |      ^~~~~~~~~~~
store.c: In function 'lenmul':
store.c:3376:13: warning: old-style function definition [-Wold-style-definition]
 3376 | static void lenmul(n, a, b)
      |             ^~~~~~
store.c: In function 'event_spacing':
store.c:3482:6: warning: old-style function definition [-Wold-style-definition]
 3482 | void event_spacing(n, m)
      |      ^~~~~~~~~~~~~
store.c: In function 'event_rest':
store.c:3487:6: warning: old-style function definition [-Wold-style-definition]
 3487 | void event_rest(decorators,n,m,type)
      |      ^~~~~~~~~~
store.c: In function 'event_mrest':
store.c:3535:6: warning: old-style function definition [-Wold-style-definition]
 3535 | void event_mrest(n,m,c)
      |      ^~~~~~~~~~~
store.c: In function 'event_finger':
store.c:3628:6: warning: old-style function definition [-Wold-style-definition]
 3628 | void event_finger(p)
      |      ^~~~~~~~~~~~
store.c: In function 'pitchof':
store.c:3635:12: warning: old-style function definition [-Wold-style-definition]
 3635 | static int pitchof(note, accidental, mult, octave, propagate_accs)
      |            ^~~~~~~
store.c: In function 'barepitch':
store.c:3673:12: warning: old-style function definition [-Wold-style-definition]
 3673 | static int barepitch(note, accidental, mult, octave)
      |            ^~~~~~~~~
store.c: In function 'pitchof_b':
store.c:3692:12: warning: old-style function definition [-Wold-style-definition]
 3692 | static int pitchof_b(note, accidental, mult, octave, propagate_accs,pitchbend)
      |            ^~~~~~~~~
store.c: In function 'doroll':
store.c:3890:13: warning: old-style function definition [-Wold-style-definition]
 3890 | static void doroll(note, octave, n, m, pitch)
      |             ^~~~~~
store.c: In function 'doroll_setup':
store.c:3928:13: warning: old-style function definition [-Wold-style-definition]
 3928 | static void doroll_setup(note,octave,n,m,pitch)
      |             ^~~~~~~~~~~~
store.c: In function 'doroll_output':
store.c:3965:13: warning: old-style function definition [-Wold-style-definition]
 3965 | static void doroll_output(i)
      |             ^~~~~~~~~~~~~
store.c: In function 'dotrill_setup':
store.c:4051:13: warning: old-style function definition [-Wold-style-definition]
 4051 | static void dotrill_setup(note, octave, n, m, pitch)
      |             ^~~~~~~~~~~~~
store.c: In function 'dotrill_output':
store.c:4083:13: warning: old-style function definition [-Wold-style-definition]
 4083 | static void dotrill_output(i)
      |             ^~~~~~~~~~~~~~
store.c: In function 'makecut':
store.c:4156:6: warning: old-style function definition [-Wold-style-definition]
 4156 | void makecut (mainpitch, shortpitch,mainbend,shortbend, n,m)
      |      ^~~~~~~
store.c: In function 'makeharproll':
store.c:4167:6: warning: old-style function definition [-Wold-style-definition]
 4167 | void makeharproll (pitch, bend,n,m)   /* [JS] 2011-04-29 */
      |      ^~~~~~~~~~~~
store.c: In function 'makeharproll3':
store.c:4178:6: warning: old-style function definition [-Wold-style-definition]
 4178 | void makeharproll3 (pitch, bend,n,m) /* [JS] 2011-04-29 */
      |      ^~~~~~~~~~~~~
store.c: In function 'doornament':
store.c:4191:13: warning: old-style function definition [-Wold-style-definition]
 4191 | static void doornament(note, octave, n, m, pitch)
      |             ^~~~~~~~~~
store.c: In function 'hornp':
store.c:4261:13: warning: old-style function definition [-Wold-style-definition]
 4261 | static void hornp(num, denom)
      |             ^~~~~
store.c: In function 'event_note':
store.c:4282:6: warning: old-style function definition [-Wold-style-definition]
 4282 | void event_note(decorators, clef, accidental, mult, note, xoctave, n, m)
      |      ^~~~~~~~~~
store.c: At top level:
store.c:4421:6: error: conflicting types for 'event_temperament'; have 'void(char *)'
 4421 | void event_temperament(char* line)
      |      ^~~~~~~~~~~~~~~~~
In file included from store.c:207:
parseabc.h:174:13: note: previous declaration of 'event_temperament' with type 'void(void)'
  174 | extern void event_temperament();
      |             ^~~~~~~~~~~~~~~~~
store.c: In function 'get_accidental':
store.c:4477:7: warning: old-style function definition [-Wold-style-definition]
 4477 | char *get_accidental(place, accidental)
      |       ^~~~~~~~~~~~~~
store.c: In function 'event_handle_gchord':
store.c:4497:6: warning: old-style function definition [-Wold-style-definition]
 4497 | void event_handle_gchord(s)
      |      ^~~~~~~~~~~~~~~~~~~
store.c: In function 'event_handle_instruction':
store.c:4589:6: warning: old-style function definition [-Wold-style-definition]
 4589 | void event_handle_instruction(s)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
store.c: In function 'setmap':
store.c:4774:13: warning: old-style function definition [-Wold-style-definition]
 4774 | static void setmap(sf, map, mult)
      |             ^~~~~~
store.c: In function 'altermap':
store.c:4802:13: warning: old-style function definition [-Wold-style-definition]
 4802 | static void altermap(v, modmap, modmul,modmic)
      |             ^~~~~~~~
store.c: In function 'copymap':
store.c:4821:13: warning: old-style function definition [-Wold-style-definition]
 4821 | static void copymap(v)
      |             ^~~~~~~
store.c: In function 'myputc':
store.c:4841:5: warning: old-style function definition [-Wold-style-definition]
 4841 | int myputc(c)
      |     ^~~~~~
store.c: In function 'nondestructive_readstr':
store.c:4856:6: warning: old-style function definition [-Wold-style-definition]
 4856 | void nondestructive_readstr(out, in, limit)
      |      ^~~~~~~~~~~~~~~~~~~~~~
store.c: In function 'dotie':
store.c:4872:13: warning: old-style function definition [-Wold-style-definition]
 4872 | static void dotie(j, xinchord,voiceno)
      |             ^~~~~
store.c: In function 'applygrace':
store.c:5137:13: warning: old-style function definition [-Wold-style-definition]
 5137 | static void applygrace(place)
      |             ^~~~~~~~~~
store.c: In function 'applygrace_orig':
store.c:5149:13: warning: old-style function definition [-Wold-style-definition]
 5149 | static void applygrace_orig(place)
      |             ^~~~~~~~~~~~~~~
store.c: In function 'applygrace_new':
store.c:5260:13: warning: old-style function definition [-Wold-style-definition]
 5260 | static void applygrace_new(place)
      |             ^~~~~~~~~~~~~~
store.c: In function 'event_bar':
store.c:5441:6: warning: old-style function definition [-Wold-style-definition]
 5441 | void event_bar(type, replist)
      |      ^~~~~~~~~
store.c: In function 'placeendrep':
store.c:5497:13: warning: old-style function definition [-Wold-style-definition]
 5497 | static void placeendrep(j)
      |             ^~~~~~~~~~~
store.c: In function 'placestartrep':
store.c:5519:13: warning: old-style function definition [-Wold-style-definition]
 5519 | static void placestartrep(j)
      |             ^~~~~~~~~~~~~
store.c: In function 'apply_bf_stress_factors':
store.c:5774:15: error: too many arguments to function 'parse_stress_params'; expected 0, have 1
 5774 |           if (parse_stress_params (inputfile) == -1) readstressfile (inputfile);
      |               ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
store.c:514:5: note: declared here
  514 | int parse_stress_params();
      |     ^~~~~~~~~~~~~~~~~~~
store.c: In function 'event_key':
store.c:5949:6: warning: old-style function definition [-Wold-style-definition]
 5949 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone, gotkey, gotclef, clefname, clef,
      |      ^~~~~~~~~
store.c: In function 'finishfile':
store.c:6233:9: error: too many arguments to function 'writetrack'; expected 0, have 1
 6233 |         writetrack(0);
      |         ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6238:16: error: too many arguments to function 'writetrack'; expected 0, have 1
 6238 |                writetrack(i);
      |                ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6245:16: error: too many arguments to function 'writetrack'; expected 0, have 1
 6245 |                writetrack(i);
      |                ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6259:9: error: too many arguments to function 'mfwrite'; expected 0, have 4
 6259 |         mfwrite(0, 1, division, fp);
      |         ^~~~~~~ ~
midifile.h:35:6: note: declared here
   35 | void mfwrite();
      |      ^~~~~~~
store.c:6261:9: error: too many arguments to function 'mfwrite'; expected 0, have 4
 6261 |         mfwrite(1, ntracks, division, fp);
      |         ^~~~~~~ ~
midifile.h:35:6: note: declared here
   35 | void mfwrite();
      |      ^~~~~~~
store.c: In function 'event_refno':
store.c:6292:6: warning: old-style function definition [-Wold-style-definition]
 6292 | void event_refno(n)
      |      ^~~~~~~~~~~
store.c: In function 'main':
store.c:6368:5: warning: old-style function definition [-Wold-style-definition]
 6368 | int main(argc,argv)
      |     ^~~~
store.c:6388:5: error: too many arguments to function 'parsefile'; expected 0, have 1
 6388 |     parsefile(filename);
      |     ^~~~~~~~~ ~~~~~~~~
parseabc.h:178:13: note: declared here
  178 | extern void parsefile();
      |             ^~~~~~~~~
make: *** [<builtin>: store.o] Error 1
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o music_utils.o music_utils.c
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o position.o position.c
position.c: In function 'addfract':
position.c:43:13: warning: old-style function definition [-Wold-style-definition]
   43 | static void addfract(f, n, m)
      |             ^~~~~~~~
position.c: In function 'mulfract':
position.c:54:13: warning: old-style function definition [-Wold-style-definition]
   54 | static void mulfract(f, n, m)
      |             ^~~~~~~~
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o stresspat.o stresspat.c
gcc -DANSILIBS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2   -DHAVE_CONFIG_H  -I.   -c -o pslib.o pslib.c
pslib.c: In function 'ps_header':
pslib.c:53:13: warning: old-style function definition [-Wold-style-definition]
   53 | static void ps_header(f, filename, boundingbox)
      |             ^~~~~~~~~
pslib.c: In function 'section1':
pslib.c:104:13: warning: old-style function definition [-Wold-style-definition]
  104 | static void section1(f)
      |             ^~~~~~~~
pslib.c: In function 'section2':
pslib.c:188:13: warning: old-style function definition [-Wold-style-definition]
  188 | static void section2(f)
      |             ^~~~~~~~
pslib.c: In function 'section3':
pslib.c:289:13: warning: old-style function definition [-Wold-style-definition]
  289 | static void section3(f)
      |             ^~~~~~~~
pslib.c: In function 'section4':
pslib.c:404:13: warning: old-style function definition [-Wold-style-definition]
  404 | static void section4(f)
      |             ^~~~~~~~
pslib.c: In function 'section5':
pslib.c:491:13: warning: old-style function definition [-Wold-style-definition]
  491 | static void section5(f)
      |             ^~~~~~~~
pslib.c: In function 'section6':
pslib.c:508:13: warning: old-style function definition [-Wold-style-definition]
  508 | static void section6(f)
      |             ^~~~~~~~
pslib.c: In function 'section7':
pslib.c:579:13: warning: old-style function definition [-Wold-style-definition]
  579 | static void section7(f)
      |             ^~~~~~~~
pslib.c: In function 'section8':
pslib.c:698:13: warning: old-style function definition [-Wold-style-definition]
  698 | static void section8(f)
      |             ^~~~~~~~
pslib.c: In function 'section9':
pslib.c:709:13: warning: old-style function definition [-Wold-style-definition]
  709 | static void section9(f)
      |             ^~~~~~~~
pslib.c: In function 'section10':
pslib.c:790:13: warning: old-style function definition [-Wold-style-definition]
  790 | static void section10(f)
      |             ^~~~~~~~~
pslib.c: In function 'section11':
pslib.c:852:13: warning: old-style function definition [-Wold-style-definition]
  852 | static void section11(f)
      |             ^~~~~~~~~
pslib.c: In function 'section12':
pslib.c:927:13: warning: old-style function definition [-Wold-style-definition]
  927 | static void section12(f)
      |             ^~~~~~~~~
pslib.c: In function 'section13':
pslib.c:963:13: warning: old-style function definition [-Wold-style-definition]
  963 | static void section13(f)
      |             ^~~~~~~~~
pslib.c: In function 'printlib':
pslib.c:1062:6: warning: old-style function definition [-Wold-style-definition]
 1062 | void printlib(f, filename, boundingbox)
      |      ^~~~~~~~
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LDhXuw (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LDhXuw (%build)
I: [iurt_root_command] ERROR: chroot
