fix some non-windows builds.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4493 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-10-08 16:17:19 +00:00
parent c469bcd446
commit ac5122ec7d

View file

@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static int cdfile = -1; static int cdfile = -1;
static char cd_dev[64] = "/dev/cdrom"; static char cd_dev[64] = "/dev/cdrom";
static void CDAudio_Eject(void) void CDAudio_Eject(void)
{ {
if (cdfile == -1) if (cdfile == -1)
return; // no cd init'd return; // no cd init'd
@ -53,7 +53,7 @@ static void CDAudio_Eject(void)
} }
static void CDAudio_CloseDoor(void) void CDAudio_CloseDoor(void)
{ {
if (cdfile == -1) if (cdfile == -1)
return; // no cd init'd return; // no cd init'd
@ -62,7 +62,7 @@ static void CDAudio_CloseDoor(void)
Con_DPrintf("ioctl cdromclosetray failed\n"); Con_DPrintf("ioctl cdromclosetray failed\n");
} }
static int CDAudio_GetAudioDiskInfo(void) int CDAudio_GetAudioDiskInfo(void)
{ {
struct cdrom_tochdr tochdr; struct cdrom_tochdr tochdr;