X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fh2ext.c;h=717ce1c2fb0e508bf330be9ca791fc0f3228d520;hb=b7785f953cf988346d0f36c5852af39db3d1b00c;hp=50d3094788edc26dcd1e384a79e4fb2679bfa78c;hpb=19ef6bad17e92a9cedb7db8eddee2bebf1aa7c4d;p=util-vserver.git diff --git a/src/h2ext.c b/src/h2ext.c index 50d3094..717ce1c 100644 --- a/src/h2ext.c +++ b/src/h2ext.c @@ -1,4 +1,4 @@ -// $Id$ +// $Id: h2ext.c 2674 2008-01-27 07:55:13Z dhozac $ // Copyright (C) 2007 Daniel Hokka Zakrisson // @@ -210,17 +210,6 @@ byteswap(void *p, size_t len) } } -static inline ALWAYSINLINE void -WRITE_INT(int fd, int num) -{ - char buf[sizeof(num)*3+2]; - size_t l; - - l = utilvserver_fmt_long(buf,num); - - Vwrite(fd, buf, l); -} - static int load_description(const char *file, file_format_t **head) {