4
0
Sergey Poznyakoff 19 жил өмнө
parent
commit
5e14ef32c0
1 өөрчлөгдсөн 1 нэмэгдсэн , 18 устгасан
  1. 1 18
      src/transform.c

+ 1 - 18
src/transform.c

@@ -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