# Patch by Tom Harvey # Rediffed. [dk] # Also changed return type of bplay.c. [dk] #PATCHOPTIONS: -p1 Index: bplaysrc/bplay.c @@ -91,7 +91,7 @@ extern void cleanupsems(void); -void main(int argc, char *argv[]) +int main(int argc, char *argv[]) { int recorder = 0; /* 1 if recording, 0 else */ @@ -398,6 +398,7 @@ } finish_curses(0); + exit(0); /* Not reached, but keeps compiler happy. */ } void Usage(void) Index: clrscr.c @@ -8,6 +8,7 @@ */ #include "clrscr.h" +#include #ifndef OLD_CURSES #include #else Index: errorwindow.c @@ -11,6 +11,8 @@ #include "buttons.h" #include "boxes.h" #include "textwindow.h" + +#include #ifndef OLD_CURSES #include #else Index: gramofile.c @@ -42,7 +42,7 @@ exit (0); } -void +int main (void) { char startdir[250]; @@ -63,4 +63,5 @@ mainmenu (startdir); finishmenu (0); + return 0; } Index: mainmenu.c @@ -21,6 +21,7 @@ #include "tracksplit.h" #include #include +#include #ifndef OLD_CURSES #include #else Index: signpr_cmf.c @@ -30,6 +30,7 @@ #include "yesnowindow.h" #include #include +#include #include #ifndef OLD_CURSES #include @@ -88,8 +89,8 @@ { " ^: no neat interpolation. v: broad ticks not filtered out. ", " ^: less ticks detected. v: not all of tick interpolated. ", - " ^: bad following of dynamics. v: less ticks detected. ", - " ^: bad following of dynamics. v: less ticks detected. ", + " ^: bad following of dynamics. v: fewer ticks detected. ", + " ^: bad following of dynamics. v: fewer ticks detected. ", " ^: only strong ticks detected. v: music-ticks also filtered out. ", " Discard changes. ", " Reset default values. ", Index: signpr_cmf2.c @@ -32,6 +32,7 @@ #include "yesnowindow.h" #include #include +#include #include #ifndef OLD_CURSES #include @@ -90,9 +91,9 @@ char *helplines[8] = { - " ^: less ticks detected. v: not all of tick interpolated. ", - " ^: bad following of dynamics. v: less ticks detected. ", - " ^: bad following of dynamics. v: less ticks detected. ", + " ^: fewer ticks detected. v: not all of tick interpolated. ", + " ^: bad following of dynamics. v: fewer ticks detected. ", + " ^: bad following of dynamics. v: fewer ticks detected. ", " ^: detected tick length too short v: detected tick length longer. ", " ^: only strong ticks detected. v: music-ticks also filtered out. ", " Discard changes. ", Index: signpr_doubmed.c @@ -19,6 +19,7 @@ #endif #include #include +#include #ifndef SWIG #ifndef OLD_CURSES #include Index: signpr_mean.c @@ -19,6 +19,7 @@ #endif #include #include +#include #ifndef SWIG #ifndef OLD_CURSES #include Index: signpr_median.c @@ -19,6 +19,7 @@ #endif #include #include +#include #ifndef SWIG #ifndef OLD_CURSES #include Index: signpr_rms.c @@ -17,6 +17,7 @@ #include "helpline.h" #include #include +#include #include #ifndef OLD_CURSES #include Index: stringinput.c @@ -8,6 +8,7 @@ */ #include "stringinput.h" +#include #ifndef OLD_CURSES #include #else Index: tracksplit_parammenu.c @@ -16,6 +16,7 @@ #include "helpline.h" #include #include +#include #ifndef OLD_CURSES #include #else Index: yesnowindow.c @@ -11,6 +11,7 @@ #include "buttons.h" #include "boxes.h" #include "textwindow.h" +#include #ifndef OLD_CURSES #include #else