]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ftp.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-ftp.c
index f56468740161b7bb51111807d1e31d046c060f71..927618f577f26d0554e4375c47f250bb3b187a9d 100644 (file)
 
 /* \summary: File Transfer Protocol (FTP) 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"
 
 void
 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
 {
        ndo->ndo_protocol = "ftp";
-       txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
+       txtproto_print(ndo, pptr, len, NULL, 0);
 }