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:
John Ralls 2016-05-19 14:23:23 -07:00
parent 818fe73a05
commit 592ad99dde
3 changed files with 3 additions and 5 deletions

View File

@ -114,4 +114,7 @@ typedef struct
} GncDbiSqlConnection;
/* external access required for tests */
gchar* adjust_sql_options_string(const gchar *);
#endif //GNC_BACKEND_DBI_PRIV_H

View File

@ -38,9 +38,6 @@ void gnc_module_init_backend_dbi(void);
* statically linked into the application. */
void gnc_module_finalize_backend_dbi(void);
/* external access required for tests */
gchar* adjust_sql_options_string(const gchar *);
#ifndef GNC_NO_LOADABLE_MODULES
/** This is the standarized initialization function of a qof_backend
* GModule, but compiling this can be disabled by defining

View File

@ -50,8 +50,6 @@
#include "gncInvoice.h"
/* For test_conn_index_functions */
#include "../gnc-backend-dbi-priv.h"
/* For test_adjust_options_string */
#include "../gnc-backend-dbi.h"
/* For version_control */
#include <gnc-prefs.h>
#include <qofsession-p.h>