]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup rfc1738.c
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 20 Mar 2010 10:25:57 +0000 (04:25 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 20 Mar 2010 10:25:57 +0000 (04:25 -0600)
lib/rfc1738.c

index 9f2ddb27c2953d2deae14f417804c3f75881dcc3..f76da407fe4564ba39e9346e1ec5507ee31e9ed1 100644 (file)
@@ -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)
 {