Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site edai.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!vax135!ukc!edcaad!edee!edai!ok From: ok@edai.UUCP (Richard O'Keefe) Newsgroups: net.lang.c Subject: Re: void avoidance Message-ID: <3913@edai.UUCP> Date: Mon, 17-Oct-83 00:11:30 EDT Article-I.D.: edai.3913 Posted: Mon Oct 17 00:11:30 1983 Date-Received: Tue, 11-Oct-83 05:42:45 EDT References: <5927@watmath.UUCP> <2034@rabbit.UUCP> Organization: Art.Intelligence,Edin.Univ. Lines: 13 As far as I know, the point of writing #define Ignore (void) Ignore sprintf(....); is to stop lint squawking about a function returning a value which is sometimes ignored. By the way, I've run into a problem with 'void'. The Berkeley compiler seems to get confused with compound types based on void. typedef void (*fnptr)(); doesn't always work properly, mainly in initialisations.