ISO C cleanups
This commit is contained in:
parent
6f89be3f08
commit
30ecf9fb02
3 changed files with 4 additions and 10 deletions
src
|
@ -13,12 +13,6 @@ struct hash_st
|
|||
int middepth;
|
||||
};
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef void hash_no_data;
|
||||
#else
|
||||
typedef struct { } hash_no_data;
|
||||
#endif
|
||||
|
||||
extern void* _hash_get(const u8* id, void* table, int size, int usize);
|
||||
extern const void* _hash_find(const u8* id, const void* table, int size, int usize);
|
||||
extern void _hash_del(const u8* id, void* table, int size, int usize);
|
||||
|
|
|
@ -411,8 +411,8 @@ extern void LoadAll(void); ///< Load all data back
|
|||
extern void InitSyncRand(void); ///< Initialize the syncron rand
|
||||
extern int SyncRand(void); ///< Syncron rand
|
||||
|
||||
extern volatile void Exit(int err); ///< Exit stratagus
|
||||
extern volatile void ExitFatal(int err); ///< Exit stratagus with fatal error
|
||||
extern void Exit(int err); ///< Exit stratagus
|
||||
extern void ExitFatal(int err); ///< Exit stratagus with fatal error
|
||||
|
||||
extern void UpdateDisplay(void); ///< Game display update
|
||||
extern void InitModules(void); ///< Initinalize all modules
|
||||
|
|
|
@ -818,7 +818,7 @@ Use it at your own risk.\n\n");
|
|||
**
|
||||
** @param err Error code to parse to shell.
|
||||
*/
|
||||
global volatile void Exit(int err)
|
||||
global void Exit(int err)
|
||||
{
|
||||
StopMusic();
|
||||
QuitSound();
|
||||
|
@ -848,7 +848,7 @@ global volatile void Exit(int err)
|
|||
**
|
||||
** @param err Error code to parse to shell.
|
||||
*/
|
||||
global volatile void ExitFatal(int err)
|
||||
global void ExitFatal(int err)
|
||||
{
|
||||
QuitCD();
|
||||
exit(err);
|
||||
|
|
Loading…
Add table
Reference in a new issue