Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/stand/altboot make this compile again



details:   https://anonhg.NetBSD.org/src/rev/781c978d3c52
branches:  trunk
changeset: 842349:781c978d3c52
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 26 22:04:12 2019 +0000

description:
make this compile again

diffstat:

 sys/arch/sandpoint/stand/altboot/main.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 446275bb4862 -r 781c978d3c52 sys/arch/sandpoint/stand/altboot/main.c
--- a/sys/arch/sandpoint/stand/altboot/main.c   Wed Jun 26 20:28:59 2019 +0000
+++ b/sys/arch/sandpoint/stand/altboot/main.c   Wed Jun 26 22:04:12 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.30 2019/06/26 00:54:04 pgoyette Exp $ */
+/* $NetBSD: main.c,v 1.31 2019/06/26 22:04:12 christos Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -89,6 +89,7 @@
 uint32_t kmodloadp;
 int modules_enabled = 0;
 
+#define MAXMODNAME 32
 void module_add(const char *);
 void module_add_split(const char *);
 void module_load(const char *);
@@ -427,7 +428,7 @@
 /*
  * Add a /-separated list of module names to the boot list
  */
-static void
+void
 module_add_split(const char *name)
 {
        char mod_name[MAXMODNAME];



Home | Main Index | Thread Index | Old Index