Skip to content

Commit ac9640a

Browse files
committed
1 parent dc0c7f3 commit ac9640a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

common/resolver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
extern "C" {
2828
#endif
2929

30-
int kdb_hosts_loaded;
30+
extern int kdb_hosts_loaded;
3131
int kdb_load_hosts (void);
3232

3333
struct hostent *kdb_gethostbyname (const char *name);

mtproto/mtproto-proxy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ int worker_id, workers, slave_mode, parent_pid;
409409
int pids[MAX_WORKERS];
410410

411411
long long get_queries;
412-
long long http_queries;
412+
extern long long http_queries;
413413
int pending_http_queries;
414414

415415
long long active_rpcs, active_rpcs_created;

net/net-stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
#include "engine/engine.h"
5454

55-
struct process_id PID;
55+
extern struct process_id PID;
5656

5757
extern int zheap_debug;
5858
long long queries_allocated;

vv/vv-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include <assert.h>
2323

24-
long long total_vv_tree_nodes;
24+
extern long long total_vv_tree_nodes;
2525

2626
#define SUFFIX2(a,b) a ## b
2727
#define SUFFIX(a,b) SUFFIX2(a,b)

0 commit comments

Comments
 (0)