From owner-svn-src-all@FreeBSD.ORG Tue Jun 23 23:30:57 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 183AA10656DB; Tue, 23 Jun 2009 23:30:57 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 04ED58FC08; Tue, 23 Jun 2009 23:30:57 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5NNUuNp095002; Tue, 23 Jun 2009 23:30:56 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5NNUuhZ094996; Tue, 23 Jun 2009 23:30:56 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <200906232330.n5NNUuhZ094996@svn.freebsd.org> From: Xin LI Date: Tue, 23 Jun 2009 23:30:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194795 - in head/bin: chflags chmod df hostname X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 23:30:57 -0000 Author: delphij Date: Tue Jun 23 23:30:56 2009 New Revision: 194795 URL: http://svn.freebsd.org/changeset/base/194795 Log: Staticify internal routines. Modified: head/bin/chflags/chflags.c head/bin/chmod/chmod.c head/bin/df/df.c head/bin/hostname/hostname.c Modified: head/bin/chflags/chflags.c ============================================================================== --- head/bin/chflags/chflags.c Tue Jun 23 23:27:35 2009 (r194794) +++ head/bin/chflags/chflags.c Tue Jun 23 23:30:56 2009 (r194795) @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -196,7 +196,7 @@ main(int argc, char *argv[]) exit(rval); } -void +static void usage(void) { (void)fprintf(stderr, Modified: head/bin/chmod/chmod.c ============================================================================== --- head/bin/chmod/chmod.c Tue Jun 23 23:27:35 2009 (r194794) +++ head/bin/chmod/chmod.c Tue Jun 23 23:30:56 2009 (r194795) @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -212,7 +212,7 @@ done: argv += optind; exit(rval); } -void +static void usage(void) { (void)fprintf(stderr, Modified: head/bin/df/df.c ============================================================================== --- head/bin/df/df.c Tue Jun 23 23:27:35 2009 (r194794) +++ head/bin/df/df.c Tue Jun 23 23:30:56 2009 (r194795) @@ -476,7 +476,7 @@ prtstat(struct statfs *sfsp, struct maxw (void)printf("\n"); } -void +static void addstat(struct statfs *totalfsp, struct statfs *statfsp) { uint64_t bsize; Modified: head/bin/hostname/hostname.c ============================================================================== --- head/bin/hostname/hostname.c Tue Jun 23 23:27:35 2009 (r194794) +++ head/bin/hostname/hostname.c Tue Jun 23 23:30:56 2009 (r194795) @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -96,7 +96,7 @@ main(int argc, char *argv[]) exit(0); } -void +static void usage(void) {