From patchwork Tue Dec 1 13:27:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 57488 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2170218lbb; Tue, 1 Dec 2015 05:28:49 -0800 (PST) X-Received: by 10.140.102.244 with SMTP id w107mr82704492qge.90.1448976529096; Tue, 01 Dec 2015 05:28:49 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j78si50204310qge.116.2015.12.01.05.28.48; Tue, 01 Dec 2015 05:28:49 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id B8CB461D77; Tue, 1 Dec 2015 13:28:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 1FA0561D7C; Tue, 1 Dec 2015 13:27:50 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id CABF061D75; Tue, 1 Dec 2015 13:27:42 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by lists.linaro.org (Postfix) with ESMTPS id AE6A261D74 for ; Tue, 1 Dec 2015 13:27:41 +0000 (UTC) Received: by lffu14 with SMTP id u14so7958618lff.1 for ; Tue, 01 Dec 2015 05:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VUWHvy6fEXpENwAMdRjsyeaC5xVtMnQcIT++55a/6HE=; b=YVk73zsMm1WD4WVUKl17dWtqpSf3zNpN1iVLFGaJg/0JoaB5ncLrX3aRPzy0+P+nlv oe/TY59mPHq71pQJq1kzVvYWzCXde5ptw3aQ8kWYrdQgAQimIc6le4wt5duhJXbgpckc vXO4mq3SEfidUGFiQGL3WGR8I9YyOHJk856cfbieTrfj82zzvjxjptgCeD3uJo7VL6DR YneE8CjXJas7u4Fz342/XJbWOJ4ugxbX2mWcd5BmUFihhtraCShGBhZFyJnAfRjUpfsS +HWiObogz9Rt9BGfzkD7XJAj1oP0Xqi5BPMu3KUoayqMeUrOP9ONEA+QRoipCv4pm3pk sfXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VUWHvy6fEXpENwAMdRjsyeaC5xVtMnQcIT++55a/6HE=; b=IH3Ls0CbaIfV+kWKeJefRcU0kFVAw/eOV4UKFwyND7OH6JvG+xueWpStPZRRXZgI1Z ptVphADLivZWMOwBvnCJadjXfQWCn6DprS+RtqY6NUOI9zYJ4RFc+VhJUVJNTEmks5XH 22N5KzOUXSlE/VOvGcDdLLOHdffxsO09hsb2AL/JmU8AblkWJeciTtmRA0CYPwN3lkgx vafF/4AlFuv9iiYwG6iOGFRUfhwqaV7buIARpjj9ngXAix/U0kDzvYBeIISiFBhd6MBf R0sVn+bfUh4pCUcpttIhdvgIgZyrRPtxgwQUaS43WOZMNyzMIsigspPItajPko5ziNCz yn8Q== X-Gm-Message-State: ALoCoQl1ts7it+w/imT2YXMDkyVXj9COGPDwPhheJT1EnLWkOFgTmpz5jJsForynJ24IzwTGbANa X-Received: by 10.25.91.11 with SMTP id p11mr28494114lfb.35.1448976460611; Tue, 01 Dec 2015 05:27:40 -0800 (PST) Received: from localhost.localdomain (ppp91-76-173-134.pppoe.mtu-net.ru. [91.76.173.134]) by smtp.gmail.com with ESMTPSA id qr6sm7276892lbb.19.2015.12.01.05.27.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Dec 2015 05:27:40 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 1 Dec 2015 16:27:32 +0300 Message-Id: <1448976452-10786-3-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448976452-10786-1-git-send-email-maxim.uvarov@linaro.org> References: <1448976452-10786-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/2] helper: unbind hash from platform strong types X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Maxim Uvarov Reviewed-by: Bill Fischofer --- 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 + /** * @def ODPH_TABLE_NAME_LEN * Max length of table name */ #define ODPH_TABLE_NAME_LEN 32 +#include /** 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 -#include #include #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 -#include #include #ifdef __cplusplus