Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Adjust setprop() prototype to match t...



details:   https://anonhg.NetBSD.org/src/rev/b6d9532df035
branches:  trunk
changeset: 499276:b6d9532df035
user:      pk <pk%NetBSD.org@localhost>
date:      Wed Nov 15 16:14:13 2000 +0000

description:
Adjust setprop() prototype to match the one in dev/ofw/openfirm.h

diffstat:

 sys/arch/sparc/include/promlib.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c5890bc6314d -r b6d9532df035 sys/arch/sparc/include/promlib.h
--- a/sys/arch/sparc/include/promlib.h  Wed Nov 15 16:13:10 2000 +0000
+++ b/sys/arch/sparc/include/promlib.h  Wed Nov 15 16:14:13 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: promlib.h,v 1.2 1999/05/03 16:14:02 christos Exp $ */
+/*     $NetBSD: promlib.h,v 1.3 2000/11/15 16:14:13 pk Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -106,7 +106,7 @@
        /* Device node properties */
        int     (*po_getproplen) __P((int node, char *name));
        int     (*po_getprop) __P((int node, char *name, void *, int));
-       int     (*po_setprop) __P((int node, char *name, void *, int));
+       int     (*po_setprop) __P((int node, char *name, const void *, int));
        char    *(*po_nextprop) __P((int node, char *name));
 
        int     (*po_finddevice) __P((char *name));



Home | Main Index | Thread Index | Old Index