From: Henrik Nordstrom Date: Fri, 20 Aug 2010 02:27:43 +0000 (+0200) Subject: Also fix up hexd to Squid coding standards X-Git-Tag: take1~358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25051cd009561235598377f9eef40e50f0079ee5;p=thirdparty%2Fsquid.git Also fix up hexd to Squid coding standards --- diff --git a/tools/purge/hexd.cc b/tools/purge/hexd.cc index 234b81bfe2..b67844131e 100644 --- a/tools/purge/hexd.cc +++ b/tools/purge/hexd.cc @@ -1,4 +1,6 @@ #include "config.h" +// for xstrdup +#include "util.h" #include #include @@ -6,6 +8,7 @@ #include #include #include +#include class InputByByte { @@ -55,7 +58,7 @@ int InputByByte::close() { xfree((void*) buffer); - return std::close(fd); + return ::close(fd); } int