Some minor cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3224 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -28,7 +28,8 @@ const char *_cur_resfile_name;
|
||||
// At other times, it is NULL.
|
||||
|
||||
ResourceDesc *
|
||||
lookupResourceDesc (RESOURCE_INDEX idx, RESOURCE res) {
|
||||
lookupResourceDesc (RESOURCE_INDEX idx, RESOURCE res)
|
||||
{
|
||||
return (ResourceDesc *) CharHashTable_find (idx->map, res);
|
||||
}
|
||||
|
||||
@@ -249,7 +250,8 @@ res_DetachResource (RESOURCE res)
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
FreeResourceData (void *data) {
|
||||
FreeResourceData (void *data)
|
||||
{
|
||||
HFree (data);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
// for abs()
|
||||
#include <errno.h>
|
||||
#ifndef _WIN32_WCE
|
||||
# include <memory.h>
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
// for abs()
|
||||
#include "sound.h"
|
||||
#include "libs/tasklib.h"
|
||||
#include "libs/log.h"
|
||||
|
||||
Reference in New Issue
Block a user