Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/loadkmap Make local functions static.



details:   https://anonhg.NetBSD.org/src/rev/9234afe73c95
branches:  trunk
changeset: 809959:9234afe73c95
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Aug 12 17:53:03 2015 +0000

description:
Make local functions static.

diffstat:

 sys/arch/atari/stand/loadkmap/loadkmap.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 068c42939744 -r 9234afe73c95 sys/arch/atari/stand/loadkmap/loadkmap.c
--- a/sys/arch/atari/stand/loadkmap/loadkmap.c  Wed Aug 12 14:52:35 2015 +0000
+++ b/sys/arch/atari/stand/loadkmap/loadkmap.c  Wed Aug 12 17:53:03 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loadkmap.c,v 1.10 2011/05/20 01:29:30 christos Exp $   */
+/*     $NetBSD: loadkmap.c,v 1.11 2015/08/12 17:53:03 tsutsui Exp $    */
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -11,8 +11,8 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-int load_kmap(const char *, int);
-int dump_kmap(void); 
+static int load_kmap(const char *, int);
+static int dump_kmap(void); 
 
 int
 main(int argc, char *argv[])
@@ -41,7 +41,7 @@
 }
 
 
-int
+static int
 load_kmap(const char *file, int set_sysmap)
 {
        int     fd;
@@ -66,7 +66,7 @@
        return 1;
 }
 
-int
+static int
 dump_kmap(void)
 {
        char buf[sizeof (struct kbdmap)];



Home | Main Index | Thread Index | Old Index