]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rtsp.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-rtsp.c
index 8c04e11acb064758e56b1c24a1a8ab665142952f..f240a90f99c1bcee0f9918f48173829d2bcf285e 100644 (file)
 
 /* \summary: Real Time Streaming Protocol (RTSP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "netdissect.h"
-#include "extract.h"
 
 static const char *rtspcmds[] = {
        "DESCRIBE",
@@ -44,5 +38,5 @@ void
 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
 {
        ndo->ndo_protocol = "rtsp";
-       txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
+       txtproto_print(ndo, pptr, len, rtspcmds, RESP_CODE_SECOND_TOKEN);
 }