From patchwork Wed Nov 26 17:31:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 41554 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E6E69203C2 for ; Wed, 26 Nov 2014 17:32:38 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf2089751lab.7 for ; Wed, 26 Nov 2014 09:32:37 -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=YExg32ew+myMxfwEMFJk0UZiXLcaReDZczviGlb0yjg=; b=YZz56MrL9bXUUfDIINI2zSOT+tRZyv7FsDbc34jgkqjGSHB41uQeyr56RUH9S9l4qe XZecCLk5kuVQEoE5u6n6lac692W+jzLCLJzjHoHfgxZHalYYfnELydUJmILoxlm/UnIP C0HRYvTDLP15hvmydLZSBnImettkDGRWc8pOkjqG5KRQojAesA4Y8V2AiZ5g8VtPpIZw Im7Xmfn8yt8+nlksHJM/hb+l6s/UCu8G5yEQMYYZZfuJTMTCYYtRDBGGGt2YG8t5rcH/ 5APBpmJD3cuAb+yDXtDLVrLLjtYz9OBa6dv9lwVsmi+UcJF76JrlAqHWXU5f3N6zpzZq Quhw== X-Gm-Message-State: ALoCoQm+J4+au0lR9Xyc6zUGKTBIRHwGC0o7K1rSNQyD8O9TMZnGXPQfVtQA4CoSjomRzzMDEtqi X-Received: by 10.112.89.195 with SMTP id bq3mr9602193lbb.9.1417023157925; Wed, 26 Nov 2014 09:32:37 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.99 with SMTP id s3ls734379lag.100.gmail; Wed, 26 Nov 2014 09:32:37 -0800 (PST) X-Received: by 10.152.234.140 with SMTP id ue12mr34500206lac.78.1417023157505; Wed, 26 Nov 2014 09:32:37 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id iy10si5025721lbc.71.2014.11.26.09.32.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 09:32:37 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id p9so2786981lbv.7 for ; Wed, 26 Nov 2014 09:32:37 -0800 (PST) X-Received: by 10.152.9.7 with SMTP id v7mr35180961laa.40.1417023157391; Wed, 26 Nov 2014 09:32:37 -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.184.201 with SMTP id ew9csp664123lbc; Wed, 26 Nov 2014 09:32:36 -0800 (PST) X-Received: by 10.170.150.213 with SMTP id r204mr36992958ykc.48.1417023156208; Wed, 26 Nov 2014 09:32:36 -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 v7si5807552qap.12.2014.11.26.09.32.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 26 Nov 2014 09:32:36 -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 1XtgS9-0003MH-Hp; Wed, 26 Nov 2014 17:32:33 +0000 Received: from mail-la0-f44.google.com ([209.85.215.44]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtgS2-0003Ls-4X for lng-odp@lists.linaro.org; Wed, 26 Nov 2014 17:32:26 +0000 Received: by mail-la0-f44.google.com with SMTP id ge10so2889064lab.3 for ; Wed, 26 Nov 2014 09:32:20 -0800 (PST) X-Received: by 10.112.182.72 with SMTP id ec8mr34238435lbc.87.1417023140022; Wed, 26 Nov 2014 09:32:20 -0800 (PST) Received: from localhost.localdomain ([188.92.105.210]) by mx.google.com with ESMTPSA id l1sm311644lae.11.2014.11.26.09.32.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 09:32:19 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 26 Nov 2014 20:31:57 +0300 Message-Id: <1417023121-19867-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCH 1/5] implement odp_bool type 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.217.176 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 To have compatibility with other compilers define custom booalen type for odp. Signed-off-by: Maxim Uvarov --- platform/linux-generic/include/api/odp_std_types.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/include/api/odp_std_types.h b/platform/linux-generic/include/api/odp_std_types.h index b12a2f3..e1f3971 100644 --- a/platform/linux-generic/include/api/odp_std_types.h +++ b/platform/linux-generic/include/api/odp_std_types.h @@ -27,9 +27,10 @@ extern "C" { #include #include - - - +/** odp_bool type used for compatibility of boolean type in + * different compilers. + */ +typedef uint32_t odp_bool; #ifdef __cplusplus }