]> The Tcpdump Group git mirrors - tcpdump/commit
justify min()/max() macros declarations and usage
authorDenis Ovsienko <[email protected]>
Fri, 14 Mar 2014 05:52:40 +0000 (09:52 +0400)
committerDenis Ovsienko <[email protected]>
Fri, 14 Mar 2014 05:55:30 +0000 (09:55 +0400)
commitdbfdf97bdedca08dc9bd59bb706b0ccc827633ac
tree6f0c04ddf5059f5dc52cc5dbe6d63e3557687d00
parentd29f3dab95d8b28a62848fcb043b8ba40348bc3d
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
interface.h
print-smb.c
print-zeromq.c
smb.h
smbutil.c
tcpdump-stdinc.h