fix build warnings

This commit is contained in:
cxgeorge 2001-04-12 00:21:26 +00:00
parent 9f6494be93
commit e7a057adb6
4 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,7 @@
#include "mpg123.h"
#include <io.h>
#include <stdlib.h>
void audio_info_struct_init(struct audio_info_struct *ai)
{

View File

@ -11,6 +11,7 @@
#endif /* WIN32 */
#include <fcntl.h>
#include <io.h>
#ifdef READ_MMAP
#include <sys/mman.h>

View File

@ -3,7 +3,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <io.h>
#include "mpg123.h"
#include "mpgbuffer.h"
#include "common.h"

View File

@ -20,6 +20,7 @@
#include <sys/mman.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <io.h>
#ifdef AIX
#include <sys/select.h>
@ -244,19 +245,19 @@ extern int errno;
void xfermem_init (txfermem **xf, int bufsize, int msize, int skipbuf)
{
return 0;
return;
}
void xfermem_done (txfermem *xf)
{
return 0;
return;
}
void xfermem_init_writer (txfermem *xf)
{
return 0;
return;
}
void xfermem_init_reader (txfermem *xf)
{
return 0;
return;
}
int xfermem_get_freespace (txfermem *xf)
{