summaryrefslogtreecommitdiff
path: root/smb.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-14 09:52:40 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-14 09:55:30 +0400
commitdbfdf97bdedca08dc9bd59bb706b0ccc827633ac (patch)
tree6f0c04ddf5059f5dc52cc5dbe6d63e3557687d00 /smb.h
parentd29f3dab95d8b28a62848fcb043b8ba40348bc3d (diff)
downloadtcpdump-dbfdf97bdedca08dc9bd59bb706b0ccc827633ac.tar.gz
justify min()/max() macros declarations and usage
This change moves the macros to tcpdump-stdinc.h to make sure these are available without interface.h. It also dismisses two redundant macros MIN() and SMBMIN(). It is intended to fix the following Solaris compile error: Undefined first referenced symbol in file MIN print-zeromq.o
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/smb.h b/smb.h
index fea9fa46..97a43638 100644
--- a/smb.h
+++ b/smb.h
@@ -6,8 +6,6 @@
* or later
*/
-#define SMBMIN(a,b) ((a)<(b)?(a):(b))
-
/* the complete */
#define SMBmkdir 0x00 /* create directory */
#define SMBrmdir 0x01 /* delete directory */