diff options
| author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-14 09:52:40 +0400 |
|---|---|---|
| committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-14 09:55:30 +0400 |
| commit | dbfdf97bdedca08dc9bd59bb706b0ccc827633ac (patch) | |
| tree | 6f0c04ddf5059f5dc52cc5dbe6d63e3557687d00 /smbutil.c | |
| parent | d29f3dab95d8b28a62848fcb043b8ba40348bc3d (diff) | |
| download | tcpdump-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 'smbutil.c')
| -rw-r--r-- | smbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ print_data(const unsigned char *buf, int len) while (n--) printf(" "); - n = SMBMIN(8, i % 16); + n = min(8, i % 16); print_asc(&buf[i - (i % 16)], n); printf(" "); n = (i % 16) - n; |
