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/7713ceff416f
branches:  trunk
changeset: 452310:7713ceff416f
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 13c5d3266bdd -r 7713ceff416f 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