Use extern on tree.c globals. (These go away when front ends can use the new treeview modules directly.)

This commit is contained in:
Michael Drake 2013-08-18 17:17:41 +01:00
parent f389c7ad6e
commit 0ae3bfde8a
2 changed files with 6 additions and 2 deletions

View File

@ -182,6 +182,9 @@ struct tree {
#include "desktop/global_history.h"
#include "desktop/sslcert_viewer.h"
struct sslcert_session_data *ssl_current_session = NULL;
const char *tree_hotlist_path = NULL;
int treeview_inits;
static void treeview_test_redraw_request(struct core_window *cw, struct rect r)

View File

@ -31,8 +31,9 @@
#include "image/bitmap.h"
struct sslcert_session_data;
struct sslcert_session_data *ssl_current_session;
const char *tree_hotlist_path;
extern struct sslcert_session_data *ssl_current_session;
extern const char *tree_hotlist_path;
struct hlcache_handle;