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:
meep-eep
2005-10-17 09:01:45 +00:00
parent eed85494e5
commit 8a58ddb8bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ static void dumpPlanetTypeCallback (int index, const PlanetFrame *planet,
BOOLEAN instantMove = FALSE; BOOLEAN instantMove = FALSE;
BOOLEAN disableInteractivity = FALSE; BOOLEAN disableInteractivity = FALSE;
volatile void (*debugHook) (void) = NULL; void (* volatile debugHook) (void) = NULL;
void void
+1 -1
View File
@@ -29,7 +29,7 @@
extern BOOLEAN disableInteractivity; extern BOOLEAN disableInteractivity;
// If a function is assigned to this, it will be called from the main loop. // 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. // Called when the debug key (symbol 'Debug' in the keys.cfg) is pressed.