mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Properly share a variable between two source files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23265 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b74194151f
commit
8af99a8b61
@ -106,6 +106,6 @@ typedef struct
|
||||
|
||||
} PrefsBackend;
|
||||
|
||||
PrefsBackend prefsbackend;
|
||||
extern PrefsBackend prefsbackend;
|
||||
|
||||
#endif /* GNC_PREFS_P_H_ */
|
||||
|
@ -35,6 +35,8 @@ static gboolean use_compression = TRUE; // This is also the default in the pre
|
||||
static gint file_retention_policy = 1; // 1 = "days", the default in the prefs backend
|
||||
static gint file_retention_days = 30; // This is also the default in the prefs backend
|
||||
|
||||
PrefsBackend prefsbackend;
|
||||
|
||||
/* This static indicates the debugging module that this .o belongs to. */
|
||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user