1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-31 22:23:54 +01:00

Make a large number of global variables static so they only have file scope when that is all they need. Part of a patch by Campbell Barton

This commit is contained in:
RichardAsh1981@gmail.com
2013-09-21 19:11:41 +00:00
parent 5523339ac5
commit 6758caa5e1
8 changed files with 16 additions and 16 deletions

View File

@@ -51,7 +51,7 @@ typedef pwxWindow (*tPanelFn)(int);
// This variable will hold the address of a subroutine in
// a DLL that can hijack the normal panel.
tPanelFn pPanelHijack=NULL;
static tPanelFn pPanelHijack=NULL;
// Next two commented out lines are handy when investigating
// strange DLL behaviour. Instead of dynamic linking,
@@ -75,7 +75,7 @@ wxWindow * MakeHijackPanel()
// This variable will hold the address of a subroutine in a DLL that
// starts a thread and reads script commands.
tpRegScriptServerFunc scriptFn;
static tpRegScriptServerFunc scriptFn;
#ifdef EXPERIMENTAL_MODULE_PREFS
bool IsAllowedModule( wxString fname )