summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_stream.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-02-02 13:17:30 +0000
committeralfred <alfred@FreeBSD.org>2003-02-02 13:17:30 +0000
commitb5c0015ac9dfb47f49151ad199edb7f9f9665493 (patch)
tree373b34ef1d7f8eabfea9cac896b9dfe2b58a9879 /sys/compat/svr4/svr4_stream.c
parent81ccce55b8025295556c35e83be8657c6f4659ab (diff)
downloadFreeBSD-src-b5c0015ac9dfb47f49151ad199edb7f9f9665493.zip
FreeBSD-src-b5c0015ac9dfb47f49151ad199edb7f9f9665493.tar.gz
Consolidate MIN/MAX macros into one place (param.h).
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
Diffstat (limited to 'sys/compat/svr4/svr4_stream.c')
-rw-r--r--sys/compat/svr4/svr4_stream.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 6742009..ce2b68a 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -329,9 +329,6 @@ svr4_recvit(td, s, mp, namelenp)
if (len <= 0 || fromsa == 0)
len = 0;
else {
-#ifndef MIN
-#define MIN(a,b) ((a)>(b)?(b):(a))
-#endif
/* save sa_len before it is destroyed by MSG_COMPAT */
len = MIN(len, fromsa->sa_len);
error = copyout(fromsa,
OpenPOWER on IntegriCloud