Pointer is volatile, not the return type.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1910 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -58,7 +58,7 @@ static void dumpPlanetTypeCallback (int index, const PlanetFrame *planet,
|
||||
|
||||
BOOLEAN instantMove = FALSE;
|
||||
BOOLEAN disableInteractivity = FALSE;
|
||||
volatile void (*debugHook) (void) = NULL;
|
||||
void (* volatile debugHook) (void) = NULL;
|
||||
|
||||
|
||||
void
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
extern BOOLEAN disableInteractivity;
|
||||
|
||||
// If a function is assigned to this, it will be called from the main loop.
|
||||
extern volatile void (*debugHook) (void);
|
||||
extern void (* volatile debugHook) (void);
|
||||
|
||||
|
||||
// Called when the debug key (symbol 'Debug' in the keys.cfg) is pressed.
|
||||
|
||||
Reference in New Issue
Block a user