Message ID | 20121019210855.53119.32569.stgit@seurat.1015granger.net |
---|---|
State | Accepted |
Headers | show
Return-Path: <fedfs-utils-devel-bounces@oss.oracle.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "rcsinet15.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 923A52C0134 for <incoming@patchwork.ozlabs.org>; Sat, 20 Oct 2012 08:09:03 +1100 (EST) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q9JL90c8002155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 19 Oct 2012 21:09:01 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q9JL90Hr000966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Oct 2012 21:09:00 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <fedfs-utils-devel-bounces@oss.oracle.com>) id 1TPJoR-0007Iz-Um; Fri, 19 Oct 2012 14:08:59 -0700 Received: from acsinet21.oracle.com ([141.146.126.237]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <chucklever@gmail.com>) id 1TPJoQ-0007Is-Ns for fedfs-utils-devel@oss.oracle.com; Fri, 19 Oct 2012 14:08:58 -0700 Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q9JL8wTa000925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <fedfs-utils-devel@oss.oracle.com>; Fri, 19 Oct 2012 21:08:58 GMT Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) by rcsinet11.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q9JL8mUF008452 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for <fedfs-utils-devel@oss.oracle.com>; Fri, 19 Oct 2012 21:08:57 GMT Received: by mail-ie0-f171.google.com with SMTP id s9so1363018iec.2 for <fedfs-utils-devel@oss.oracle.com>; Fri, 19 Oct 2012 14:08:57 -0700 (PDT) Received: by 10.50.140.105 with SMTP id rf9mr10037591igb.23.1350680937486; Fri, 19 Oct 2012 14:08:57 -0700 (PDT) Received: from seurat.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net. [99.26.161.222]) by mx.google.com with ESMTPS id gs6sm2318692igc.11.2012.10.19.14.08.56 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2012 14:08:56 -0700 (PDT) From: Chuck Lever <chuck.lever@oracle.com> To: fedfs-utils-devel@oss.oracle.com Date: Fri, 19 Oct 2012 17:08:55 -0400 Message-ID: <20121019210855.53119.32569.stgit@seurat.1015granger.net> In-Reply-To: <20121019210357.53119.28925.stgit@seurat.1015granger.net> References: <20121019210357.53119.28925.stgit@seurat.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Flow-Control-Info: class=Default reputation=ipRepBelow100 ip=209.85.223.171 ct-class=R5 ct-vol1=-97 ct-vol2=9 ct-vol3=8 ct-risk=49 ct-spam1=78 ct-spam2=8 ct-bulk=6 rcpts=1 size=711 X-MM-CT-Classification: not spam X-MM-CT-RefID: str=0001.0A090203.5081C169.00EE,ss=1,re=0.000,fgs=0 Subject: [fedfs-utils] [PATCH 09/11] fedfs-map-nfs4: Silence a sparse warning X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers <fedfs-utils-devel@oss.oracle.com> List-Id: fedfs-utils Developers <fedfs-utils-devel.oss.oracle.com> List-Unsubscribe: <https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel>, <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=unsubscribe> List-Archive: <http://oss.oracle.com/pipermail/fedfs-utils-devel> List-Post: <mailto:fedfs-utils-devel@oss.oracle.com> List-Help: <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=help> List-Subscribe: <https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel>, <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: acsinet21.oracle.com [141.146.126.237] |
diff --git a/src/mount/fedfs-map-nfs4.c b/src/mount/fedfs-map-nfs4.c index 8376b6b..38d930d 100644 --- a/src/mount/fedfs-map-nfs4.c +++ b/src/mount/fedfs-map-nfs4.c @@ -70,7 +70,7 @@ */ #define FEDFS_NFS4_EXPORTPATH_RW "/.domainroot-write" -char *progname; +static char *progname; /** * Display usage message
Address this sparse warning: fedfs-map-nfs4.c:73:6: warning: symbol 'progname' was not declared. Should it be static? Introduced by commit 4bd89735 "mount: Add automounter program map for FedFS" September 3, 2011. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- src/mount/fedfs-map-nfs4.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)