Index: file_headers.c --- file_headers.c.orig 2005-08-18 17:35:36.000000000 +0200 +++ file_headers.c 2016-01-30 17:48:55.590795174 +0100 @@ -576,10 +576,7 @@ #define FloatToUnsigned(f) ((unsigned long)(((long)(f - 2147483648.0)) + 2147483647L + 1)) -ConvertToIeeeExtended(num, bytes) -double num; -char *bytes; -{ +static void ConvertToIeeeExtended(double num, char *bytes) { int sign; int expon; double fMant, fsMant; Index: shorten_x.c --- shorten_x.c.orig 2005-08-18 17:35:36.000000000 +0200 +++ shorten_x.c 2016-01-30 17:48:10.702039201 +0100 @@ -110,6 +110,9 @@ #define ROUNDEDSHIFTDOWN(x, n) (((n) == 0) ? (x) : ((x) >> ((n) - 1)) >> 1) +uchar pcm2alaw( short int pcmval ); +uchar pcm2ulaw( short int sample ); + static uchar *getbuf; static uchar *getbufp; static int nbyteget; Index: sph2pipe.c --- sph2pipe.c.orig 2005-08-18 21:28:01.000000000 +0200 +++ sph2pipe.c 2016-01-30 17:47:38.930689560 +0100 @@ -103,6 +103,7 @@ #define _SPH_CONVERT_MAIN_ +#include "getopt.h" #include "sph_convert.h" #include "ulaw.h"