From: Sergey Poznyakoff Date: Thu, 8 Jun 2006 22:35:52 +0000 (+0000) Subject: Minor fixes. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=5e14ef32c0e74789cf354255e72d295c52a5b62d;p=chaz%2Ftar Minor fixes. --- diff --git a/src/transform.c b/src/transform.c index 23edd9e..525a787 100644 --- a/src/transform.c +++ b/src/transform.c @@ -19,7 +19,7 @@ #include #include "common.h" -enum transform_type +static enum transform_type { transform_none, transform_first, @@ -526,20 +526,3 @@ transform_name (char **pinput) return transform_name_fp (pinput, NULL); } -#if 0 -void -read_and_transform_loop () -{ - char buf[512]; - while (fgets (buf, sizeof buf, stdin)) - { - char *p = buf + strlen (buf); - if (p[-1] == '\n') - p[-1] = 0; - if (transform_name (buf, &p)) - printf ("=> %s\n", p); - else - printf ("=\n"); - } -} -#endif