mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
More enum type fixes
Try not to use lose enum type information through ints.
This commit is contained in:
6
term.c
6
term.c
@ -936,7 +936,8 @@ enum parity_e
|
||||
term_get_parity (int fd)
|
||||
{
|
||||
tcflag_t flg;
|
||||
int i, parity;
|
||||
int i;
|
||||
enum parity_e parity;
|
||||
|
||||
do { /* dummy */
|
||||
|
||||
@ -1148,7 +1149,8 @@ term_set_flowcntrl (int fd, enum flowcntrl_e flowcntl)
|
||||
enum flowcntrl_e
|
||||
term_get_flowcntrl (int fd)
|
||||
{
|
||||
int i, flow;
|
||||
int i;
|
||||
enum flowcntrl_e flow;
|
||||
int rtscts, xoff, xon;
|
||||
|
||||
do { /* dummy */
|
||||
|
Reference in New Issue
Block a user