Module Name: src
Committed By: christos
Date: Wed Jun 26 22:04:12 UTC 2019
Modified Files:
src/sys/arch/sandpoint/stand/altboot: main.c
Log Message:
make this compile again
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sandpoint/stand/altboot/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sandpoint/stand/altboot/main.c
diff -u src/sys/arch/sandpoint/stand/altboot/main.c:1.30 src/sys/arch/sandpoint/stand/altboot/main.c:1.31
--- src/sys/arch/sandpoint/stand/altboot/main.c:1.30 Tue Jun 25 20:54:04 2019
+++ src/sys/arch/sandpoint/stand/altboot/main.c Wed Jun 26 18:04:12 2019
@@ -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 @@ char module_base[80];
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 @@ bi_add(void *new, int type, int size)
/*
* Add a /-separated list of module names to the boot list
*/
-static void
+void
module_add_split(const char *name)
{
char mod_name[MAXMODNAME];