diff mbox

[2/2] helper: unbind hash from platform strong types

Message ID 1448976452-10786-3-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit fee69bfd04e49729a54158d838a3d9f754cb52ee
Headers show

Commit Message

Maxim Uvarov Dec. 1, 2015, 1:27 p.m. UTC
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 helper/include/odp/helper/table.h | 5 ++++-
 helper/odph_hashtable.h           | 2 --
 helper/odph_lineartable.h         | 1 -
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Bill Fischofer Dec. 6, 2015, 2:09 p.m. UTC | #1
On Tue, Dec 1, 2015 at 7:27 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
wrote:

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

>


Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>



> ---

>  helper/include/odp/helper/table.h | 5 ++++-

>  helper/odph_hashtable.h           | 2 --

>  helper/odph_lineartable.h         | 1 -

>  3 files changed, 4 insertions(+), 4 deletions(-)

>

> diff --git a/helper/include/odp/helper/table.h

> b/helper/include/odp/helper/table.h

> index 50a6a84..d788010 100644

> --- a/helper/include/odp/helper/table.h

> +++ b/helper/include/odp/helper/table.h

> @@ -80,14 +80,17 @@

>  extern "C" {

>  #endif

>

> +#include <stdint.h>

> +

>  /**

>   * @def ODPH_TABLE_NAME_LEN

>   * Max length of table name

>   */

>  #define ODPH_TABLE_NAME_LEN      32

>

> +#include <odp/helper/strong_types.h>

>  /** ODP table handle */

> -typedef ODP_HANDLE_T(odph_table_t);

> +typedef ODPH_HANDLE_T(odph_table_t);

>

>  /**

>  * create a table

> diff --git a/helper/odph_hashtable.h b/helper/odph_hashtable.h

> index 7c20370..bb75cb9 100644

> --- a/helper/odph_hashtable.h

> +++ b/helper/odph_hashtable.h

> @@ -13,8 +13,6 @@

>  #ifndef ODPH_HASH_TABLE_H_

>  #define ODPH_HASH_TABLE_H_

>

> -#include <stdint.h>

> -#include <odp/plat/strong_types.h>

>  #include <odp/helper/table.h>

>

>  #ifdef __cplusplus

> diff --git a/helper/odph_lineartable.h b/helper/odph_lineartable.h

> index a53c68b..0b56b7f 100644

> --- a/helper/odph_lineartable.h

> +++ b/helper/odph_lineartable.h

> @@ -14,7 +14,6 @@

>  #define ODPH_LINEAR_TABLE_H_

>

>  #include <stdint.h>

> -#include <odp/plat/strong_types.h>

>  #include <odp/helper/table.h>

>

>  #ifdef __cplusplus

> --

> 1.9.1

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
diff mbox

Patch

diff --git a/helper/include/odp/helper/table.h b/helper/include/odp/helper/table.h
index 50a6a84..d788010 100644
--- a/helper/include/odp/helper/table.h
+++ b/helper/include/odp/helper/table.h
@@ -80,14 +80,17 @@ 
 extern "C" {
 #endif
 
+#include <stdint.h>
+
 /**
  * @def ODPH_TABLE_NAME_LEN
  * Max length of table name
  */
 #define ODPH_TABLE_NAME_LEN      32
 
+#include <odp/helper/strong_types.h>
 /** ODP table handle */
-typedef ODP_HANDLE_T(odph_table_t);
+typedef ODPH_HANDLE_T(odph_table_t);
 
 /**
 * create a table
diff --git a/helper/odph_hashtable.h b/helper/odph_hashtable.h
index 7c20370..bb75cb9 100644
--- a/helper/odph_hashtable.h
+++ b/helper/odph_hashtable.h
@@ -13,8 +13,6 @@ 
 #ifndef ODPH_HASH_TABLE_H_
 #define ODPH_HASH_TABLE_H_
 
-#include <stdint.h>
-#include <odp/plat/strong_types.h>
 #include <odp/helper/table.h>
 
 #ifdef __cplusplus
diff --git a/helper/odph_lineartable.h b/helper/odph_lineartable.h
index a53c68b..0b56b7f 100644
--- a/helper/odph_lineartable.h
+++ b/helper/odph_lineartable.h
@@ -14,7 +14,6 @@ 
 #define ODPH_LINEAR_TABLE_H_
 
 #include <stdint.h>
-#include <odp/plat/strong_types.h>
 #include <odp/helper/table.h>
 
 #ifdef __cplusplus