Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fsck_ext2fs Add static to a private function.



details:   https://anonhg.NetBSD.org/src/rev/4c8ed55f05c7
branches:  trunk
changeset: 768019:4c8ed55f05c7
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Aug 06 16:39:40 2011 +0000

description:
Add static to a private function.

diffstat:

 sbin/fsck_ext2fs/pass5.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r bbb921158d8d -r 4c8ed55f05c7 sbin/fsck_ext2fs/pass5.c
--- a/sbin/fsck_ext2fs/pass5.c  Sat Aug 06 16:34:40 2011 +0000
+++ b/sbin/fsck_ext2fs/pass5.c  Sat Aug 06 16:39:40 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pass5.c,v 1.17 2009/10/19 18:41:08 bouyer Exp $        */
+/*     $NetBSD: pass5.c,v 1.18 2011/08/06 16:39:40 dholland Exp $      */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -58,7 +58,7 @@
 #if 0
 static char sccsid[] = "@(#)pass5.c    8.6 (Berkeley) 11/30/94";
 #else
-__RCSID("$NetBSD: pass5.c,v 1.17 2009/10/19 18:41:08 bouyer Exp $");
+__RCSID("$NetBSD: pass5.c,v 1.18 2011/08/06 16:39:40 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -77,7 +77,7 @@
 #include "extern.h"
 
 
-void print_bmap(u_char *,u_int32_t);
+static void print_bmap(u_char *,u_int32_t);
 
 void
 pass5(void)
@@ -262,7 +262,7 @@
        free(bbmap);
 }
 
-void 
+static void 
 print_bmap(u_char *map, u_int32_t size)
 {
        uint32_t i, j;



Home | Main Index | Thread Index | Old Index