diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2003-02-02 13:30:00 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2003-02-02 13:30:00 +0000 |
| commit | 04738e99b51edfe0c005c351139389b1bef174f8 (patch) | |
| tree | ef698c578fc83f9d33a0a199470e403aea1df556 | |
| parent | c023201af1177fa97e99d278c12f31c6fe2823ae (diff) | |
Notes
| -rw-r--r-- | sys/dev/hifn/hifn7751.c | 2 | ||||
| -rw-r--r-- | sys/i386/isa/tw.c | 1 | ||||
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 4 | ||||
| -rw-r--r-- | sys/netgraph/ng_device.c | 3 | ||||
| -rw-r--r-- | sys/ufs/ufs/ufs_extattr.c | 2 |
5 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c index 81762a8fef8b..6b6d9c6b922c 100644 --- a/sys/dev/hifn/hifn7751.c +++ b/sys/dev/hifn/hifn7751.c @@ -1362,7 +1362,6 @@ hifn_init_dma(struct hifn_softc *sc) static u_int hifn_write_command(struct hifn_command *cmd, u_int8_t *buf) { -#define MIN(a,b) ((a)<(b)?(a):(b)) u_int8_t *buf_pos; hifn_base_command_t *base_cmd; hifn_mac_command_t *mac_cmd; @@ -1456,7 +1455,6 @@ hifn_write_command(struct hifn_command *cmd, u_int8_t *buf) } return (buf_pos - buf); -#undef MIN } static int diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c index f922813848aa..9d5026232817 100644 --- a/sys/i386/isa/tw.c +++ b/sys/i386/isa/tw.c @@ -149,7 +149,6 @@ #include <sys/selinfo.h> #include <sys/poll.h> #include <sys/bus.h> -#define MIN(a,b) ((a)<(b)?(a):(b)) #ifdef HIRESTIME #include <sys/time.h> diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 57b10ae655fd..4b3693d3517e 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1099,10 +1099,6 @@ unp_init(void) LIST_INIT(&unp_shead); } -#ifndef MIN -#define MIN(a,b) (((a)<(b))?(a):(b)) -#endif - static int unp_internalize(controlp, td) struct mbuf **controlp; diff --git a/sys/netgraph/ng_device.c b/sys/netgraph/ng_device.c index 55c0606e7c5f..956b7cfb3642 100644 --- a/sys/netgraph/ng_device.c +++ b/sys/netgraph/ng_device.c @@ -99,9 +99,6 @@ struct ngd_softc { char nodename[NG_NODELEN + 1]; } ngd_softc; -/* helper definition */ -#define MIN(a, b) ((a) < (b) ? (a) : (b)) - /* the per connection receiving queue maximum */ #define NGD_QUEUE_SIZE (1024*10) diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 57d30e7aaeea..4d5ec66f3e83 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -66,8 +66,6 @@ #ifdef UFS_EXTATTR -#define MIN(a,b) (((a)<(b))?(a):(b)) - static MALLOC_DEFINE(M_UFS_EXTATTR, "ufs_extattr", "ufs extended attribute"); static int ufs_extattr_sync = 0; |
