Declaration cleanup

parent 38e9d154
...@@ -75,7 +75,17 @@ int block_final = 0; ...@@ -75,7 +75,17 @@ int block_final = 0;
int front_push = 0; int front_push = 0;
/* Forward declarations */ /* Forward declarations */
static const struct transport VPED_transport; static void vped_deliver(struct req *, struct boc *, int);
static void vped_reembark(struct worker *, struct req *);
static int vped_minimal_response(struct req *, uint16_t);
static const struct transport VPED_transport = {
.magic = TRANSPORT_MAGIC,
.name = "PESI_INCLUDE",
.deliver = vped_deliver,
.reembark = vped_reembark,
.minimal_response = vped_minimal_response,
};
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 *);
...@@ -1416,11 +1426,3 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody) ...@@ -1416,11 +1426,3 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
*/ */
return; return;
} }
static const struct transport VPED_transport = {
.magic = TRANSPORT_MAGIC,
.name = "PESI_INCLUDE",
.deliver = vped_deliver,
.reembark = vped_reembark,
.minimal_response = vped_minimal_response,
};
...@@ -62,7 +62,7 @@ static const void * const priv_task_id_cfg = &priv_task_id_cfg; ...@@ -62,7 +62,7 @@ static const void * const priv_task_id_cfg = &priv_task_id_cfg;
* mempool * mempool
*/ */
volatile struct poolparam poolparam = { static volatile struct poolparam poolparam = {
.min_pool = 10, .min_pool = 10,
.max_pool = 100, .max_pool = 100,
.max_age = 10, .max_age = 10,
......
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