fixed for current libs...still need to compile with -std=c90

This commit is contained in:
2023-06-28 23:03:46 -07:00
parent 69d6b16e47
commit ff6480acbd

View File

@@ -11,6 +11,7 @@
#include "portable.h"
#include "common.h"
#define __USE_MISC
#if USE_STTY == TERMIO
# include <termio.h>
# include <sys/termio.h>
@@ -630,14 +631,14 @@ static struct bauds {
{ "B19200", 19200, B19200, }, { "19200", 19200, B19200, },
{ "B38400", 38400, B38400, }, { "38400", 38400, B38400, },
{"EXTA", EXTA, EXTA},
{"EXTB", EXTB, EXTB},
{"EXTB", EXTB, EXTB},
{ (char *) 0, 0, 0 }
};
struct s_term_dat {
char *name;
uint or_dat;
uint and_dat;
uint8_t or_dat;
uint8_t and_dat;
};
#define FLAGS(X) { #X, X , 0 }, { "-" #X, 0, X }