Commit 3c67950c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Constification

parent df0f0fd1
......@@ -178,7 +178,7 @@ void VBE_DropRefLocked(struct backend *b);
void VBP_Insert(struct backend *b, struct vrt_backend_probe const *p,
const char *hosthdr);
void VBP_Remove(struct backend *b, struct vrt_backend_probe const *p);
void VBP_Use(const struct backend *b, const struct vrt_backend_probe const *p);
void VBP_Use(const struct backend *b, const struct vrt_backend_probe *p);
void VBP_Summary(struct cli *cli, const struct vbp_target *vt);
/* Init functions for directors */
......
......@@ -48,9 +48,9 @@ typedef struct object *storage_allocobj_f(struct stevedore *, struct busyobj *,
struct objcore **, unsigned ltot, const struct stv_objsecrets *);
typedef void storage_close_f(const struct stevedore *);
typedef void storage_signal_close_f(const struct stevedore *);
typedef int storage_baninfo_f(struct stevedore *, enum baninfo event,
typedef int storage_baninfo_f(const struct stevedore *, enum baninfo event,
const uint8_t *ban, unsigned len);
typedef void storage_banexport_f(struct stevedore *, const uint8_t *bans,
typedef void storage_banexport_f(const struct stevedore *, const uint8_t *bans,
unsigned len);
/* Prototypes for VCL variable responders */
......
......@@ -49,7 +49,6 @@
#include "hash/hash_slinger.h"
#include "vcli.h"
#include "vcli_priv.h"
#include "vend.h"
#include "vsha256.h"
#include "vtim.h"
......@@ -86,7 +85,7 @@ smp_appendban(struct smp_sc *sc, struct smp_signspace *spc,
/* Trust that cache_ban.c takes care of locking */
static int
smp_baninfo(struct stevedore *stv, enum baninfo event,
smp_baninfo(const struct stevedore *stv, enum baninfo event,
const uint8_t *ban, unsigned len)
{
struct smp_sc *sc;
......@@ -118,7 +117,7 @@ smp_banexport_spc(struct smp_signspace *spc, const uint8_t *bans, unsigned len)
}
static void
smp_banexport(struct stevedore *stv, const uint8_t *bans, unsigned len)
smp_banexport(const struct stevedore *stv, const uint8_t *bans, unsigned len)
{
struct smp_sc *sc;
......
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