]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ppi.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-ppi.c
index 8534b00c969eff370f69787e1e0b889f5f0a16d8..0795f276ac0a2f4df03b769620ee7d85fafa1d0a 100644 (file)
@@ -9,9 +9,7 @@
  * https://web.archive.org/web/20160328114748/http://www.cacetech.com/documents/PPI%20Header%20format%201.0.7.pdf
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -127,6 +125,5 @@ ppi_if_print(netdissect_options *ndo,
                hdrlen = 0;
        }
        ndo->ndo_ll_hdr_len += len + hdrlen;
-       return;
 }
 #endif /* DLT_PPI */