]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/fwp/fwp_vres.c
Fixed const qualifiers
[frescor/fwp.git] / fwp / lib / fwp / fwp_vres.c
index 1177a4eb1ffa5b931f1cbe0c983ec605ced15a1e..64c5a70ad124e20c89092a839b8e8c6929a190c4 100644 (file)
@@ -424,7 +424,8 @@ int fwp_vres_consume_budget(struct fwp_vres *vres, size_t size, bool can_block)
        return ret;
 }
 
-int fwp_vres_enqueue(struct fwp_vres *vres, struct fwp_endpoint *ep, void *msg, size_t size)
+int fwp_vres_enqueue(struct fwp_vres *vres, struct fwp_endpoint *ep,
+                    const void *msg, size_t size)
 {
        struct fwp_msgb *msgb;
        int ret;