Remove unneeded #include directives.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Apr 2011 18:39:10 +0000 (11:39 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 19:35:09 +0000 (12:35 -0700)
ofproto/ofproto.c
vswitchd/bridge.c

index cead7f76fcb275be9f6454493743a884cd683878..0745e1273ecd4c42581d6b09313eebd65fa00cba 100644 (file)
 #include "ofproto.h"
 #include <errno.h>
 #include <inttypes.h>
-#include <sys/socket.h>
-#include <net/if.h>
-#include <netinet/in.h>
 #include <stdbool.h>
 #include <stdlib.h>
-#include "autopath.h"
-#include "bitmap.h"
-#include "bond.h"
 #include "byte-order.h"
-#include "cfm.h"
 #include "classifier.h"
 #include "connmgr.h"
 #include "coverage.h"
 #include "dynamic-string.h"
-#include "fail-open.h"
 #include "hash.h"
 #include "hmap.h"
-#include "hmapx.h"
-#include "in-band.h"
-#include "lacp.h"
-#include "mac-learning.h"
-#include "multipath.h"
 #include "netdev.h"
-#include "netflow.h"
-#include "netlink.h"
 #include "nx-match.h"
-#include "odp-util.h"
 #include "ofp-print.h"
 #include "ofp-util.h"
-#include "ofproto-sflow.h"
 #include "ofpbuf.h"
 #include "openflow/nicira-ext.h"
 #include "openflow/openflow.h"
-#include "openvswitch/datapath-protocol.h"
 #include "packets.h"
 #include "pinsched.h"
 #include "pktbuf.h"
 #include "poll-loop.h"
 #include "private.h"
-#include "rconn.h"
 #include "shash.h"
 #include "sset.h"
-#include "stream-ssl.h"
-#include "tag.h"
-#include "timer.h"
 #include "timeval.h"
 #include "unaligned.h"
 #include "unixctl.h"
-#include "vconn.h"
-#include "vlan-bitmap.h"
 #include "vlog.h"
 
 VLOG_DEFINE_THIS_MODULE(ofproto);
index 72bb28bf7ee7bc2b58ff8297ac02b4a80b22250f..761d02ba36bdaaecfc144786d2a2f5c77c730bb1 100644 (file)
 
 #include <config.h>
 #include "bridge.h"
-#include "byte-order.h"
 #include <assert.h>
 #include <errno.h>
-#include <arpa/inet.h>
-#include <ctype.h>
 #include <inttypes.h>
-#include <sys/socket.h>
-#include <net/if.h>
-#include <openflow/openflow.h>
-#include <signal.h>
 #include <stdlib.h>
-#include <strings.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
-#include <sys/types.h>
-#include <unistd.h>
 #include "bitmap.h"
 #include "bond.h"
 #include "cfm.h"
-#include "classifier.h"
 #include "coverage.h"
 #include "daemon.h"
 #include "dirs.h"
 #include "dynamic-string.h"
-#include "flow.h"
 #include "hash.h"
 #include "hmap.h"
 #include "jsonrpc.h"
 #include "lacp.h"
 #include "list.h"
-#include "mac-learning.h"
 #include "netdev.h"
-#include "netlink.h"
-#include "odp-util.h"
 #include "ofp-print.h"
 #include "ofpbuf.h"
-#include "ofproto/netflow.h"
 #include "ofproto/ofproto.h"
-#include "ovsdb-data.h"
-#include "packets.h"
 #include "poll-loop.h"
-#include "process.h"
 #include "sha1.h"
 #include "shash.h"
 #include "socket-util.h"
 #include "stream-ssl.h"
 #include "sset.h"
-#include "svec.h"
 #include "system-stats.h"
 #include "timeval.h"
 #include "util.h"
 #include "unixctl.h"
-#include "vconn.h"
 #include "vswitchd/vswitch-idl.h"
 #include "xenserver.h"
 #include "vlog.h"