From patchwork Mon Jan 22 15:00:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125429 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1201276ljf; Mon, 22 Jan 2018 07:02:33 -0800 (PST) X-Google-Smtp-Source: AH8x226WNLH/cGBuzmH6WKg9g30MRfxHU4tJUpvkCH6o+jgSiIM0iewkWQm+4v4vilTZbTCZ826O X-Received: by 10.129.61.20 with SMTP id k20mr8047297ywa.471.1516633353350; Mon, 22 Jan 2018 07:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516633353; cv=none; d=google.com; s=arc-20160816; b=j8dLwit3qKElr+d8bEQcnKe9RW3JJe8Y1XVYIOiUmEaKUO3LPhzdQ5MbEIqtBpXc+9 p5wm/KsSVihKsHQrT/3HmFmXT4rpkonkl4F+mNxP9hLkwWd6zh8E89K9Mop+izfBe4wW 92t1umQsJxsIF1qipHat9OoUAsim47/JJKadccvm8r2Vkv4a2J2ch2sLIcK6QkRIwMrF JrfZvMOlbMGeG5bSARzUbafYa71LQ6Y0fExB+arWr02IG49T3xllzQmyUAPkomT+Iv6c cUIXnGGWKPJljM/aZucgEGqedqWksNFTHq6iRQ9nJ4P1UKS8oe9qFZy6nW/WQ/0u/NwP 7o1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=unT+2qxArApapt+NMqDodBTIpaToY351eGoGK5Wlv+I=; b=M/o9lkV66BkLSh6LoY02yyt5zi3uIIkeCJEyETxbnEfsE+YVXoTgwPzoSamd7a8rij ahwC0hRzYbtWoU005k55hKM+gO7SsMlI81xgfbF0EyQbejRGZfzoCI6H+sRRrPltrxWt X7Wf8UhdLSsItgWk8MqtHgBhbXEIHag6UHkVyscyTBggk2GxTGNMks1LePK+hSrzy1Ac A1s5FvSVQe4d+cadT7fMPUElmUl8rb3ol5Ci2BGqq57Rv6k5ZAVg477fj9E8SMSTM8pL 5RvyziMIUXIweCZF8JAbgqhLrP8UznFqk5pBZBsyQtpRGTvBtaT+rlWUb5ug7KlqkWia JQxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id z5si144376yba.282.2018.01.22.07.02.33; Mon, 22 Jan 2018 07:02:33 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id F3080617B5; Mon, 22 Jan 2018 15:02:32 +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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 B9D9761753; Mon, 22 Jan 2018 15:01:33 +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 A2CA2616E5; Mon, 22 Jan 2018 15:01:24 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 1D05A61753 for ; Mon, 22 Jan 2018 15:00:32 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100j.mail.yandex.net (Yandex) with ESMTP id BFF795D82F62 for ; Mon, 22 Jan 2018 18:00:30 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6rhY1KgFL6-0U4C2fCT; Mon, 22 Jan 2018 18:00:30 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jptb7G4Pts-0OTi4OfU; Mon, 22 Jan 2018 18:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 22 Jan 2018 18:00:10 +0300 Message-Id: <1516633210-13906-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> References: <1516633210-13906-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 415 Subject: [lng-odp] [PATCH API-NEXT v3 2/2] api: drop spec/compiler.h header 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov This header was already removed in master, but it reappeared in api-next. Fixes: f925f103c90591776f73863d30159357b08bf71e Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 415 (lumag:api-next-fix-headers) ** https://github.com/Linaro/odp/pull/415 ** Patch: https://github.com/Linaro/odp/pull/415.patch ** Base sha: 5fba303faf04d29b616f687ce1f721400b2c6f9c ** Merge commit sha: d04df090bced4f16e3d95aac712e562ae1c121d4 **/ include/odp/api/spec/compiler.h | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 include/odp/api/spec/compiler.h diff --git a/include/odp/api/spec/compiler.h b/include/odp/api/spec/compiler.h deleted file mode 100644 index 750b36008..000000000 --- a/include/odp/api/spec/compiler.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright (c) 2014-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - - -/** - * @file - * - * Compiler related - */ - -#ifndef ODP_API_COMPILER_H_ -#define ODP_API_COMPILER_H_ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** @addtogroup odp_compiler_optim - * Macro for old compilers - * @{ - */ - -/** @internal GNU compiler version */ -#define GCC_VERSION (__GNUC__ * 10000 \ - + __GNUC_MINOR__ * 100 \ - + __GNUC_PATCHLEVEL__) - -/** - * @internal - * Compiler __builtin_bswap16() is not available on all platforms - * until GCC 4.8.0 - work around this by offering __odp_builtin_bswap16() - * Don't use this function directly, instead see odp_byteorder.h - */ -#if GCC_VERSION < 40800 -#define __odp_builtin_bswap16(u16) ((((u16)&0x00ff) << 8)|(((u16)&0xff00) >> 8)) -#else -#define __odp_builtin_bswap16(u16) __builtin_bswap16(u16) -#endif - -/** - * @} - */ - -#ifdef __cplusplus -} -#endif - -#include -#endif