Subject: Re: standard DPRINTF
To: ITOH Yasufumi <itohy@netbsd.org>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-kern
Date: 03/28/2007 21:30:54
On Wed, 28 Mar 2007, ITOH Yasufumi wrote:

> Hello,
>
> In article <1175027504.716736.1914.nullmailer@galant.ukfsn.org>
> plunky@rya-online.net writes:
>
> >    I think this standardized DPRINTF API is in some kind of shape now, any
> > objections or comments?
>
> I think the names DEBUG* and DPRINT* are too generic.
> Please use different names to avoid unnecessary conflicts with other's code.

surely the point of DPRINT is that it *is* generic? many places in the
code already use this, and I would intend to convert them to use
<sys/debug.h> when I can. So far as I can tell, there is no conflict, none
of the code that uses DPRINTF currently includes <sys/debug.h>

I used DEBUGLIST since it is already available for use, for just about
exactly the same reason ("debug in these files")

However, if you have a preferred names, please suggest..?

iain