Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: news.software.nntp Subject: Re: NNTP/RRN help needed Message-ID: <2307@auspex.auspex.com> Date: 29 Jul 89 02:33:52 GMT References: <1391@bnlux0.bnl.gov> Reply-To: guy@auspex.auspex.com (Guy Harris) Distribution: na Organization: Auspex Systems, Santa Clara Lines: 11 >Problem #2: In util.c, signal is defined as: > int (*signal())(); It shouldn't be declaring "signal()" at all; it should simply be including and letting that include file declare it. This avoids barfage when you try to make your program work on both systems with the old-style notion that signal handlers return "int" and systems with the new-style notion that they return "void". (You may still get warnings from some compilers if you save the return value of "signal()" away in a variable declared in a different style, but those can generally be lived with.)