Source-Changes archive

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

Re: CVS commit: src/sys/arch/x68k



he%netbsd.org@localhost 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



Home | Main Index | Thread Index | Old Index