mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Fix C90 compliance warning in sdlmusic
git-svn-id: https://svn.eduke32.com/eduke32@3134 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a4311f5cb1
commit
e0f519ddb0
1 changed files with 4 additions and 3 deletions
|
@ -145,6 +145,10 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
|
||||||
|
|
||||||
if (external_midi)
|
if (external_midi)
|
||||||
{
|
{
|
||||||
|
int32_t ws=1, numargs=0, pagesize=sysconf(_SC_PAGE_SIZE);
|
||||||
|
char *c, *cmd;
|
||||||
|
size_t sz;
|
||||||
|
|
||||||
initprintf("Setting music command to \"%s\".\n", command);
|
initprintf("Setting music command to \"%s\".\n", command);
|
||||||
|
|
||||||
#if !defined FORK_EXEC_MIDI
|
#if !defined FORK_EXEC_MIDI
|
||||||
|
@ -154,9 +158,6 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
|
||||||
goto fallback;
|
goto fallback;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int32_t ws=1, numargs=0, pagesize=sysconf(_SC_PAGE_SIZE);
|
|
||||||
char *c, *cmd;
|
|
||||||
size_t sz;
|
|
||||||
|
|
||||||
if (pagesize==-1)
|
if (pagesize==-1)
|
||||||
goto fallback;
|
goto fallback;
|
||||||
|
|
Loading…
Reference in a new issue