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:
parent
c469bcd446
commit
ac5122ec7d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue