Subject: Re: CVS commit: src/sys/arch/x68k
To: None <he@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 06/13/2005 20:11:17
he@netbsd.org wrote:

> Modified Files:
> 	src/sys/arch/x68k/dev: mfp.c
> 	src/sys/arch/x68k/x68k: autoconf.c
> 
> Log Message:
> Make this compile by adding __UNCONST() when calling config_found() or
> similar functions with a text constant as the second argument.

IMHO it's better to wrap these text constants with struct xxx_attach_args
as defined dreamcast/include/autoconf.h and dreamcast/dreamcast/mainbus.c
rather than such sprinkled __UNCONST() to pass opaque void * args.
---
Izumi Tsutsui