Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/resolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
extern "C" {
#endif

int kdb_hosts_loaded;
extern int kdb_hosts_loaded;
int kdb_load_hosts (void);

struct hostent *kdb_gethostbyname (const char *name);
Expand Down
2 changes: 1 addition & 1 deletion mtproto/mtproto-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ int worker_id, workers, slave_mode, parent_pid;
int pids[MAX_WORKERS];

long long get_queries;
long long http_queries;
extern long long http_queries;
int pending_http_queries;

long long active_rpcs, active_rpcs_created;
Expand Down
2 changes: 1 addition & 1 deletion net/net-stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

#include "engine/engine.h"

struct process_id PID;
extern struct process_id PID;

extern int zheap_debug;
long long queries_allocated;
Expand Down
2 changes: 1 addition & 1 deletion vv/vv-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <assert.h>

long long total_vv_tree_nodes;
extern long long total_vv_tree_nodes;

#define SUFFIX2(a,b) a ## b
#define SUFFIX(a,b) SUFFIX2(a,b)
Expand Down