mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
* Applied ajax's cleanup patch
This commit is contained in:
parent
4c6f59c541
commit
fe14a45ad1
40 changed files with 166 additions and 166 deletions
|
@ -56,7 +56,7 @@ void SND_free(sndBuffer *v) {
|
|||
inUse += sizeof(sndBuffer);
|
||||
}
|
||||
|
||||
sndBuffer* SND_malloc() {
|
||||
sndBuffer* SND_malloc(void) {
|
||||
sndBuffer *v;
|
||||
redo:
|
||||
if (freelist == NULL) {
|
||||
|
@ -73,7 +73,7 @@ redo:
|
|||
return v;
|
||||
}
|
||||
|
||||
void SND_setup() {
|
||||
void SND_setup(void) {
|
||||
sndBuffer *p, *q;
|
||||
cvar_t *cv;
|
||||
int scs;
|
||||
|
@ -399,6 +399,6 @@ qboolean S_LoadSound( sfx_t *sfx )
|
|||
return qtrue;
|
||||
}
|
||||
|
||||
void S_DisplayFreeMemory() {
|
||||
void S_DisplayFreeMemory(void) {
|
||||
Com_Printf("%d bytes free sound buffer memory, %d total used\n", inUse, totalInUse);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue