diff --git a/sys/arch/hp300/dev/hil.c b/sys/arch/hp300/dev/hil.c index f89a955fd67d..739cb1778300 100644 --- a/sys/arch/hp300/dev/hil.c +++ b/sys/arch/hp300/dev/hil.c @@ -37,7 +37,7 @@ * * from: Utah Hdr: hil.c 1.33 89/12/22 * from: @(#)hil.c 7.8.1.1 (Berkeley) 6/28/91 - * $Id: hil.c,v 1.13 1994/05/04 04:05:51 mycroft Exp $ + * $Id: hil.c,v 1.14 1994/05/24 11:26:02 mycroft Exp $ */ #include @@ -319,7 +319,7 @@ hilread(dev, uio) error = 0; while (uio->uio_resid > 0 && error == 0) { cc = hilq_to_b(&dptr->hd_queue, buf, - MIN(uio->uio_resid, HILBUFSIZE)); + min(uio->uio_resid, HILBUFSIZE)); if (cc <= 0) break; error = uiomove(buf, cc, uio); diff --git a/sys/arch/hp300/dev/ite.c b/sys/arch/hp300/dev/ite.c index c95105c2e33f..5bd54f44b50f 100644 --- a/sys/arch/hp300/dev/ite.c +++ b/sys/arch/hp300/dev/ite.c @@ -37,7 +37,7 @@ * * from: Utah Hdr: ite.c 1.1 90/07/09 * from: @(#)ite.c 7.6 (Berkeley) 5/16/91 - * $Id: ite.c,v 1.20 1994/05/05 10:10:28 mycroft Exp $ + * $Id: ite.c,v 1.21 1994/05/24 11:26:05 mycroft Exp $ */ /* @@ -452,7 +452,7 @@ doesc: switch (c) { case 'Y': /* Only y coord. */ - ip->cury = MIN(ip->pos, ip->rows-1); + ip->cury = min(ip->pos, ip->rows-1); ip->pos = 0; ip->escape = 0; (*sp->ite_cursor)(ip, MOVE_CURSOR); @@ -460,13 +460,13 @@ doesc: break; case 'y': /* y coord first */ - ip->cury = MIN(ip->pos, ip->rows-1); + ip->cury = min(ip->pos, ip->rows-1); ip->pos = 0; ip->fpd = 0; break; case 'C': /* x coord */ - ip->curx = MIN(ip->pos, ip->cols-1); + ip->curx = min(ip->pos, ip->cols-1); ip->pos = 0; ip->escape = 0; (*sp->ite_cursor)(ip, MOVE_CURSOR);