[ovs-dev] [PATCH 2/8] lib/classifier: Clean up includes.

Jarno Rajahalme jrajahalme at nicira.com
Wed Jun 11 18:13:25 UTC 2014


Pushed to master (but I forgot to add the Acked-by, sorry),

  Jarno

On Jun 10, 2014, at 12:21 PM, Ethan Jackson <ethan at nicira.com> wrote:

> Acked-by: Ethan Jackson <ethan at nicira.com>
> 
> 
> On Mon, Jun 9, 2014 at 11:53 AM, Jarno Rajahalme <jrajahalme at nicira.com> wrote:
>> Remove unnecessary includes from lib/classifier.h and add them to
>> lib/classifier.c as needed.
>> 
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
>> ---
>> lib/classifier.c |    5 +++++
>> lib/classifier.h |    9 ---------
>> 2 files changed, 5 insertions(+), 9 deletions(-)
>> 
>> diff --git a/lib/classifier.c b/lib/classifier.c
>> index 1e66a83..7bad3ac 100644
>> --- a/lib/classifier.c
>> +++ b/lib/classifier.c
>> @@ -22,10 +22,15 @@
>> #include "dynamic-string.h"
>> #include "flow.h"
>> #include "hash.h"
>> +#include "hindex.h"
>> +#include "hmap.h"
>> +#include "list.h"
>> #include "odp-util.h"
>> #include "ofp-util.h"
>> #include "ovs-thread.h"
>> #include "packets.h"
>> +#include "tag.h"
>> +#include "util.h"
>> #include "vlog.h"
>> 
>> VLOG_DEFINE_THIS_MODULE(classifier);
>> diff --git a/lib/classifier.h b/lib/classifier.h
>> index a89c562..326ca08 100644
>> --- a/lib/classifier.h
>> +++ b/lib/classifier.h
>> @@ -214,17 +214,8 @@
>>  * by a single writer. */
>> 
>> #include "fat-rwlock.h"
>> -#include "flow.h"
>> -#include "hindex.h"
>> -#include "hmap.h"
>> -#include "list.h"
>> #include "match.h"
>> #include "meta-flow.h"
>> -#include "tag.h"
>> -#include "openflow/nicira-ext.h"
>> -#include "openflow/openflow.h"
>> -#include "ovs-thread.h"
>> -#include "util.h"
>> 
>> #ifdef __cplusplus
>> extern "C" {
>> --
>> 1.7.10.4
>> 
>> _______________________________________________
>> dev mailing list
>> dev at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list