Change tiocm_to_{com,zs}'s second argument to u_long to match with

the type in their caller.
This commit is contained in:
toshii 2000-09-17 22:07:39 +00:00
parent 1a0314541e
commit faf55ac40c
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: com.c,v 1.175 2000/08/18 13:22:39 sommerfeld Exp $ */
/* $NetBSD: com.c,v 1.176 2000/09/17 22:07:39 toshii Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@ -138,7 +138,7 @@ void com_loadchannelregs __P((struct com_softc *));
void com_hwiflow __P((struct com_softc *));
void com_break __P((struct com_softc *, int));
void com_modem __P((struct com_softc *, int));
void tiocm_to_com __P((struct com_softc *, int, int));
void tiocm_to_com __P((struct com_softc *, u_long, int));
int com_to_tiocm __P((struct com_softc *));
void com_iflush __P((struct com_softc *));
@ -1210,7 +1210,8 @@ com_modem(sc, onoff)
void
tiocm_to_com(sc, how, ttybits)
struct com_softc *sc;
int how, ttybits;
u_long how;
int ttybits;
{
u_char combits;

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530tty.c,v 1.68 2000/07/06 01:47:39 thorpej Exp $ */
/* $NetBSD: z8530tty.c,v 1.69 2000/09/17 22:07:40 toshii Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
@ -224,7 +224,7 @@ static void zs_shutdown __P((struct zstty_softc *));
static void zsstart __P((struct tty *));
static int zsparam __P((struct tty *, struct termios *));
static void zs_modem __P((struct zstty_softc *, int));
static void tiocm_to_zs __P((struct zstty_softc *, int, int));
static void tiocm_to_zs __P((struct zstty_softc *, u_long, int));
static int zs_to_tiocm __P((struct zstty_softc *));
static int zshwiflow __P((struct tty *, int));
static void zs_hwiflow __P((struct zstty_softc *));
@ -1220,7 +1220,8 @@ zs_modem(zst, onoff)
static void
tiocm_to_zs(zst, how, ttybits)
struct zstty_softc *zst;
int how, ttybits;
u_long how;
int ttybits;
{
struct zs_chanstate *cs = zst->zst_cs;
u_char zsbits;