From patchwork Wed Feb 11 07:10:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 44544 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1CA821527 for ; Wed, 11 Feb 2015 07:11:16 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id z2sf1509302wiv.1 for ; Tue, 10 Feb 2015 23:11:16 -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:in-reply-to :references: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=ttxmU/dAYLIX1lSRyxMFG8cYWjvlG+KwU/BVG8bKsJk=; b=O30lmAmEIoWjgfx+0it5sZlTEvVWqfrEvrNzXleESZaW8W0fPnYdaKjJIyBBHXcEwD M2S80a0P9bKKgauZ4Z8c4tnG6hrkE4kvOVNmSVz2SSrpInhaWOxUe1Iuyu+oGF8+wHJb CwUaxqgEBo7+duru6aQVsGPaAeokMm2NfLAI7bBkTn+1i8yfuiO4+ITWvYOe/nQAfvjN D9fsbPxdr1k72EJIE+8OVhfANmUwEK2lV/084GjxhinjybcygZGS8lzhCNydEKhUJ39+ nI95KUftPl9ZS8Ex9p9PQLHMUhvotG1HwBdJDRm1zHxLdJnnGPiTftdt6RzOwwITb+m5 uo/g== X-Gm-Message-State: ALoCoQlvZtFt0cQsSe+GTU2loGTV8PjNtRKm8n+rz41zi5d4viw4IqYnBMkq+XbB8biAaDM6F2yl X-Received: by 10.180.105.129 with SMTP id gm1mr174578wib.3.1423638676098; Tue, 10 Feb 2015 23:11:16 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.132 with SMTP id b4ls24019lah.16.gmail; Tue, 10 Feb 2015 23:11:15 -0800 (PST) X-Received: by 10.152.88.44 with SMTP id bd12mr652586lab.86.1423638675670; Tue, 10 Feb 2015 23:11:15 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id q3si13726164lbh.43.2015.02.10.23.11.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 23:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labhv19 with SMTP id hv19so1495316lab.10 for ; Tue, 10 Feb 2015 23:11:15 -0800 (PST) X-Received: by 10.112.213.38 with SMTP id np6mr26497604lbc.36.1423638675331; Tue, 10 Feb 2015 23:11: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 h5csp1076761lbj; Tue, 10 Feb 2015 23:11:14 -0800 (PST) X-Received: by 10.140.102.170 with SMTP id w39mr58263236qge.100.1423638674120; Tue, 10 Feb 2015 23:11:14 -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 z35si21570563qgd.73.2015.02.10.23.11.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Feb 2015 23:11:14 -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 1YLRS3-0001gV-3N; Wed, 11 Feb 2015 07:11:11 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YLRRj-0001YB-9o for lng-odp@lists.linaro.org; Wed, 11 Feb 2015 07:10:51 +0000 Received: by mail-pa0-f47.google.com with SMTP id lf10so2179006pab.6 for ; Tue, 10 Feb 2015 23:10:45 -0800 (PST) X-Received: by 10.68.190.101 with SMTP id gp5mr43677486pbc.30.1423638645934; Tue, 10 Feb 2015 23:10:45 -0800 (PST) Received: from localhost.localdomain ([210.177.145.249]) by mx.google.com with ESMTPSA id zs8sm21442490pac.9.2015.02.10.23.10.44 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Feb 2015 23:10:45 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 11 Feb 2015 10:10:05 +0300 Message-Id: <1423638605-6342-7-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1423638605-6342-1-git-send-email-maxim.uvarov@linaro.org> References: <1423638605-6342-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 6/6] linux-generic: move imp API number def to header file 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: maxim.uvarov@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.215.54 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 Signed-off-by: Maxim Uvarov --- platform/linux-generic/include/odp/version.h | 3 +++ platform/linux-generic/odp_version.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/include/odp/version.h b/platform/linux-generic/include/odp/version.h index b5071e5..8a95221 100644 --- a/platform/linux-generic/include/odp/version.h +++ b/platform/linux-generic/include/odp/version.h @@ -31,6 +31,9 @@ ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) #include +#define ODP_VERSION_IMPL 0 +#define ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL) + #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c index d54580c..776f4da 100644 --- a/platform/linux-generic/odp_version.c +++ b/platform/linux-generic/odp_version.c @@ -16,9 +16,6 @@ const char *odp_version_api_str(void) return ODP_VERSION_API_STR; } -#define ODP_VERSION_IMPL 0 -#define ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL) - const char *odp_version_impl_str(void) { return ODP_VERSION_IMPL_STR;