Minor fixes.

This commit is contained in:
Sergey Poznyakoff
2006-06-08 22:35:52 +00:00
parent f9bd340c1b
commit 5e14ef32c0

View 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