diff options
-rw-r--r-- | sys/dev/ie/if_ie.c | 2 | ||||
-rw-r--r-- | sys/dev/mse/mse.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/if_el.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/if_ie.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/if_is.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/lpt.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/mse.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index cb6b96a..d4e1155 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -1104,7 +1104,7 @@ iestart(ifp) } m_freem(m0); - len = MAX(len, ETHERMINLEN); + len = max(len, ETHERMINLEN); #if NBPFILTER > 0 /* diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 5f80b21..466e936 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -286,7 +286,7 @@ mseread(dev, uio) sc->sc_bytesread = 0; } splx(s); - xfer = MIN(uio->uio_resid, PROTOBYTES - sc->sc_bytesread); + xfer = min(uio->uio_resid, PROTOBYTES - sc->sc_bytesread); if (error = uiomove(&sc->sc_bytes[sc->sc_bytesread], xfer, uio)) return (error); sc->sc_bytesread += xfer; diff --git a/sys/i386/isa/if_el.c b/sys/i386/isa/if_el.c index d0de274..a9033ec 100644 --- a/sys/i386/isa/if_el.c +++ b/sys/i386/isa/if_el.c @@ -359,7 +359,7 @@ void el_start(struct ifnet *ifp) } m_freem(m0); - len = MAX(len,ETHER_MIN_LEN); + len = max(len,ETHER_MIN_LEN); /* Give the packet to the bpf, if any */ #if NBPFILTER > 0 diff --git a/sys/i386/isa/if_ie.c b/sys/i386/isa/if_ie.c index cb6b96a..d4e1155 100644 --- a/sys/i386/isa/if_ie.c +++ b/sys/i386/isa/if_ie.c @@ -1104,7 +1104,7 @@ iestart(ifp) } m_freem(m0); - len = MAX(len, ETHERMINLEN); + len = max(len, ETHERMINLEN); #if NBPFILTER > 0 /* diff --git a/sys/i386/isa/if_is.c b/sys/i386/isa/if_is.c index 9f0e6ad..2df9bb4 100644 --- a/sys/i386/isa/if_is.c +++ b/sys/i386/isa/if_is.c @@ -637,7 +637,7 @@ is_start(ifp) m_freem(m0); - len = MAX(len,ETHER_MIN_LEN); + len = max(len,ETHER_MIN_LEN); /* * Init transmit registers, and set transmit start flag. diff --git a/sys/i386/isa/lpt.c b/sys/i386/isa/lpt.c index 3317d12..88f492e 100644 --- a/sys/i386/isa/lpt.c +++ b/sys/i386/isa/lpt.c @@ -530,7 +530,7 @@ lptwrite(dev_t dev, struct uio * uio) struct lpt_softc *sc = lpt_sc + LPTUNIT(minor(dev)); sc->sc_state &= ~INTERRUPTED; - while (n = MIN(BUFSIZE, uio->uio_resid)) { + while (n = min(BUFSIZE, uio->uio_resid)) { sc->sc_cp = sc->sc_inbuf->b_un.b_addr ; uiomove(sc->sc_cp, n, uio); sc->sc_xfercnt = n ; diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c index 5f80b21..466e936 100644 --- a/sys/i386/isa/mse.c +++ b/sys/i386/isa/mse.c @@ -286,7 +286,7 @@ mseread(dev, uio) sc->sc_bytesread = 0; } splx(s); - xfer = MIN(uio->uio_resid, PROTOBYTES - sc->sc_bytesread); + xfer = min(uio->uio_resid, PROTOBYTES - sc->sc_bytesread); if (error = uiomove(&sc->sc_bytes[sc->sc_bytesread], xfer, uio)) return (error); sc->sc_bytesread += xfer; |