From patchwork Wed Feb 25 09:30:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 45030 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 3A1E02142A for ; Wed, 25 Feb 2015 09:30:50 +0000 (UTC) Received: by lbiz11 with SMTP id z11sf1902175lbi.2 for ; Wed, 25 Feb 2015 01:30:48 -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=Mr6ft9Tw77YIRDD2aufFvGeK7o5r84EQXk0FadIOl/E=; b=TnxHZlHJK1taTJXlM+WrZPKZwFbxhc5ZmAvh5SWrLfdTMGoaEAfFkg8DyD28cdb9i2 eSfwd6AqIlJJ5Cjz4Wmncw6NdCrggMTHW5zXwj4XA42Rvw01566LzCLe39bJ9YSIbkoG ymhl72mT76N7Fq6m2hShDZbKnbuMPMB6Hh7oWdZRt2LzyuMPYwPv9X5UjJRa0CPXeZd2 aBqef0uolImeiFxVN5aUzZ8tKLlM5v0CCDYvBaIsGtVBeK4+kk1BSoa8y4v6P9nMX8VT zh1yCsYmEi3iHdZkTfZYWAC2rEzu3o34NVnCVYaqhbPAUbVwZDH1AGx2B6RBS0ZP0AF2 LEdg== X-Gm-Message-State: ALoCoQlLR2UoCcqdcUOX6dlTxHiHAhBj4C4PZzstpTmak3PqoYGRIFjCq9lPFbe1IZqi3IiRFB9/ X-Received: by 10.112.162.135 with SMTP id ya7mr321989lbb.14.1424856648854; Wed, 25 Feb 2015 01:30:48 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.169 with SMTP id s9ls267803laa.8.gmail; Wed, 25 Feb 2015 01:30:48 -0800 (PST) X-Received: by 10.112.183.130 with SMTP id em2mr1797449lbc.53.1424856648572; Wed, 25 Feb 2015 01:30:48 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id yg5si10934914lab.157.2015.02.25.01.30.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 01:30:48 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by labgf13 with SMTP id gf13so2543248lab.9 for ; Wed, 25 Feb 2015 01:30:48 -0800 (PST) X-Received: by 10.112.135.196 with SMTP id pu4mr1874642lbb.41.1424856648049; Wed, 25 Feb 2015 01:30:48 -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 h5csp2497575lbj; Wed, 25 Feb 2015 01:30:47 -0800 (PST) X-Received: by 10.229.65.8 with SMTP id g8mr5229952qci.15.1424856646905; Wed, 25 Feb 2015 01:30:46 -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 f82si29266413qhe.123.2015.02.25.01.30.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 01:30:46 -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 1YQYIk-0006ID-FG; Wed, 25 Feb 2015 09:30:42 +0000 Received: from mail-lb0-f182.google.com ([209.85.217.182]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQYIe-0006I8-JT for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 09:30:36 +0000 Received: by lbiz11 with SMTP id z11so2539578lbi.8 for ; Wed, 25 Feb 2015 01:30:30 -0800 (PST) X-Received: by 10.112.185.66 with SMTP id fa2mr1815312lbc.117.1424856630140; Wed, 25 Feb 2015 01:30:30 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id o2sm6164933lag.47.2015.02.25.01.30.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 01:30:29 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 11:30:21 +0200 Message-Id: <1424856621-26539-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: weak: move stdarg.h include from odp_debug_internal.h 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.215.52 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 stdarg.h is not needed in odp_debug_internal.h, but instead should be included in odp_weak.c. The change is needed to be able to reuse odp_weak.c from other platforms. Signed-off-by: Taras Kondratiuk Reviewed-by: Bill Fischofer --- platform/linux-generic/include/odp_debug_internal.h | 1 - platform/linux-generic/odp_weak.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/include/odp_debug_internal.h b/platform/linux-generic/include/odp_debug_internal.h index ff43ffc..d9ac812 100644 --- a/platform/linux-generic/include/odp_debug_internal.h +++ b/platform/linux-generic/include/odp_debug_internal.h @@ -18,7 +18,6 @@ #include #include -#include #include #include #ifdef __cplusplus diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c index 9dc3a4a..9641f45 100644 --- a/platform/linux-generic/odp_weak.c +++ b/platform/linux-generic/odp_weak.c @@ -9,6 +9,8 @@ #include #include +#include + ODP_WEAK_SYMBOL int odp_override_log(odp_log_level_e level ODP_UNUSED, const char *fmt, ...) {