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 sprinkle const
details: https://anonhg.NetBSD.org/src/rev/36557d823cfe
branches: trunk
changeset: 325773:36557d823cfe
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Jan 05 21:10:50 2014 +0000
description:
sprinkle const
diffstat:
sys/arch/sandpoint/stand/altboot/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r beca9fdd50e2 -r 36557d823cfe sys/arch/sandpoint/stand/altboot/main.c
--- a/sys/arch/sandpoint/stand/altboot/main.c Sun Jan 05 21:09:33 2014 +0000
+++ b/sys/arch/sandpoint/stand/altboot/main.c Sun Jan 05 21:10:50 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.22 2012/12/25 17:02:35 phx Exp $ */
+/* $NetBSD: main.c,v 1.23 2014/01/05 21:10:50 jakllsch Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -88,8 +88,8 @@
uint32_t kmodloadp;
int modules_enabled = 0;
-void module_add(char *);
-void module_load(char *);
+void module_add(const char *);
+void module_load(const char *);
int module_open(struct boot_module *);
void main(int, char **, char *, char *);
@@ -421,7 +421,7 @@
}
void
-module_add(char *name)
+module_add(const char *name)
{
struct boot_module *bm, *bmp;
@@ -451,7 +451,7 @@
#define alignpg(x) (((x)+PAGE_SIZE-1) & ~(PAGE_SIZE-1))
void
-module_load(char *kernel_path)
+module_load(const char *kernel_path)
{
struct boot_module *bm;
struct bi_modulelist_entry *bi;
Home |
Main Index |
Thread Index |
Old Index