summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-15 18:02:19 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-15 18:02:19 +0000
commit2cfd0bef17ae35d9666e7f1afccb625841783f03 (patch)
tree5f359280bbeb51a065b205ef8a0202b68f5e2d73 /usr.sbin/tcpdump
parentdbcfe8e47f22fd926e1d52b733797953d7c41854 (diff)
remove a macro that was made an identity function by my previous commit
ok deraadt@
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/parsenfsfh.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/parsenfsfh.c b/usr.sbin/tcpdump/parsenfsfh.c
index 03b414add9b..1cf89ca21c0 100644
--- a/usr.sbin/tcpdump/parsenfsfh.c
+++ b/usr.sbin/tcpdump/parsenfsfh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parsenfsfh.c,v 1.13 2016/01/15 03:03:07 mmcc Exp $ */
+/* $OpenBSD: parsenfsfh.c,v 1.14 2016/01/15 18:02:18 mmcc Exp $ */
/*
* Copyright (c) 1993, 1994 Jeffrey C. Mogul, Digital Equipment Corporation,
@@ -75,16 +75,14 @@
#define FHT_AIX32 10
#define FHT_HPUX9 11
-#define XFF(x) (x)
-
#define make_uint32(msb,b,c,lsb)\
- (XFF(lsb) + (XFF(c)<<8) + (XFF(b)<<16) + (XFF(msb)<<24))
+ ((lsb) + ((c)<<8) + ((b)<<16) + ((msb)<<24))
#define make_uint24(msb,b, lsb)\
- (XFF(lsb) + (XFF(b)<<8) + (XFF(msb)<<16))
+ ((lsb) + ((b)<<8) + ((msb)<<16))
#define make_uint16(msb,lsb)\
- (XFF(lsb) + (XFF(msb)<<8))
+ ((lsb) + ((msb)<<8))
#ifdef __alpha
/* or other 64-bit systems */