]> The Tcpdump Group git mirrors - tcpdump/commitdiff
remove unused macro SEGSIZE
authorDenis Ovsienko <[email protected]>
Fri, 14 Mar 2014 10:23:41 +0000 (14:23 +0400)
committerDenis Ovsienko <[email protected]>
Fri, 14 Mar 2014 10:23:41 +0000 (14:23 +0400)
print-tftp.c
print-udp.c

index b3241f743abd55d4ee3c67cd6d18419650b7bacf..ba668eb24d05f21c66d164fcfe00491c1fbabeef 100644 (file)
 
 #include <tcpdump-stdinc.h>
 
-#ifdef SEGSIZE
-#undef SEGSIZE                                 /* SINIX sucks */
-#endif
-
 #include <stdio.h>
 #include <string.h>
 
@@ -40,7 +36,6 @@
 /*
  * Trivial File Transfer Protocol (IEN-133)
  */
-#define        SEGSIZE         512             /* data segment size */
 
 /*
  * Packet types.
index 0951a2becf3c29489bbad5ad3ca419862df29f04..c65c70c4c74ae831a0191a16133b30e59be6babf 100644 (file)
 
 #include <tcpdump-stdinc.h>
 
-#ifdef SEGSIZE
-#undef SEGSIZE
-#endif
-
 #include <stdio.h>
 #include <string.h>