Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/include constify some string arguments and r...
details: https://anonhg.NetBSD.org/src/rev/dd140dba8b98
branches: trunk
changeset: 581799:dd140dba8b98
user: nathanw <nathanw%NetBSD.org@localhost>
date: Sun Jun 05 20:05:48 2005 +0000
description:
constify some string arguments and return values.
diffstat:
sys/arch/macppc/include/autoconf.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 8afce1ef7f0c -r dd140dba8b98 sys/arch/macppc/include/autoconf.h
--- a/sys/arch/macppc/include/autoconf.h Sun Jun 05 20:04:47 2005 +0000
+++ b/sys/arch/macppc/include/autoconf.h Sun Jun 05 20:05:48 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.h,v 1.6 2004/03/24 19:42:04 matt Exp $ */
+/* $NetBSD: autoconf.h,v 1.7 2005/06/05 20:05:48 nathanw Exp $ */
/*-
* Copyright (C) 1998 Internet Research Institute, Inc.
@@ -35,7 +35,7 @@
#define _MACHINE_AUTOCONF_H_
struct confargs {
- char *ca_name;
+ const char *ca_name;
u_int ca_node;
int ca_nreg;
u_int *ca_reg;
@@ -47,12 +47,12 @@
};
/* there are in locore.S */
-void ofbcopy __P((void *, void *, size_t));
+void ofbcopy __P((const void *, void *, size_t));
int badaddr __P((void *, int));
/* these are in autoconf.c */
int getnodebyname __P((int, const char *));
-int OF_interpret __P((char *cmd, int nreturns, ...));
+int OF_interpret __P((const char *cmd, int nreturns, ...));
/* these are in clock.c */
void calc_delayconst __P((void));
@@ -72,7 +72,7 @@
void init_interrupt __P((void));
void *intr_establish __P((int, int, int, int (*)(void *), void *));
void intr_disestablish __P((void *));
-char *intr_typename __P((int));
+const char *intr_typename __P((int));
/* these are in dev/akbd.c */
int kbd_intr __P((void *));
Home |
Main Index |
Thread Index |
Old Index