summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.c
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2001-02-05 10:42:40 +0000
committerchs <chs@NetBSD.org>2001-02-05 10:42:40 +0000
commit09cb38f22ba1e94776304a41973c5cfc37dabd72 (patch)
tree45735e5f46ef355462aaa200a6a356e6a85df49b /sys/compat/linux/common/linux_socket.c
parentdb133b2424aeec2fc53ccf53babba57b26588c83 (diff)
expose the definitions of MIN() and MAX() in sys/param.h to the kernel
and use those in favor of a dozen copies scattered around the source tree.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
-rw-r--r--sys/compat/linux/common/linux_socket.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c
index 77d654f3e37..30b5b77cd67 100644
--- a/sys/compat/linux/common/linux_socket.c
+++ b/sys/compat/linux/common/linux_socket.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.c,v 1.27 2000/12/29 20:07:53 fvdl Exp $ */
+/* $NetBSD: linux_socket.c,v 1.28 2001/02/05 10:42:41 chs Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -76,10 +76,6 @@
#include <compat/linux/linux_syscallargs.h>
-#ifndef MIN
-#define MIN(a,b) (((a)<(b))?(a):(b))
-#endif
-
/*
* The calls in this file are entered either via the linux_socketcall()
* interface or, on the Alpha, as individual syscalls. The