Re: warnings about signal() calls on HP

Mats Wichmann <[email protected]> Wed, 17 Jul 2002 13:44:48 -0600
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
 >  warning: function declaration isn't a prototype
 >
 >These are all about totally vanilla calls to signal(), e.g.
 >
 >	signal(SIGPIPE, SIG_IGN);
 >
 >Is there a way to shut the compiler up that doesn't either uglify the
 >code or suppress other warnings?

These aren't about the calls to signal, they're about
the definition of SIG_IGN and friends, which should look
like PyOS_sighandler_t, but probably doesn't on HP/UX.