fix an API snafu (oops:)

This commit is contained in:
Bill Currie 2002-01-30 08:09:53 +00:00
parent c66bc5a6eb
commit c76f7d88ce
2 changed files with 3 additions and 3 deletions

View file

@ -205,7 +205,7 @@ void *PR_Resources_Find (progs_t *pr, const char *name);
void PR_Zone_Init (progs_t *pr);
void PR_Zone_Free (progs_t *pr, void *ptr);
void PR_Zone_Malloc (progs_t *pr, int size);
void *PR_Zone_Malloc (progs_t *pr, int size);
//
// PR Debug stuff

View file

@ -59,8 +59,8 @@ PR_Zone_Free (progs_t *pr, void *ptr)
Z_Free (pr->zone, ptr);
}
void
void *
PR_Zone_Malloc (progs_t *pr, int size)
{
Z_Malloc (pr->zone, size);
return Z_Malloc (pr->zone, size);
}