Fix extern declaration

parent c4fe8e2b
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
#include <limits.h> #include <limits.h>
const struct vdp vped_pretend_gz; extern const struct vdp vped_pretend_gz;
const struct vdp vped_gzgz; extern const struct vdp vped_gzgz;
const struct vdp vped_ved; extern const struct vdp vped_ved;
struct nexus_gzip { struct nexus_gzip {
unsigned magic; unsigned magic;
......
...@@ -47,6 +47,8 @@ ...@@ -47,6 +47,8 @@
#include "pesi.h" #include "pesi.h"
/* shared with vmod code */ /* shared with vmod code */
extern struct lock stats_lock;
extern struct VSC_pesi *stats;
struct lock stats_lock; struct lock stats_lock;
struct VSC_pesi *stats = NULL; struct VSC_pesi *stats = NULL;
......
...@@ -82,6 +82,7 @@ static void assert_vdp_next_not(struct req *, const struct vdp *); ...@@ -82,6 +82,7 @@ static void assert_vdp_next_not(struct req *, const struct vdp *);
/* shared with vmod code */ /* shared with vmod code */
struct VSC_lck *lck_bytes_tree, *lck_pesi_tree; struct VSC_lck *lck_bytes_tree, *lck_pesi_tree;
extern struct mempool *mempool;
struct mempool *mempool = NULL; struct mempool *mempool = NULL;
/* also used by our version of cache_esi_deliver.c */ /* also used by our version of cache_esi_deliver.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment