[ovs-dev] [PATCH 7/9] stream: Remove spurious #includes from header file.

Justin Pettit jpettit at nicira.com
Wed Jan 6 21:25:30 UTC 2010


I read every line of this one.  Seems good.

--Justin


On Dec 21, 2009, at 1:15 PM, Ben Pfaff wrote:

> ---
> lib/jsonrpc.c          |    1 +
> lib/stream.h           |    3 ---
> ovsdb/jsonrpc-server.c |    1 +
> ovsdb/ovsdb-client.c   |    1 +
> 4 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
> index 81a2ef6..71e3287 100644
> --- a/lib/jsonrpc.c
> +++ b/lib/jsonrpc.c
> @@ -18,6 +18,7 @@
> 
> #include "jsonrpc.h"
> 
> +#include <assert.h>
> #include <errno.h>
> 
> #include "byteq.h"
> diff --git a/lib/stream.h b/lib/stream.h
> index 3d398f5..e7eef36 100644
> --- a/lib/stream.h
> +++ b/lib/stream.h
> @@ -17,13 +17,10 @@
> #ifndef STREAM_H
> #define STREAM_H 1
> 
> -#include <assert.h>
> #include <stdbool.h>
> #include <stddef.h>
> #include <stdint.h>
> 
> -#include "flow.h"
> -
> struct pstream;
> struct stream;
> 
> diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
> index d7d9b23..4c75a78 100644
> --- a/ovsdb/jsonrpc-server.c
> +++ b/ovsdb/jsonrpc-server.c
> @@ -17,6 +17,7 @@
> 
> #include "jsonrpc-server.h"
> 
> +#include <assert.h>
> #include <errno.h>
> 
> #include "column.h"
> diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c
> index fa17bd9..87cb514 100644
> --- a/ovsdb/ovsdb-client.c
> +++ b/ovsdb/ovsdb-client.c
> @@ -16,6 +16,7 @@
> 
> #include <config.h>
> 
> +#include <assert.h>
> #include <errno.h>
> #include <getopt.h>
> #include <limits.h>
> -- 
> 1.6.3.3
> 
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org





More information about the dev mailing list