*/
-#include "busybox.h"
#include <termios.h>
#include <sys/ioctl.h>
#include <limits.h>
#include <memory.h>
#include <fcntl.h>
+#include "busybox.h"
#define STREQ(a, b) (strcmp ((a), (b)) == 0)
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;
}