From patchwork Tue Mar 12 16:16:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 227071 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 2E02B2C0091 for ; Wed, 13 Mar 2013 03:17:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 374B74A24A; Tue, 12 Mar 2013 17:17:08 +0100 (CET) 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 mvTCqPn+gU1V; Tue, 12 Mar 2013 17:17:08 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 081664A235; Tue, 12 Mar 2013 17:17:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4CFDB4A227 for ; Tue, 12 Mar 2013 17:17:03 +0100 (CET) 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 S3QWCPlOFcNj for ; Tue, 12 Mar 2013 17:17:02 +0100 (CET) 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 mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by theia.denx.de (Postfix) with ESMTPS id 41CF14A104 for ; Tue, 12 Mar 2013 17:17:00 +0100 (CET) Received: by mail-gh0-f180.google.com with SMTP id f13so1427ghb.25 for ; Tue, 12 Mar 2013 09:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=QktViitL8Skwo+I7d4p2LvGKnbPUaNR5Oasl0w8lhkk=; b=Db15VH4w/33hMZ4eOuSEJXYTTqNd6/1LkIFP8XNZwyiAQsglMEF3QeGtPoprYHM9MP 1ConnbUsTvN6ZvmsdrKy1cn0Iep3ESmcVkgLgMxGb8BLpcCrLGfBsjuCh0Yu4E46lj44 KEDRFRQ4Sez4VcTDbgt6EB51lC1IKRr79LoiATJHWG+cYscmwMzHdjTN1DIIDi73ww2L RpVs0nJmm7rpoNZh1isbB5I79XbkQ1/WoYGEjrtD/cFrJ+cXjAuhnFiz5fJW7luSphcN 2hOzHQ+w7mW/qdB4/6HQtl1CR9XKHLQqr7QesxtAsv60l9QIaF+y47I7jlzHJjonTwWG YbkA== X-Received: by 10.236.82.174 with SMTP id o34mr12740283yhe.107.1363105019293; Tue, 12 Mar 2013 09:16:59 -0700 (PDT) Received: from localhost.localdomain (cpe-065-184-250-089.ec.res.rr.com. [65.184.250.89]) by mx.google.com with ESMTPS id v43sm30332459yhm.11.2013.03.12.09.16.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 09:16:57 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 12 Mar 2013 12:16:50 -0400 Message-Id: <1363105011-24891-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Cc: Joe Hershberger Subject: [U-Boot] [PATCH 1/2] env_callback: Mark find_env_callback as static 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This is not called outside of env_callback.c so mark static, remove from Cc: Joe Hershberger Signed-off-by: Tom Rini Acked-by: Joe Hershberger --- common/env_callback.c | 2 +- include/env_callback.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/env_callback.c b/common/env_callback.c index 78ca367..78aafb4 100644 --- a/common/env_callback.c +++ b/common/env_callback.c @@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR; /* * Look up a callback function pointer by name */ -struct env_clbk_tbl *find_env_callback(const char *name) +static struct env_clbk_tbl *find_env_callback(const char *name) { struct env_clbk_tbl *clbkp; int i; diff --git a/include/env_callback.h b/include/env_callback.h index 62428d1..dfc41ae 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -67,7 +67,6 @@ struct env_clbk_tbl { int flags); }; -struct env_clbk_tbl *find_env_callback(const char *); void env_callback_init(ENTRY *var_entry); /*