On 2014-10-15 14:43, Petri Savolainen wrote:
> Signed-off-by: Petri Savolainen <[email protected]>

Reviewed-by: Anders Roxell <[email protected]>

> ---
>  example/generator/odp_generator.c        | 2 +-
>  example/ipsec/odp_ipsec.c                | 3 +--
>  example/ipsec/odp_ipsec_cache.c          | 3 +--
>  example/ipsec/odp_ipsec_fwd_db.c         | 2 --
>  example/ipsec/odp_ipsec_loop_db.c        | 2 --
>  example/ipsec/odp_ipsec_sa_db.c          | 2 --
>  example/ipsec/odp_ipsec_stream.c         | 4 +---
>  platform/linux-generic/include/api/odp.h | 4 ++--
>  8 files changed, 6 insertions(+), 16 deletions(-)
> 
> diff --git a/example/generator/odp_generator.c 
> b/example/generator/odp_generator.c
> index eb8b340..9376dc2 100644
> --- a/example/generator/odp_generator.c
> +++ b/example/generator/odp_generator.c
> @@ -17,7 +17,7 @@
>  #include <sys/time.h>
>  
>  #include <odp.h>
> -#include <odp_packet_io.h>
> +
>  #include <odph_linux.h>
>  #include <odph_packet.h>
>  #include <odph_eth.h>
> diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
> index 2f2dc19..368b9ef 100644
> --- a/example/ipsec/odp_ipsec.c
> +++ b/example/ipsec/odp_ipsec.c
> @@ -16,8 +16,7 @@
>  #include <unistd.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
> +
>  #include <odph_linux.h>
>  #include <odph_packet.h>
>  #include <odph_eth.h>
> diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c
> index 01650d0..1397d77 100644
> --- a/example/ipsec/odp_ipsec_cache.c
> +++ b/example/ipsec/odp_ipsec_cache.c
> @@ -8,8 +8,7 @@
>  #include <string.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
> +
>  #include <odph_ipsec.h>
>  
>  #include <odp_ipsec_cache.h>
> diff --git a/example/ipsec/odp_ipsec_fwd_db.c 
> b/example/ipsec/odp_ipsec_fwd_db.c
> index 9ed5d00..e067db9 100644
> --- a/example/ipsec/odp_ipsec_fwd_db.c
> +++ b/example/ipsec/odp_ipsec_fwd_db.c
> @@ -8,8 +8,6 @@
>  #include <string.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
>  
>  #include <odp_ipsec_fwd_db.h>
>  
> diff --git a/example/ipsec/odp_ipsec_loop_db.c 
> b/example/ipsec/odp_ipsec_loop_db.c
> index f773352..af4590a 100644
> --- a/example/ipsec/odp_ipsec_loop_db.c
> +++ b/example/ipsec/odp_ipsec_loop_db.c
> @@ -8,8 +8,6 @@
>  #include <string.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
>  
>  #include <odp_ipsec_loop_db.h>
>  
> diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c
> index f6da623..e8679db 100644
> --- a/example/ipsec/odp_ipsec_sa_db.c
> +++ b/example/ipsec/odp_ipsec_sa_db.c
> @@ -8,8 +8,6 @@
>  #include <string.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
>  
>  #include <odp_ipsec_sa_db.h>
>  
> diff --git a/example/ipsec/odp_ipsec_stream.c 
> b/example/ipsec/odp_ipsec_stream.c
> index fba425c..a90a478 100644
> --- a/example/ipsec/odp_ipsec_stream.c
> +++ b/example/ipsec/odp_ipsec_stream.c
> @@ -13,9 +13,7 @@
>  #include <openssl/evp.h>
>  
>  #include <odp.h>
> -#include <odp_align.h>
> -#include <odp_crypto.h>
> -#include <odp_packet.h>
> +
>  #include <odph_packet.h>
>  #include <odph_eth.h>
>  #include <odph_ip.h>
> diff --git a/platform/linux-generic/include/api/odp.h 
> b/platform/linux-generic/include/api/odp.h
> index 0ee3faf..6e4f69e 100644
> --- a/platform/linux-generic/include/api/odp.h
> +++ b/platform/linux-generic/include/api/odp.h
> @@ -23,7 +23,6 @@ extern "C" {
>  #include <odp_version.h>
>  #include <odp_std_types.h>
>  #include <odp_compiler.h>
> -
>  #include <odp_align.h>
>  #include <odp_hints.h>
>  #include <odp_debug.h>
> @@ -32,7 +31,6 @@ extern "C" {
>  #include <odp_barrier.h>
>  #include <odp_spinlock.h>
>  #include <odp_atomic.h>
> -
>  #include <odp_init.h>
>  #include <odp_system_info.h>
>  #include <odp_thread.h>
> @@ -48,6 +46,8 @@ extern "C" {
>  #include <odp_packet.h>
>  #include <odp_packet_flags.h>
>  #include <odp_packet_io.h>
> +#include <odp_crypto.h>
> +#include <odp_rwlock.h>
>  
>  #ifdef __cplusplus
>  }
> -- 
> 2.1.1
> 
> 
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp

-- 
Anders Roxell
[email protected]
M: +46 709 71 42 85 | IRC: roxell

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to