mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Move adjust_sql_options_string declaration to gnc-backend-dbi-priv.h.
It shouldn't be public, it needs to be exported only to the test file.
This commit is contained in:
parent
818fe73a05
commit
592ad99dde
@ -114,4 +114,7 @@ typedef struct
|
|||||||
|
|
||||||
} GncDbiSqlConnection;
|
} GncDbiSqlConnection;
|
||||||
|
|
||||||
|
/* external access required for tests */
|
||||||
|
gchar* adjust_sql_options_string(const gchar *);
|
||||||
|
|
||||||
#endif //GNC_BACKEND_DBI_PRIV_H
|
#endif //GNC_BACKEND_DBI_PRIV_H
|
||||||
|
@ -38,9 +38,6 @@ void gnc_module_init_backend_dbi(void);
|
|||||||
* statically linked into the application. */
|
* statically linked into the application. */
|
||||||
void gnc_module_finalize_backend_dbi(void);
|
void gnc_module_finalize_backend_dbi(void);
|
||||||
|
|
||||||
/* external access required for tests */
|
|
||||||
gchar* adjust_sql_options_string(const gchar *);
|
|
||||||
|
|
||||||
#ifndef GNC_NO_LOADABLE_MODULES
|
#ifndef GNC_NO_LOADABLE_MODULES
|
||||||
/** This is the standarized initialization function of a qof_backend
|
/** This is the standarized initialization function of a qof_backend
|
||||||
* GModule, but compiling this can be disabled by defining
|
* GModule, but compiling this can be disabled by defining
|
||||||
|
@ -50,8 +50,6 @@
|
|||||||
#include "gncInvoice.h"
|
#include "gncInvoice.h"
|
||||||
/* For test_conn_index_functions */
|
/* For test_conn_index_functions */
|
||||||
#include "../gnc-backend-dbi-priv.h"
|
#include "../gnc-backend-dbi-priv.h"
|
||||||
/* For test_adjust_options_string */
|
|
||||||
#include "../gnc-backend-dbi.h"
|
|
||||||
/* For version_control */
|
/* For version_control */
|
||||||
#include <gnc-prefs.h>
|
#include <gnc-prefs.h>
|
||||||
#include <qofsession-p.h>
|
#include <qofsession-p.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user