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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user