mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-13 06:37:52 +01:00
apply parts of Campbell Bartons patch for cleaning up compiler warnings: add static qualifiers to methods, ensure prototypes match definitions and some whitespace and comment changes
This commit is contained in:
@@ -79,7 +79,7 @@ wxFileConfig *gPrefs = NULL;
|
||||
int gMenusDirty = 0;
|
||||
|
||||
// Copy one entry from one wxConfig object to another
|
||||
void CopyEntry(wxString path, wxConfigBase *src, wxConfigBase *dst, wxString entry)
|
||||
static void CopyEntry(wxString path, wxConfigBase *src, wxConfigBase *dst, wxString entry)
|
||||
{
|
||||
switch(src->GetEntryType(entry)) {
|
||||
case wxConfigBase::Type_Unknown:
|
||||
@@ -110,7 +110,7 @@ void CopyEntry(wxString path, wxConfigBase *src, wxConfigBase *dst, wxString ent
|
||||
}
|
||||
|
||||
// Recursive routine to copy all groups and entries from one wxConfig object to another
|
||||
void CopyEntriesRecursive(wxString path, wxConfigBase *src, wxConfigBase *dst)
|
||||
static void CopyEntriesRecursive(wxString path, wxConfigBase *src, wxConfigBase *dst)
|
||||
{
|
||||
wxString entryName;
|
||||
long entryIndex;
|
||||
|
||||
Reference in New Issue
Block a user