Declarations to static

parent dab3d0ee
...@@ -75,7 +75,7 @@ int block_final = 0; ...@@ -75,7 +75,7 @@ int block_final = 0;
int front_push = 0; int front_push = 0;
/* Forward declarations */ /* Forward declarations */
const struct vdp VDP_pesi_buf; static const struct vdp VDP_pesi_buf;
static const struct transport VPED_transport; static const struct transport VPED_transport;
static void vped_close_vdp(struct req *, int, const struct vdp *); static void vped_close_vdp(struct req *, int, const struct vdp *);
static void assert_vdp_next_not(struct req *, const struct vdp *); static void assert_vdp_next_not(struct req *, const struct vdp *);
...@@ -624,7 +624,7 @@ pesi_buf_bytes(struct req *req, enum vdp_action act, void **priv, ...@@ -624,7 +624,7 @@ pesi_buf_bytes(struct req *req, enum vdp_action act, void **priv,
return (tree->retval); return (tree->retval);
} }
const struct vdp VDP_pesi_buf = { static const struct vdp VDP_pesi_buf = {
.name = "pesi_buf", .name = "pesi_buf",
.init = pesi_buf_init, .init = pesi_buf_init,
.bytes = pesi_buf_bytes, .bytes = pesi_buf_bytes,
......
...@@ -56,7 +56,7 @@ static struct VSC_lck *lck_stats; ...@@ -56,7 +56,7 @@ static struct VSC_lck *lck_stats;
static unsigned node_alloc_sz; static unsigned node_alloc_sz;
/* id for PRIV_TASK */ /* id for PRIV_TASK */
const void * const priv_task_id_cfg = &priv_task_id_cfg; static const void * const priv_task_id_cfg = &priv_task_id_cfg;
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* mempool * mempool
......
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