From patchwork Thu Feb 5 17:37:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 44469 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2BA421521 for ; Thu, 5 Feb 2015 17:38:16 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u14sf1788619lbd.3 for ; Thu, 05 Feb 2015 09:38:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=FqkCK9JNpJ2bmwZ6M4ByYeo7wEp4qNKEYVN3WgwkAvg=; b=eHALO+3Fmsk2Y9tUGSFHCXNVL96ehjpp+mrJr1zkpptYpiaHS1e4CjTodV6+9rMmqj jmMPQ0LLGcWhYQFRSMs4oq1/xW2SrRWsZazfqbQsjWHUKIjZIcVhWLX9nlY1aZKnZHFC mxF3z/Bu6Emq6EdEDFRXGTOrTgU36CC2JR78etd+Keim/xAAAU9o8FLMZrwpD7QBII7M NZyZsQHC6ZOQu7CMqKBTFEeNwpr1tJ96MHtCJ/aB9aLIK0JI3E16f9ZgWQWnhrUJXU67 vnUHXMkDvvdBoATPFOglT3ZY/gRAOPK1f8ZLzIJjyCYe+IqBprw6twz+Ku5KolVZlyZR 7I0w== X-Gm-Message-State: ALoCoQm36c07SR1uFd5lZGmZLbjQ9WGnVdW+s6GoIO/i9MM1gxnPmB6eunlqGDD9AlPfWhG4dtJG X-Received: by 10.194.178.234 with SMTP id db10mr686250wjc.2.1423157895865; Thu, 05 Feb 2015 09:38:15 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.4 with SMTP id u4ls176971laj.88.gmail; Thu, 05 Feb 2015 09:38:15 -0800 (PST) X-Received: by 10.152.43.18 with SMTP id s18mr5147709lal.26.1423157895697; Thu, 05 Feb 2015 09:38:15 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id h9si440353lbc.48.2015.02.05.09.38.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 09:38:15 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by mail-lb0-f178.google.com with SMTP id b6so3298688lbj.9 for ; Thu, 05 Feb 2015 09:38:15 -0800 (PST) X-Received: by 10.112.114.230 with SMTP id jj6mr1489687lbb.112.1423157895358; Thu, 05 Feb 2015 09:38:15 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1290199lbj; Thu, 5 Feb 2015 09:38:14 -0800 (PST) X-Received: by 10.224.130.131 with SMTP id t3mr10657503qas.76.1423157893864; Thu, 05 Feb 2015 09:38:13 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id t8si6838236qcb.27.2015.02.05.09.38.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Feb 2015 09:38:13 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YJQNT-0005F4-7t; Thu, 05 Feb 2015 17:38:07 +0000 Received: from mail-lb0-f172.google.com ([209.85.217.172]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YJQNN-0005BH-3I for lng-odp@lists.linaro.org; Thu, 05 Feb 2015 17:38:01 +0000 Received: by mail-lb0-f172.google.com with SMTP id l4so9760053lbv.3 for ; Thu, 05 Feb 2015 09:37:55 -0800 (PST) X-Received: by 10.112.219.199 with SMTP id pq7mr3945460lbc.55.1423157875468; Thu, 05 Feb 2015 09:37:55 -0800 (PST) Received: from condor-x220.synapse.com ([80.77.38.170]) by mx.google.com with ESMTPSA id rv1sm1086365lbb.25.2015.02.05.09.37.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Feb 2015 09:37:54 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Thu, 5 Feb 2015 19:37:50 +0200 Message-Id: <1423157870-23428-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] api: reflect file path in header guards X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Start header guards with ODP_API_ prefix to avoid confusion with other files with the same name. Signed-off-by: Taras Kondratiuk Reviewed-by: Bill Fischofer --- include/odp/api/align.h | 4 ++-- include/odp/api/atomic.h | 4 ++-- include/odp/api/barrier.h | 4 ++-- include/odp/api/buffer.h | 4 ++-- include/odp/api/byteorder.h | 4 ++-- include/odp/api/classification.h | 4 ++-- include/odp/api/compiler.h | 4 ++-- include/odp/api/config.h | 4 ++-- include/odp/api/cpumask.h | 4 ++-- include/odp/api/crypto.h | 4 ++-- include/odp/api/debug.h | 4 ++-- include/odp/api/event.h | 4 ++-- include/odp/api/hints.h | 4 ++-- include/odp/api/init.h | 4 ++-- include/odp/api/packet.h | 4 ++-- include/odp/api/packet_flags.h | 4 ++-- include/odp/api/packet_io.h | 4 ++-- include/odp/api/pool.h | 4 ++-- include/odp/api/queue.h | 4 ++-- include/odp/api/random.h | 4 ++-- include/odp/api/rwlock.h | 4 ++-- include/odp/api/schedule.h | 4 ++-- include/odp/api/shared_memory.h | 4 ++-- include/odp/api/spinlock.h | 4 ++-- include/odp/api/std_types.h | 4 ++-- include/odp/api/sync.h | 4 ++-- include/odp/api/system_info.h | 4 ++-- include/odp/api/thread.h | 4 ++-- include/odp/api/time.h | 4 ++-- include/odp/api/timer.h | 4 ++-- include/odp/api/version.h | 4 ++-- 31 files changed, 62 insertions(+), 62 deletions(-) diff --git a/include/odp/api/align.h b/include/odp/api/align.h index b97ee57..97cedc3 100644 --- a/include/odp/api/align.h +++ b/include/odp/api/align.h @@ -11,8 +11,8 @@ * ODP alignments */ -#ifndef ODP_ALIGN_H_ -#define ODP_ALIGN_H_ +#ifndef ODP_API_ALIGN_H_ +#define ODP_API_ALIGN_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/atomic.h b/include/odp/api/atomic.h index 9e759fb..ba5c354 100644 --- a/include/odp/api/atomic.h +++ b/include/odp/api/atomic.h @@ -11,8 +11,8 @@ * ODP atomic operations */ -#ifndef ODP_ATOMIC_H_ -#define ODP_ATOMIC_H_ +#ifndef ODP_API_ATOMIC_H_ +#define ODP_API_ATOMIC_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/barrier.h b/include/odp/api/barrier.h index 2066210..35f0981 100644 --- a/include/odp/api/barrier.h +++ b/include/odp/api/barrier.h @@ -11,8 +11,8 @@ * ODP execution barriers */ -#ifndef ODP_BARRIER_H_ -#define ODP_BARRIER_H_ +#ifndef ODP_API_BARRIER_H_ +#define ODP_API_BARRIER_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/buffer.h b/include/odp/api/buffer.h index 4bbac1e..9ad08ea 100644 --- a/include/odp/api/buffer.h +++ b/include/odp/api/buffer.h @@ -11,8 +11,8 @@ * ODP buffer descriptor */ -#ifndef ODP_BUFFER_H_ -#define ODP_BUFFER_H_ +#ifndef ODP_API_BUFFER_H_ +#define ODP_API_BUFFER_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/byteorder.h b/include/odp/api/byteorder.h index 3a36afc..a7b3647 100644 --- a/include/odp/api/byteorder.h +++ b/include/odp/api/byteorder.h @@ -11,8 +11,8 @@ * ODP byteorder */ -#ifndef ODP_BYTEORDER_H_ -#define ODP_BYTEORDER_H_ +#ifndef ODP_API_BYTEORDER_H_ +#define ODP_API_BYTEORDER_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/classification.h b/include/odp/api/classification.h index 5a61bd8..8758fb5 100644 --- a/include/odp/api/classification.h +++ b/include/odp/api/classification.h @@ -11,8 +11,8 @@ * ODP classification descriptor */ -#ifndef ODP_CLASSIFY_H_ -#define ODP_CLASSIFY_H_ +#ifndef ODP_API_CLASSIFY_H_ +#define ODP_API_CLASSIFY_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/compiler.h b/include/odp/api/compiler.h index 71a4431..5a24bfb 100644 --- a/include/odp/api/compiler.h +++ b/include/odp/api/compiler.h @@ -11,8 +11,8 @@ * Compiler related */ -#ifndef ODP_COMPILER_H_ -#define ODP_COMPILER_H_ +#ifndef ODP_API_COMPILER_H_ +#define ODP_API_COMPILER_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/config.h b/include/odp/api/config.h index 3529fca..bd69b98 100644 --- a/include/odp/api/config.h +++ b/include/odp/api/config.h @@ -11,8 +11,8 @@ * ODP configuration */ -#ifndef ODP_CONFIG_H_ -#define ODP_CONFIG_H_ +#ifndef ODP_API_CONFIG_H_ +#define ODP_API_CONFIG_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/cpumask.h b/include/odp/api/cpumask.h index a78d83c..831f745 100644 --- a/include/odp/api/cpumask.h +++ b/include/odp/api/cpumask.h @@ -11,8 +11,8 @@ * ODP CPU masks and enumeration */ -#ifndef ODP_CPUMASK_H_ -#define ODP_CPUMASK_H_ +#ifndef ODP_API_CPUMASK_H_ +#define ODP_API_CPUMASK_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/crypto.h b/include/odp/api/crypto.h index dbdc5b9..a71753c 100644 --- a/include/odp/api/crypto.h +++ b/include/odp/api/crypto.h @@ -11,8 +11,8 @@ * ODP crypto */ -#ifndef ODP_CRYPTO_H_ -#define ODP_CRYPTO_H_ +#ifndef ODP_API_CRYPTO_H_ +#define ODP_API_CRYPTO_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/debug.h b/include/odp/api/debug.h index 05f4e9e..5949680 100644 --- a/include/odp/api/debug.h +++ b/include/odp/api/debug.h @@ -9,8 +9,8 @@ * ODP debug */ -#ifndef ODP_DEBUG_H_ -#define ODP_DEBUG_H_ +#ifndef ODP_API_DEBUG_H_ +#define ODP_API_DEBUG_H_ #ifdef __cplusplus diff --git a/include/odp/api/event.h b/include/odp/api/event.h index b1cc916..63b476f 100644 --- a/include/odp/api/event.h +++ b/include/odp/api/event.h @@ -11,8 +11,8 @@ * ODP event */ -#ifndef ODP_EVENT_H_ -#define ODP_EVENT_H_ +#ifndef ODP_API_EVENT_H_ +#define ODP_API_EVENT_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/hints.h b/include/odp/api/hints.h index ebf83fc..7ec8c29 100644 --- a/include/odp/api/hints.h +++ b/include/odp/api/hints.h @@ -11,8 +11,8 @@ * ODP compiler hints */ -#ifndef ODP_HINTS_H_ -#define ODP_HINTS_H_ +#ifndef ODP_API_HINTS_H_ +#define ODP_API_HINTS_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/init.h b/include/odp/api/init.h index 7353d0b..b8fab78 100644 --- a/include/odp/api/init.h +++ b/include/odp/api/init.h @@ -19,8 +19,8 @@ * - odp_term_local() */ -#ifndef ODP_INIT_H_ -#define ODP_INIT_H_ +#ifndef ODP_API_INIT_H_ +#define ODP_API_INIT_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/packet.h b/include/odp/api/packet.h index 1abcbc3..a31c54d 100644 --- a/include/odp/api/packet.h +++ b/include/odp/api/packet.h @@ -11,8 +11,8 @@ * ODP packet descriptor */ -#ifndef ODP_PACKET_H_ -#define ODP_PACKET_H_ +#ifndef ODP_API_PACKET_H_ +#define ODP_API_PACKET_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/packet_flags.h b/include/odp/api/packet_flags.h index 308b0d8..b1e179e 100644 --- a/include/odp/api/packet_flags.h +++ b/include/odp/api/packet_flags.h @@ -11,8 +11,8 @@ * ODP packet flags */ -#ifndef ODP_PACKET_FLAGS_H_ -#define ODP_PACKET_FLAGS_H_ +#ifndef ODP_API_PACKET_FLAGS_H_ +#define ODP_API_PACKET_FLAGS_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 3e4bac4..31f1c1e 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -11,8 +11,8 @@ * ODP Packet IO */ -#ifndef ODP_PACKET_IO_H_ -#define ODP_PACKET_IO_H_ +#ifndef ODP_API_PACKET_IO_H_ +#define ODP_API_PACKET_IO_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/pool.h b/include/odp/api/pool.h index f5dda10..b8c0f2e 100644 --- a/include/odp/api/pool.h +++ b/include/odp/api/pool.h @@ -11,8 +11,8 @@ * ODP pool */ -#ifndef ODP_POOL_H_ -#define ODP_POOL_H_ +#ifndef ODP_API_POOL_H_ +#define ODP_API_POOL_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h index ed57ba4..9519edf 100644 --- a/include/odp/api/queue.h +++ b/include/odp/api/queue.h @@ -11,8 +11,8 @@ * ODP queue */ -#ifndef ODP_QUEUE_H_ -#define ODP_QUEUE_H_ +#ifndef ODP_API_QUEUE_H_ +#define ODP_API_QUEUE_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/random.h b/include/odp/api/random.h index 3bc1aeb..293043e 100644 --- a/include/odp/api/random.h +++ b/include/odp/api/random.h @@ -11,8 +11,8 @@ * ODP random number API */ -#ifndef ODP_RANDOM_H_ -#define ODP_RANDOM_H_ +#ifndef ODP_API_RANDOM_H_ +#define ODP_API_RANDOM_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/rwlock.h b/include/odp/api/rwlock.h index f9d418e..950b83a 100644 --- a/include/odp/api/rwlock.h +++ b/include/odp/api/rwlock.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef ODP_RWLOCK_H_ -#define ODP_RWLOCK_H_ +#ifndef ODP_API_RWLOCK_H_ +#define ODP_API_RWLOCK_H_ /** * @file diff --git a/include/odp/api/schedule.h b/include/odp/api/schedule.h index 3019b84..8abec21 100644 --- a/include/odp/api/schedule.h +++ b/include/odp/api/schedule.h @@ -11,8 +11,8 @@ * ODP schedule */ -#ifndef ODP_SCHEDULE_H_ -#define ODP_SCHEDULE_H_ +#ifndef ODP_API_SCHEDULE_H_ +#define ODP_API_SCHEDULE_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/shared_memory.h b/include/odp/api/shared_memory.h index d4445f7..de40bcd 100644 --- a/include/odp/api/shared_memory.h +++ b/include/odp/api/shared_memory.h @@ -11,8 +11,8 @@ * ODP shared memory */ -#ifndef ODP_SHARED_MEMORY_H_ -#define ODP_SHARED_MEMORY_H_ +#ifndef ODP_API_SHARED_MEMORY_H_ +#define ODP_API_SHARED_MEMORY_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/spinlock.h b/include/odp/api/spinlock.h index 504e629..5cde123 100644 --- a/include/odp/api/spinlock.h +++ b/include/odp/api/spinlock.h @@ -11,8 +11,8 @@ * ODP spinlock */ -#ifndef ODP_SPINLOCK_H_ -#define ODP_SPINLOCK_H_ +#ifndef ODP_API_SPINLOCK_H_ +#define ODP_API_SPINLOCK_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/std_types.h b/include/odp/api/std_types.h index 00a3e48..7558c64 100644 --- a/include/odp/api/std_types.h +++ b/include/odp/api/std_types.h @@ -12,8 +12,8 @@ * */ -#ifndef ODP_STD_TYPES_H_ -#define ODP_STD_TYPES_H_ +#ifndef ODP_API_STD_TYPES_H_ +#define ODP_API_STD_TYPES_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/sync.h b/include/odp/api/sync.h index d9daada..b338a98 100644 --- a/include/odp/api/sync.h +++ b/include/odp/api/sync.h @@ -11,8 +11,8 @@ * ODP synchronisation */ -#ifndef ODP_SYNC_H_ -#define ODP_SYNC_H_ +#ifndef ODP_API_SYNC_H_ +#define ODP_API_SYNC_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/system_info.h b/include/odp/api/system_info.h index c14d654..4d7f0e7 100644 --- a/include/odp/api/system_info.h +++ b/include/odp/api/system_info.h @@ -11,8 +11,8 @@ * ODP system information */ -#ifndef ODP_SYSTEM_INFO_H_ -#define ODP_SYSTEM_INFO_H_ +#ifndef ODP_API_SYSTEM_INFO_H_ +#define ODP_API_SYSTEM_INFO_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/thread.h b/include/odp/api/thread.h index d6016cb..e5185f2 100644 --- a/include/odp/api/thread.h +++ b/include/odp/api/thread.h @@ -11,8 +11,8 @@ * ODP thread API */ -#ifndef ODP_THREAD_H_ -#define ODP_THREAD_H_ +#ifndef ODP_API_THREAD_H_ +#define ODP_API_THREAD_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/time.h b/include/odp/api/time.h index aba841c..6b811d0 100644 --- a/include/odp/api/time.h +++ b/include/odp/api/time.h @@ -11,8 +11,8 @@ * ODP time */ -#ifndef ODP_TIME_H_ -#define ODP_TIME_H_ +#ifndef ODP_API_TIME_H_ +#define ODP_API_TIME_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/timer.h b/include/odp/api/timer.h index 64ccc4b..ff45795 100644 --- a/include/odp/api/timer.h +++ b/include/odp/api/timer.h @@ -11,8 +11,8 @@ * ODP timer service */ -#ifndef ODP_TIMER_H_ -#define ODP_TIMER_H_ +#ifndef ODP_API_TIMER_H_ +#define ODP_API_TIMER_H_ #ifdef __cplusplus extern "C" { diff --git a/include/odp/api/version.h b/include/odp/api/version.h index 0889d9c..8807ea8 100644 --- a/include/odp/api/version.h +++ b/include/odp/api/version.h @@ -11,8 +11,8 @@ * ODP version */ -#ifndef ODP_VERSION_H_ -#define ODP_VERSION_H_ +#ifndef ODP_API_VERSION_H_ +#define ODP_API_VERSION_H_ #ifdef __cplusplus extern "C" {