Commit 7a8dc379 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

polish

parent f066db70
......@@ -513,6 +513,7 @@ VSC_Alloc(const char *nm, size_t sd,
assert(Z_STREAM_END == inflate(&vz, Z_FINISH));
assert(Z_OK == inflateEnd(&vz));
ALLOC_OBJ(vsg, VSC_SEGS_MAGIC);
AN(vsg);
vsg->seg = p;
vsg->ptr = p + 8;
VTAILQ_INSERT_TAIL(&vsc_seglist, vsg, list);
......@@ -520,7 +521,7 @@ VSC_Alloc(const char *nm, size_t sd,
}
void
VSC_Destroy(const char *nm, void *p)
VSC_Destroy(const char *nm, const void *p)
{
struct vsc_segs *vsg;
......
......@@ -93,7 +93,7 @@ void VSM_common_ageupdate(const struct vsm_sc *sc);
void *VSC_Alloc(const char *, size_t, size_t, const unsigned char *, size_t,
const char *, va_list);
void VSC_Destroy(const char *, void *);
void VSC_Destroy(const char *, const void *);
/* mgt_cli.c */
extern struct VCLS *mgt_cls;
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