DragonFly BSD
DragonFly submit List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: minor emu10k1.c cleanup


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 Feb 2004 17:34:18 +0100

On Sun, Feb 22, 2004 at 07:31:43PM -0800, Chris Pressey wrote:
> Hi,
> 
> Basically I got annoyed at the "trigraphs encountered" warning I was
> getting during buildkernel, so I found and eliminated them.  Turns out
> they were caused by the sequence "??)" embedded in a comment.  It might
> be more elegant to change the compiler to ignore (apparent) trigraphs in
> comments, but also a lot more work, so I just added some spaces so they
> don't trigger the warning.

Well, I have replaced some already with (?).

> While here I made some small style-related changes (test for a null
> pointer should be explicit...)

I changed that by adding a default case of return ENXIO.

> I'll try to figure out what's up with the code I marked XXX, by looking
> through CVS logs, but I don't have one of these soundcards to test it
> with so I'm not too hopeful.

Send me the answer of the FreeBSD maintainer.

Joerg

> Thanks,
> -Chris



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