MIN --> min

This commit is contained in:
mycroft 1994-05-24 11:26:02 +00:00
parent 4369371ef0
commit 031e9700a7
2 changed files with 6 additions and 6 deletions

View File

@ -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 <sys/param.h>
@ -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);

View File

@ -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);