Subject: Re: CVS commit: src/sys/sys
To: David Laight <david@l8s.co.uk>
From: Dave Huang <khym@azeotrope.org>
List: source-changes
Date: 10/21/2003 04:08:34
On Tue, Oct 21, 2003 at 09:46:26AM +0100, David Laight wrote:
> I don't believe that is valid portable C.

I don't have the standard around, but the comp.lang.c FAQ says it's fine:
http://www.eskimo.com/~scs/C-faq/q5.6.html

> What about the comparison of function pointers?

Comparing them to NULL? That still works...
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++