From: Amos Jeffries Date: Sat, 20 Mar 2010 10:25:57 +0000 (-0600) Subject: Cleanup rfc1738.c X-Git-Tag: SQUID_3_2_0_1~347 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2cfc2eaa6d419e958b8eb9e1be7601577bec19ba;p=thirdparty%2Fsquid.git Cleanup rfc1738.c --- diff --git a/lib/rfc1738.c b/lib/rfc1738.c index 9f2ddb27c2..f76da407fe 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -143,43 +143,9 @@ rfc1738_do_escape(const char *url, int flags) return (buf); } -#if 0 /* legacy API */ -/* - * rfc1738_escape - Returns a static buffer that contains the RFC - * 1738 compliant, escaped version of the given url. - */ -char * -rfc1738_escape(const char *url) -{ - return rfc1738_do_escape(url, 0); -} - -/* - * rfc1738_escape_unescaped - Returns a static buffer that contains - * the RFC 1738 compliant, escaped version of the given url. - */ -char * -rfc1738_escape_unescaped(const char *url) -{ - return rfc1738_do_escape(url, -1); -} - -/* - * rfc1738_escape_part - Returns a static buffer that contains the - * RFC 1738 compliant, escaped version of the given url segment. - */ -char * -rfc1738_escape_part(const char *url) -{ - return rfc1738_do_escape(url, 1); -} -#endif /* 0 */ - /* * Converts a ascii hex code into a binary character. */ -/* int fromhex(char ch); *//* prototype to keep GCC happy. */ - static int fromhex(char ch) {