mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 05:49:19 +03:00
Use extern on tree.c globals. (These go away when front ends can use the new treeview modules directly.)
This commit is contained in:
parent
f389c7ad6e
commit
0ae3bfde8a
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user