From patchwork Thu Feb 11 14:21:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61757 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp189289lbl; Thu, 11 Feb 2016 05:25:18 -0800 (PST) X-Received: by 10.140.150.66 with SMTP id 63mr58068859qhw.91.1455197118844; Thu, 11 Feb 2016 05:25:18 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t191si9516301qhb.81.2016.02.11.05.25.18; Thu, 11 Feb 2016 05:25:18 -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 Received: by lists.linaro.org (Postfix, from userid 109) id 41B5A6672C; Thu, 11 Feb 2016 13:25:18 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=ktiDGuPJ; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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 A424966730; Thu, 11 Feb 2016 13:23:13 +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 9078166732; Thu, 11 Feb 2016 13:22:55 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by lists.linaro.org (Postfix) with ESMTPS id 876F766728 for ; Thu, 11 Feb 2016 13:22:50 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id j78so31401982lfb.1 for ; Thu, 11 Feb 2016 05:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SzGU60qVyTCsVv10YLqLdXK1dC2Ixq4X8urnAHz/2W8=; b=ktiDGuPJvw2xbz6mn7sP2k18LFNB3XxgryLMV0UUoLh4I3Z69DvgpwlPYBag8dkFn5 GBC2eeqA////wVRZ5JeudqCbw88OSAEFn0x5EwkHXwmu0ayAeo5zZ1U3x28RwOw7hqdP u88hWrr/AOYs7ybkRr8Vi6XqMuYdWggoQvzVE= 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=SzGU60qVyTCsVv10YLqLdXK1dC2Ixq4X8urnAHz/2W8=; b=AFyLB9bKWAJF32JLUuh0UKGHxJJwrU+VODsjHTjSHc+fdQLfRF3yIAlY+YEW98JqjC s9ucTqCwQTR75hzgtfCKXsfiSwR0m9jKuMAR1Wpa/3gKd8AlzysXg2TjMekGxdYgz1mL 9YDNjJdOnXomXrw2tEz2DFWhweowuf9EIbzr7/bLZW3+/4WfuX4FlFEmVFwBes/h9JqE r1ytHVqPGduyBLzD9nHhpCubnjaD+OHGr0ezzQCD1Y27zK6t2J4mk4ochqySJIPwB7Ip V6oZSzKr3M2PwY5JuAqSGNa0mvNm/jme6jiTliBYQ7lo0jFQ5nBGJVilFhrk/RZLbQcj VrmA== X-Gm-Message-State: AG10YOSTT2cYCc5NQcV4U6CTJgOpCarQZEHJKoKbP37sUOgNXp9PjyZj4p1pwHqympnwuWxhdF4= X-Received: by 10.25.142.136 with SMTP id q130mr19800369lfd.56.1455196969501; Thu, 11 Feb 2016 05:22:49 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id ke9sm1204053lbc.28.2016.02.11.05.22.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 05:22:48 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Thu, 11 Feb 2016 15:21:42 +0100 Message-Id: <1455200504-57373-3-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455200504-57373-1-git-send-email-christophe.milard@linaro.org> References: <1455200504-57373-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCHv6 2/4] api: move include/odp.h to include/odp_api.h 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" odp.h actually describes the applicatiion interface of ODP and is logicaly moved to odp_api.h. Applications now includes . This simplifies the addition of other ODP interfaces (e.g. drivers may include odp_drv.h in the future.) Signed-off-by: Christophe Milard Reviewed-by: Bill Fischofer --- example/classifier/odp_classifier.c | 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_ipsec.c | 2 +- example/ipsec/odp_ipsec_cache.c | 2 +- example/ipsec/odp_ipsec_cache.h | 2 +- example/ipsec/odp_ipsec_fwd_db.c | 2 +- example/ipsec/odp_ipsec_fwd_db.h | 2 +- example/ipsec/odp_ipsec_loop_db.c | 2 +- example/ipsec/odp_ipsec_loop_db.h | 2 +- example/ipsec/odp_ipsec_misc.h | 2 +- example/ipsec/odp_ipsec_sa_db.c | 2 +- example/ipsec/odp_ipsec_sp_db.c | 2 +- example/ipsec/odp_ipsec_stream.c | 2 +- example/ipsec/odp_ipsec_stream.h | 2 +- example/packet/odp_pktio.c | 2 +- example/time/time_global_test.c | 2 +- example/timer/odp_timer_test.c | 2 +- example/traffic_mgmt/odp_traffic_mgmt.c | 2 +- helper/hashtable.c | 2 +- helper/include/odp/helper/chksum.h | 2 +- helper/include/odp/helper/eth.h | 2 +- helper/include/odp/helper/icmp.h | 2 +- helper/include/odp/helper/ip.h | 2 +- helper/include/odp/helper/ipsec.h | 2 +- helper/include/odp/helper/linux.h | 2 +- helper/include/odp/helper/ring.h | 2 +- helper/include/odp/helper/tcp.h | 2 +- helper/include/odp/helper/udp.h | 2 +- helper/lineartable.c | 2 +- helper/linux.c | 2 +- helper/ring.c | 2 +- helper/test/odp_chksum.c | 2 +- helper/test/odp_parse.c | 2 +- helper/test/odp_process.c | 2 +- helper/test/odp_table.c | 2 +- helper/test/odp_thread.c | 2 +- include/{odp.h => odp_api.h} | 4 ++-- platform/linux-generic/Makefile.am | 2 +- platform/linux-generic/include/odp_name_table_internal.h | 2 +- platform/linux-generic/include/odp_pkt_queue_internal.h | 2 +- platform/linux-generic/include/odp_timer_wheel_internal.h | 2 +- platform/linux-generic/odp_pkt_queue.c | 2 +- platform/linux-generic/odp_sorted_list.c | 2 +- platform/linux-generic/odp_timer_wheel.c | 2 +- platform/linux-generic/pktio/ethtool.c | 2 +- platform/linux-generic/pktio/loop.c | 2 +- platform/linux-generic/pktio/pcap.c | 2 +- platform/linux-generic/pktio/socket.c | 2 +- platform/linux-generic/pktio/socket_mmap.c | 2 +- platform/linux-generic/pktio/sysfs.c | 2 +- platform/linux-generic/pktio/tap.c | 2 +- test/api_test/odp_common.c | 2 +- test/api_test/odp_ring_test.c | 2 +- test/miscellaneous/odp_api_from_cpp.cpp | 2 +- test/performance/odp_atomic.c | 2 +- test/performance/odp_crypto.c | 2 +- test/performance/odp_l2fwd.c | 2 +- test/performance/odp_pktio_perf.c | 2 +- test/performance/odp_scheduling.c | 2 +- test/validation/atomic/atomic.c | 2 +- test/validation/barrier/barrier.c | 2 +- test/validation/buffer/buffer.c | 2 +- test/validation/classification/classification.c | 2 +- test/validation/classification/odp_classification_testsuites.h | 2 +- test/validation/common/mask_common.c | 2 +- test/validation/common/odp_cunit_common.c | 2 +- test/validation/config/config.c | 2 +- test/validation/cpumask/cpumask.c | 2 +- test/validation/cpumask/cpumask.h | 2 +- test/validation/crypto/crypto.c | 2 +- test/validation/crypto/odp_crypto_test_inp.c | 2 +- test/validation/errno/errno.c | 2 +- test/validation/hash/hash.c | 2 +- test/validation/init/init.c | 2 +- test/validation/lock/lock.c | 2 +- test/validation/packet/packet.c | 2 +- test/validation/pktio/pktio.c | 2 +- test/validation/pool/pool.c | 2 +- test/validation/queue/queue.c | 2 +- test/validation/random/random.c | 2 +- test/validation/scheduler/scheduler.c | 2 +- test/validation/shmem/shmem.c | 2 +- test/validation/std_clib/std_clib.c | 2 +- test/validation/system/system.c | 2 +- test/validation/thread/thread.c | 2 +- test/validation/thread/thread.h | 2 +- test/validation/time/time.c | 2 +- test/validation/timer/timer.c | 2 +- 88 files changed, 89 insertions(+), 89 deletions(-) rename include/{odp.h => odp_api.h} (97%) diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c index 6e92039..b1608a8 100644 --- a/example/classifier/odp_classifier.c +++ b/example/classifier/odp_classifier.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include #include diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 650007e..0ba5224 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -17,7 +17,7 @@ #include -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 6134ab6..e4b0a22 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -21,7 +21,7 @@ #include -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c index 0883d4d..2bd44cf 100644 --- a/example/ipsec/odp_ipsec_cache.c +++ b/example/ipsec/odp_ipsec_cache.c @@ -9,7 +9,7 @@ #include -#include +#include #include diff --git a/example/ipsec/odp_ipsec_cache.h b/example/ipsec/odp_ipsec_cache.h index 56be9d8..7a4b95c 100644 --- a/example/ipsec/odp_ipsec_cache.h +++ b/example/ipsec/odp_ipsec_cache.h @@ -11,7 +11,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c index 59cb6e4..38fc283 100644 --- a/example/ipsec/odp_ipsec_fwd_db.c +++ b/example/ipsec/odp_ipsec_fwd_db.c @@ -14,7 +14,7 @@ #include -#include +#include #include diff --git a/example/ipsec/odp_ipsec_fwd_db.h b/example/ipsec/odp_ipsec_fwd_db.h index 9d7aa09..0e2e9ed 100644 --- a/example/ipsec/odp_ipsec_fwd_db.h +++ b/example/ipsec/odp_ipsec_fwd_db.h @@ -11,7 +11,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec_loop_db.c b/example/ipsec/odp_ipsec_loop_db.c index ab0129b..1d5e404 100644 --- a/example/ipsec/odp_ipsec_loop_db.c +++ b/example/ipsec/odp_ipsec_loop_db.c @@ -9,7 +9,7 @@ #include -#include +#include #include diff --git a/example/ipsec/odp_ipsec_loop_db.h b/example/ipsec/odp_ipsec_loop_db.h index 677f488..0778186 100644 --- a/example/ipsec/odp_ipsec_loop_db.h +++ b/example/ipsec/odp_ipsec_loop_db.h @@ -11,7 +11,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec_misc.h b/example/ipsec/odp_ipsec_misc.h index e583c01..6a49dcb 100644 --- a/example/ipsec/odp_ipsec_misc.h +++ b/example/ipsec/odp_ipsec_misc.h @@ -11,7 +11,7 @@ extern "C" { #endif -#include +#include #include #include #include diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index 8b2d212..28215b5 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -14,7 +14,7 @@ #include -#include +#include #include diff --git a/example/ipsec/odp_ipsec_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c index 48874eb..ed631c7 100644 --- a/example/ipsec/odp_ipsec_sp_db.c +++ b/example/ipsec/odp_ipsec_sp_db.c @@ -14,7 +14,7 @@ #include -#include +#include #include diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c index 69bb3c7..4dc9acf 100644 --- a/example/ipsec/odp_ipsec_stream.c +++ b/example/ipsec/odp_ipsec_stream.c @@ -19,7 +19,7 @@ #include -#include +#include #include #include diff --git a/example/ipsec/odp_ipsec_stream.h b/example/ipsec/odp_ipsec_stream.h index 12e368c..ea480c3 100644 --- a/example/ipsec/odp_ipsec_stream.h +++ b/example/ipsec/odp_ipsec_stream.h @@ -11,7 +11,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index adabc03..579f3fb 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -11,7 +11,7 @@ #include -#include +#include #include #include #include diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c index 7cfd969..16dda4c 100644 --- a/example/time/time_global_test.c +++ b/example/time/time_global_test.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index e6717bf..4294376 100644 --- a/example/timer/odp_timer_test.c +++ b/example/timer/odp_timer_test.c @@ -10,7 +10,7 @@ #include /* ODP main header */ -#include +#include /* ODP helper for Linux apps */ #include diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c index b4f0101..d9769d3 100644 --- a/example/traffic_mgmt/odp_traffic_mgmt.c +++ b/example/traffic_mgmt/odp_traffic_mgmt.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include diff --git a/helper/hashtable.c b/helper/hashtable.c index e0f562e..8bb1ae5 100644 --- a/helper/hashtable.c +++ b/helper/hashtable.c @@ -10,7 +10,7 @@ #include "odph_hashtable.h" #include "odph_list_internal.h" #include "odph_debug.h" -#include +#include #define ODPH_SUCCESS 0 #define ODPH_FAIL -1 diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h index 01dc470..2f4b759 100644 --- a/helper/include/odp/helper/chksum.h +++ b/helper/include/odp/helper/chksum.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#include /** * Checksum diff --git a/helper/include/odp/helper/eth.h b/helper/include/odp/helper/eth.h index 93841bb..1e16225 100644 --- a/helper/include/odp/helper/eth.h +++ b/helper/include/odp/helper/eth.h @@ -18,7 +18,7 @@ extern "C" { #endif -#include +#include /** @addtogroup odph_header ODPH HEADER * @{ diff --git a/helper/include/odp/helper/icmp.h b/helper/include/odp/helper/icmp.h index b187c3a..929b8bc 100644 --- a/helper/include/odp/helper/icmp.h +++ b/helper/include/odp/helper/icmp.h @@ -18,7 +18,7 @@ extern "C" { #endif -#include +#include /** @addtogroup odph_header ODPH HEADER * @{ diff --git a/helper/include/odp/helper/ip.h b/helper/include/odp/helper/ip.h index 616ccba..3789d54 100644 --- a/helper/include/odp/helper/ip.h +++ b/helper/include/odp/helper/ip.h @@ -18,7 +18,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/helper/include/odp/helper/ipsec.h b/helper/include/odp/helper/ipsec.h index 80d900c..af3de87 100644 --- a/helper/include/odp/helper/ipsec.h +++ b/helper/include/odp/helper/ipsec.h @@ -18,7 +18,7 @@ extern "C" { #endif -#include +#include /** @addtogroup odph_header ODPH HEADER * @{ diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h index d38d590..d2799ad 100644 --- a/helper/include/odp/helper/linux.h +++ b/helper/include/odp/helper/linux.h @@ -22,7 +22,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/helper/include/odp/helper/ring.h b/helper/include/odp/helper/ring.h index 8f4b8a9..c8c416f 100644 --- a/helper/include/odp/helper/ring.h +++ b/helper/include/odp/helper/ring.h @@ -97,7 +97,7 @@ extern "C" { #endif -#include +#include #include #include diff --git a/helper/include/odp/helper/tcp.h b/helper/include/odp/helper/tcp.h index 4a3ee86..cabef90 100644 --- a/helper/include/odp/helper/tcp.h +++ b/helper/include/odp/helper/tcp.h @@ -18,7 +18,7 @@ extern "C" { #endif -#include +#include /** @addtogroup odph_header ODPH HEADER * @{ diff --git a/helper/include/odp/helper/udp.h b/helper/include/odp/helper/udp.h index 163b610..812f5b9 100644 --- a/helper/include/odp/helper/udp.h +++ b/helper/include/odp/helper/udp.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#include /** @addtogroup odph_header ODPH HEADER * @{ diff --git a/helper/lineartable.c b/helper/lineartable.c index 68d9350..e82c165 100644 --- a/helper/lineartable.c +++ b/helper/lineartable.c @@ -10,7 +10,7 @@ #include "odph_lineartable.h" #include "odph_debug.h" -#include +#include #define ODPH_SUCCESS 0 #define ODPH_FAIL -1 diff --git a/helper/linux.c b/helper/linux.c index f0df48e..351856d 100644 --- a/helper/linux.c +++ b/helper/linux.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include "odph_debug.h" diff --git a/helper/ring.c b/helper/ring.c index 6699186..6e3f07a 100644 --- a/helper/ring.c +++ b/helper/ring.c @@ -69,7 +69,7 @@ * ***************************************************************************/ -#include +#include #include #include #include diff --git a/helper/test/odp_chksum.c b/helper/test/odp_chksum.c index 8fae00b..9976396 100644 --- a/helper/test/odp_chksum.c +++ b/helper/test/odp_chksum.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include diff --git a/helper/test/odp_parse.c b/helper/test/odp_parse.c index 77c506b..b5a4ab4 100644 --- a/helper/test/odp_parse.c +++ b/helper/test/odp_parse.c @@ -6,7 +6,7 @@ #include -#include +#include #include #include diff --git a/helper/test/odp_process.c b/helper/test/odp_process.c index cb9b328..796c9be 100644 --- a/helper/test/odp_process.c +++ b/helper/test/odp_process.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #define NUMBER_WORKERS 16 /* 0 = max */ diff --git a/helper/test/odp_table.c b/helper/test/odp_table.c index 9d5c5dc..d20a5a6 100644 --- a/helper/test/odp_table.c +++ b/helper/test/odp_table.c @@ -7,7 +7,7 @@ #include #include <../odph_hashtable.h> #include <../odph_lineartable.h> -#include +#include /** * Address Resolution Protocol (ARP) diff --git a/helper/test/odp_thread.c b/helper/test/odp_thread.c index f2f7904..8ab3df1 100644 --- a/helper/test/odp_thread.c +++ b/helper/test/odp_thread.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #define NUMBER_WORKERS 16 diff --git a/include/odp.h b/include/odp_api.h similarity index 97% rename from include/odp.h rename to include/odp_api.h index 57559a6..44b67ee 100644 --- a/include/odp.h +++ b/include/odp_api.h @@ -11,8 +11,8 @@ * */ -#ifndef ODP_H_ -#define ODP_H_ +#ifndef ODP_API_H_ +#define ODP_API_H_ #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 6762dd7..fb7f030 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -9,7 +9,7 @@ AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -I$(top_srcdir)/helper/include include_HEADERS = \ - $(top_srcdir)/include/odp.h + $(top_srcdir)/include/odp_api.h odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ diff --git a/platform/linux-generic/include/odp_name_table_internal.h b/platform/linux-generic/include/odp_name_table_internal.h index d810128..e9a85da 100644 --- a/platform/linux-generic/include/odp_name_table_internal.h +++ b/platform/linux-generic/include/odp_name_table_internal.h @@ -14,7 +14,7 @@ extern "C" { #endif #include -#include +#include typedef enum { ODP_COS_HANDLE, diff --git a/platform/linux-generic/include/odp_pkt_queue_internal.h b/platform/linux-generic/include/odp_pkt_queue_internal.h index 85cdada..83375d0 100644 --- a/platform/linux-generic/include/odp_pkt_queue_internal.h +++ b/platform/linux-generic/include/odp_pkt_queue_internal.h @@ -14,7 +14,7 @@ extern "C" { #endif #include -#include +#include typedef uint64_t _odp_int_queue_pool_t; typedef uint32_t _odp_int_pkt_queue_t; diff --git a/platform/linux-generic/include/odp_timer_wheel_internal.h b/platform/linux-generic/include/odp_timer_wheel_internal.h index ac0aac5..0e5828f 100644 --- a/platform/linux-generic/include/odp_timer_wheel_internal.h +++ b/platform/linux-generic/include/odp_timer_wheel_internal.h @@ -14,7 +14,7 @@ extern "C" { #endif #include -#include +#include /* Note that ALL times in this API are in units of processor/cpu clock * cycles! diff --git a/platform/linux-generic/odp_pkt_queue.c b/platform/linux-generic/odp_pkt_queue.c index 88520b1..64f4930 100644 --- a/platform/linux-generic/odp_pkt_queue.c +++ b/platform/linux-generic/odp_pkt_queue.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c index 5811266..9c8d3e1 100644 --- a/platform/linux-generic/odp_sorted_list.c +++ b/platform/linux-generic/odp_sorted_list.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c index 21be3ef..288ea49 100644 --- a/platform/linux-generic/odp_timer_wheel.c +++ b/platform/linux-generic/odp_timer_wheel.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 1f29438..1b0f25b 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index 340e106..34d769e 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -5,7 +5,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include #include diff --git a/platform/linux-generic/pktio/pcap.c b/platform/linux-generic/pktio/pcap.c index c22cce0..ef42c11 100644 --- a/platform/linux-generic/pktio/pcap.c +++ b/platform/linux-generic/pktio/pcap.c @@ -36,7 +36,7 @@ #include -#include +#include #include #include diff --git a/platform/linux-generic/pktio/socket.c b/platform/linux-generic/pktio/socket.c index 9c5be22..be53900 100644 --- a/platform/linux-generic/pktio/socket.c +++ b/platform/linux-generic/pktio/socket.c @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include #include diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c index 887fccc..da2682c 100644 --- a/platform/linux-generic/pktio/socket_mmap.c +++ b/platform/linux-generic/pktio/socket_mmap.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/platform/linux-generic/pktio/sysfs.c b/platform/linux-generic/pktio/sysfs.c index 4e5c028..7aadc14 100644 --- a/platform/linux-generic/pktio/sysfs.c +++ b/platform/linux-generic/pktio/sysfs.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include #include diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c index 1eb4f56..14cc600 100644 --- a/platform/linux-generic/pktio/tap.c +++ b/platform/linux-generic/pktio/tap.c @@ -38,7 +38,7 @@ #include #include -#include +#include #include #include #include diff --git a/test/api_test/odp_common.c b/test/api_test/odp_common.c index 70aee96..75423ec 100644 --- a/test/api_test/odp_common.c +++ b/test/api_test/odp_common.c @@ -11,7 +11,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/api_test/odp_ring_test.c b/test/api_test/odp_ring_test.c index e8a962a..146c95d 100644 --- a/test/api_test/odp_ring_test.c +++ b/test/api_test/odp_ring_test.c @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/miscellaneous/odp_api_from_cpp.cpp b/test/miscellaneous/odp_api_from_cpp.cpp index c9733ee..be74c27 100644 --- a/test/miscellaneous/odp_api_from_cpp.cpp +++ b/test/miscellaneous/odp_api_from_cpp.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include int main(int argc ODP_UNUSED, const char *argv[] ODP_UNUSED) diff --git a/test/performance/odp_atomic.c b/test/performance/odp_atomic.c index 067329b..69c23e2 100644 --- a/test/performance/odp_atomic.c +++ b/test/performance/odp_atomic.c @@ -8,7 +8,7 @@ #include #include -#include +#include #include static void test_atomic_inc_dec_u32(void); diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 9998b0f..5fd339d 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #define app_err(fmt, ...) \ diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c index b631298..c245935 100644 --- a/test/performance/odp_l2fwd.c +++ b/test/performance/odp_l2fwd.c @@ -22,7 +22,7 @@ #include -#include +#include #include #include #include diff --git a/test/performance/odp_pktio_perf.c b/test/performance/odp_pktio_perf.c index 9a47355..0fbecec 100644 --- a/test/performance/odp_pktio_perf.c +++ b/test/performance/odp_pktio_perf.c @@ -20,7 +20,7 @@ * a single packet rate can be specified on the command line. * */ -#include +#include #include #include diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index 2764948..1f6d62d 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -16,7 +16,7 @@ #include /* ODP main header */ -#include +#include /* ODP helper for Linux apps */ #include diff --git a/test/validation/atomic/atomic.c b/test/validation/atomic/atomic.c index 24c0de7..1c81bdd 100644 --- a/test/validation/atomic/atomic.c +++ b/test/validation/atomic/atomic.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/validation/barrier/barrier.c b/test/validation/barrier/barrier.c index 8f15cdf..98df247 100644 --- a/test/validation/barrier/barrier.c +++ b/test/validation/barrier/barrier.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/validation/buffer/buffer.c b/test/validation/buffer/buffer.c index 9c8da81..c336ac3 100644 --- a/test/validation/buffer/buffer.c +++ b/test/validation/buffer/buffer.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "buffer.h" diff --git a/test/validation/classification/classification.c b/test/validation/classification/classification.c index 9c3dbbb..a266c56 100644 --- a/test/validation/classification/classification.c +++ b/test/validation/classification/classification.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "odp_classification_testsuites.h" #include "classification.h" diff --git a/test/validation/classification/odp_classification_testsuites.h b/test/validation/classification/odp_classification_testsuites.h index 44577a0..8d5b5ff 100644 --- a/test/validation/classification/odp_classification_testsuites.h +++ b/test/validation/classification/odp_classification_testsuites.h @@ -7,7 +7,7 @@ #ifndef ODP_CLASSIFICATION_TESTSUITES_H_ #define ODP_CLASSIFICATION_TESTSUITES_H_ -#include +#include #include extern odp_testinfo_t classification_suite[]; diff --git a/test/validation/common/mask_common.c b/test/validation/common/mask_common.c index 9b1a23f..5001364 100644 --- a/test/validation/common/mask_common.c +++ b/test/validation/common/mask_common.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "mask_common.h" diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index 5876923..dbd8229 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include /* Globals */ diff --git a/test/validation/config/config.c b/test/validation/config/config.c index f957150..380163c 100644 --- a/test/validation/config/config.c +++ b/test/validation/config/config.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "config.h" diff --git a/test/validation/cpumask/cpumask.c b/test/validation/cpumask/cpumask.c index 2419f47..017332a 100644 --- a/test/validation/cpumask/cpumask.c +++ b/test/validation/cpumask/cpumask.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "cpumask.h" diff --git a/test/validation/cpumask/cpumask.h b/test/validation/cpumask/cpumask.h index c6f9cde..2019f7a 100644 --- a/test/validation/cpumask/cpumask.h +++ b/test/validation/cpumask/cpumask.h @@ -7,7 +7,7 @@ #ifndef _ODP_TEST_CPUMASK_H_ #define _ODP_TEST_CPUMASK_H_ -#include +#include #include /* test functions: */ diff --git a/test/validation/crypto/crypto.c b/test/validation/crypto/crypto.c index b2d8f45..a0411c6 100644 --- a/test/validation/crypto/crypto.c +++ b/test/validation/crypto/crypto.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "odp_crypto_test_inp.h" #include "crypto.h" diff --git a/test/validation/crypto/odp_crypto_test_inp.c b/test/validation/crypto/odp_crypto_test_inp.c index b6fcb12..fc125f7 100644 --- a/test/validation/crypto/odp_crypto_test_inp.c +++ b/test/validation/crypto/odp_crypto_test_inp.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include #include "test_vectors.h" diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c index d0e2128..9dd1be6 100644 --- a/test/validation/errno/errno.c +++ b/test/validation/errno/errno.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "errno.h" diff --git a/test/validation/hash/hash.c b/test/validation/hash/hash.c index 11b331e..faba0b6 100644 --- a/test/validation/hash/hash.c +++ b/test/validation/hash/hash.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "hash.h" diff --git a/test/validation/init/init.c b/test/validation/init/init.c index 62bd75c..665c3dc 100644 --- a/test/validation/init/init.c +++ b/test/validation/init/init.c @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include "init.h" diff --git a/test/validation/lock/lock.c b/test/validation/lock/lock.c index 0f4415d..f1f6d69 100644 --- a/test/validation/lock/lock.c +++ b/test/validation/lock/lock.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/validation/packet/packet.c b/test/validation/packet/packet.c index c5e2356..a764ed9 100644 --- a/test/validation/packet/packet.c +++ b/test/validation/packet/packet.c @@ -6,7 +6,7 @@ #include -#include +#include #include #include "packet.h" diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index f3577ec..216c7a6 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -3,7 +3,7 @@ * * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include diff --git a/test/validation/pool/pool.c b/test/validation/pool/pool.c index bca210a..7f32991 100644 --- a/test/validation/pool/pool.c +++ b/test/validation/pool/pool.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "pool.h" diff --git a/test/validation/queue/queue.c b/test/validation/queue/queue.c index 7c55eb3..50c6857 100644 --- a/test/validation/queue/queue.c +++ b/test/validation/queue/queue.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "queue.h" diff --git a/test/validation/random/random.c b/test/validation/random/random.c index 8ed5944..7f899e8 100644 --- a/test/validation/random/random.c +++ b/test/validation/random/random.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "random.h" diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index dcf01c0..5631618 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "scheduler.h" diff --git a/test/validation/shmem/shmem.c b/test/validation/shmem/shmem.c index 08425e6..ba4973d 100644 --- a/test/validation/shmem/shmem.c +++ b/test/validation/shmem/shmem.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "shmem.h" diff --git a/test/validation/std_clib/std_clib.c b/test/validation/std_clib/std_clib.c index e69bc39..5d5beab 100644 --- a/test/validation/std_clib/std_clib.c +++ b/test/validation/std_clib/std_clib.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include "std_clib.h" diff --git a/test/validation/system/system.c b/test/validation/system/system.c index de953f0..7520d16 100644 --- a/test/validation/system/system.c +++ b/test/validation/system/system.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include "odp_cunit_common.h" #include "test_debug.h" diff --git a/test/validation/thread/thread.c b/test/validation/thread/thread.c index 03bf3cd..5cbec83 100644 --- a/test/validation/thread/thread.c +++ b/test/validation/thread/thread.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include #include #include diff --git a/test/validation/thread/thread.h b/test/validation/thread/thread.h index 6cbc694..f8ea710 100644 --- a/test/validation/thread/thread.h +++ b/test/validation/thread/thread.h @@ -7,7 +7,7 @@ #ifndef _ODP_TEST_THREAD_H_ #define _ODP_TEST_THREAD_H_ -#include +#include #include /* test functions: */ diff --git a/test/validation/time/time.c b/test/validation/time/time.c index 4eb6dd5..cd475e6 100644 --- a/test/validation/time/time.c +++ b/test/validation/time/time.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include +#include #include "odp_cunit_common.h" #include "time.h" diff --git a/test/validation/timer/timer.c b/test/validation/timer/timer.c index 004670a..c17c407 100644 --- a/test/validation/timer/timer.c +++ b/test/validation/timer/timer.c @@ -14,7 +14,7 @@ #endif #include -#include +#include #include "odp_cunit_common.h" #include "test_debug.h" #include "timer.h"