From patchwork Wed Oct 17 00:28:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Phillips X-Patchwork-Id: 191933 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EBB652C00A6 for ; Wed, 17 Oct 2012 11:35:34 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E6CBD4A28C; Wed, 17 Oct 2012 02:34:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eAdqSK7cfhe7; Wed, 17 Oct 2012 02:34:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 274074A2AF; Wed, 17 Oct 2012 02:32:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5BAF34A21E for ; Wed, 17 Oct 2012 02:31:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FqRDuufsvr78 for ; Wed, 17 Oct 2012 02:31:53 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe004.messaging.microsoft.com [216.32.180.187]) by theia.denx.de (Postfix) with ESMTPS id A85FA4A22D for ; Wed, 17 Oct 2012 02:31:32 +0200 (CEST) Received: from mail16-co1-R.bigfish.com (10.243.78.236) by CO1EHSOBE001.bigfish.com (10.243.66.64) with Microsoft SMTP Server id 14.1.225.23; Wed, 17 Oct 2012 00:31:27 +0000 Received: from mail16-co1 (localhost [127.0.0.1]) by mail16-co1-R.bigfish.com (Postfix) with ESMTP id 6BE653A010A for ; Wed, 17 Oct 2012 00:31:27 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202h1d1ah1d2ahzz8275bhz2dh2a8h668h839hd24he5bhf0ah107ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1155h) Received: from mail16-co1 (localhost.localdomain [127.0.0.1]) by mail16-co1 (MessageSwitch) id 1350433880314665_16853; Wed, 17 Oct 2012 00:31:20 +0000 (UTC) Received: from CO1EHSMHS019.bigfish.com (unknown [10.243.78.231]) by mail16-co1.bigfish.com (Postfix) with ESMTP id 4A646500070 for ; Wed, 17 Oct 2012 00:31:20 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS019.bigfish.com (10.243.66.29) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 17 Oct 2012 00:31:20 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.309.3; Wed, 17 Oct 2012 00:31:19 +0000 Received: from x9.am.freescale.net (x9.am.freescale.net [10.82.120.9]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q9H0VGkN011419; Tue, 16 Oct 2012 17:31:18 -0700 From: Kim Phillips To: Date: Tue, 16 Oct 2012 19:28:25 -0500 Message-ID: <1350433728-24120-10-git-send-email-kim.phillips@freescale.com> X-Mailer: git-send-email 1.7.12.3 In-Reply-To: <1350433728-24120-1-git-send-email-kim.phillips@freescale.com> References: <1350433728-24120-1-git-send-email-kim.phillips@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: Kim Phillips Subject: [U-Boot] [PATCH 09/32] include/common.h: sparse fix X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de powerpc sparse builds yield: include/common.h:356:22: error: marked inline, but without a definition the unknown-reason inlining without a definition is considered obsolete given it was part of the 2002 initial commit, and no arm version was 'fixed.' Signed-off-by: Kim Phillips --- include/common.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/common.h b/include/common.h index b23e90b..5e3c5ee 100644 --- a/include/common.h +++ b/include/common.h @@ -341,13 +341,9 @@ char *getenv (const char *); int getenv_f (const char *name, char *buf, unsigned len); ulong getenv_ulong(const char *name, int base, ulong default_val); int saveenv (void); -#ifdef CONFIG_PPC /* ARM version to be fixed! */ -int inline setenv (const char *, const char *); -#else int setenv (const char *, const char *); int setenv_ulong(const char *varname, ulong value); int setenv_addr(const char *varname, const void *addr); -#endif /* CONFIG_PPC */ #ifdef CONFIG_ARM # include # include