[master] 4996592 and now we also need vle16enc()
Poul-Henning Kamp
phk at project.varnish-software.com
Sat Jan 22 14:55:42 CET 2011
commit 49965920392ae0b18d001f950b54b70a28a4a22c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sat Jan 22 13:40:46 2011 +0000
and now we also need vle16enc()
diff --git a/include/vend.h b/include/vend.h
index 01f0dfc..5ffe268 100644
--- a/include/vend.h
+++ b/include/vend.h
@@ -116,8 +116,6 @@ vbe64enc(void *pp, uint64_t u)
vbe32enc(p + 4, (uint32_t)(u & 0xffffffffU));
}
-#if 0
-
static __inline void
vle16enc(void *pp, uint16_t u)
{
@@ -126,7 +124,6 @@ vle16enc(void *pp, uint16_t u)
p[0] = u & 0xff;
p[1] = (u >> 8) & 0xff;
}
-#endif
static __inline void
vle32enc(void *pp, uint32_t u)
More information about the varnish-commit
mailing list