Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to build with GCC 10 #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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