AFAICT sys/types.h & netinet/in.h #includes are not needed for these files.

(Let's see if any of the buildbots give any errors).
Also: remove trailing whitespace on lines.

svn path=/trunk/; revision=42429
This commit is contained in:
Bill Meier 2012-05-04 21:29:00 +00:00
parent 0c1b9e9007
commit d12d5a606c
73 changed files with 112 additions and 469 deletions

View File

@ -34,14 +34,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <epan/packet.h>
#include <epan/emem.h>
#include <epan/strutil.h>

View File

@ -34,14 +34,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <string.h>
#include <epan/packet.h>

View File

@ -42,14 +42,6 @@
#include <glib.h>
#include <math.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <epan/packet.h>

View File

@ -37,14 +37,6 @@
#include <glib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/emem.h>

View File

@ -29,14 +29,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -32,10 +32,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -28,10 +28,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include <epan/asn1.h>

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -30,10 +30,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"
@ -83,4 +79,3 @@ proto_reg_handoff_secidmap (void)
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_secidmap, ett_secidmap, &uuid_secidmap, ver_secidmap, secidmap_dissectors, hf_secidmap_opnum);
}

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -31,10 +31,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -32,14 +32,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -29,14 +29,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -34,14 +34,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -29,14 +29,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -29,14 +29,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -27,14 +27,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/emem.h>

View File

@ -28,14 +28,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -30,14 +30,6 @@
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -22,10 +22,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@ -27,10 +27,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <glib.h>
#include <epan/strutil.h>

View File

@ -41,14 +41,6 @@
#include <glib.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <string.h>
#include <epan/packet.h>

View File

@ -29,10 +29,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>

View File

@ -65,10 +65,6 @@
#include <string.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <glib.h>

View File

@ -27,9 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <string.h>
#include <epan/packet.h>

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,10 +27,6 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <epan/packet.h>
#include "packet-ipmi.h"

View File

@ -27,16 +27,13 @@
#include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <string.h>
#include <time.h>
#include <math.h>
#include <epan/packet.h>
#include <epan/conversation.h>
#include <epan/emem.h>
#include <epan/packet.h>
#include <epan/to_str.h>
#include <epan/prefs.h>
#include <epan/addr_resolv.h>

View File

@ -34,14 +34,6 @@
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -46,16 +46,10 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/emem.h>
#include <epan/prefs.h>

View File

@ -34,10 +34,6 @@
#include "config.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <stdlib.h>
#include <glib.h>
@ -385,7 +381,7 @@ proto_reg_handoff_ndp(void)
dissector_add_uint("llc.nortel_pid", 0x01a1, ndp_handle); /* flatnet hello */
dissector_add_uint("llc.nortel_pid", 0x01a2, ndp_handle); /* Segment hello */
/* not got round to adding this but its really old, so I'm not sure people will see it */
/* not got round to adding this but it's really old, so I'm not sure people will see it */
/* it uses a different packet format */
/* dissector_add_uint("llc.nortel_pid", 0x01a3, ndp_handle); */ /* Bridge hello */
}

View File

@ -30,10 +30,6 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>
#include <epan/addr_resolv.h> /* this is for get_hostname and get_udp_port */

View File

@ -37,14 +37,6 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <glib.h>
#include <epan/packet.h>

View File

@ -30,10 +30,6 @@
# include "config.h"
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <glib.h>
#include <epan/packet.h>