Declarations to static

parent 77f15eef
......@@ -76,7 +76,7 @@ int block_final = 0;
int front_push = 0;
/* Forward declarations */
const struct vdp VDP_pesi_buf;
static const struct vdp VDP_pesi_buf;
static const struct transport VPED_transport;
static void vped_close_vdp(struct req *, int, const struct vdp *);
static void assert_vdp_next_not(struct req *, const struct vdp *);
......@@ -631,7 +631,7 @@ pesi_buf_bytes(struct vdp_ctx *vdx, enum vdp_action act, void **priv,
return (tree->retval);
}
const struct vdp VDP_pesi_buf = {
static const struct vdp VDP_pesi_buf = {
.name = "pesi_buf",
.init = pesi_buf_init,
.bytes = pesi_buf_bytes,
......
......@@ -56,7 +56,7 @@ static struct VSC_lck *lck_stats;
static unsigned node_alloc_sz;
/* 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
......
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