static speed_t string_to_baud(const char *arg)
{
int i;
- static const struct suffix_mult stty_zerosuff = { NULL, 0 };
for (i = 0; i < NUM_SPEEDS; ++i)
- if (parse_number(arg, &stty_zerosuff) == speeds[i].value)
+ if (parse_number(arg, 0) == speeds[i].value)
return speeds[i].speed;
return (speed_t) - 1;
}
{ NULL, 0 }
};
-#ifndef BB_FEATURE_SIMPLE_TAIL
-static const struct suffix_mult null_suffixes[] = {
- { NULL, 0 }
-};
-#endif
-
static const int BYTES = 0;
static const int LINES = 1;
hide_headers = 1;
break;
case 's':
- sleep_period = parse_number(optarg, null_suffixes);
+ sleep_period = parse_number(optarg, 0);
break;
case 'v':
show_headers = 1;
static speed_t string_to_baud(const char *arg)
{
int i;
- static const struct suffix_mult stty_zerosuff = { NULL, 0 };
for (i = 0; i < NUM_SPEEDS; ++i)
- if (parse_number(arg, &stty_zerosuff) == speeds[i].value)
+ if (parse_number(arg, 0) == speeds[i].value)
return speeds[i].speed;
return (speed_t) - 1;
}
{ NULL, 0 }
};
-#ifndef BB_FEATURE_SIMPLE_TAIL
-static const struct suffix_mult null_suffixes[] = {
- { NULL, 0 }
-};
-#endif
-
static const int BYTES = 0;
static const int LINES = 1;
hide_headers = 1;
break;
case 's':
- sleep_period = parse_number(optarg, null_suffixes);
+ sleep_period = parse_number(optarg, 0);
break;
case 'v':
show_headers = 1;