]> Dogcows Code - chaz/tar/commitdiff
Minor fixes.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 8 Jun 2006 22:35:52 +0000 (22:35 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 8 Jun 2006 22:35:52 +0000 (22:35 +0000)
src/transform.c

index 23edd9ea631a302d7b7ec846b240a1f0bf1b407a..525a7875134696289d502d8fdb3039ce19bc2e55 100644 (file)
@@ -19,7 +19,7 @@
 #include <regex.h>
 #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
This page took 0.027618 seconds and 4 git commands to generate.