bug-cfengine
[Top][All Lists]
Advanced

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

Re: Void functions returning NULL


From: Mark . Burgess
Subject: Re: Void functions returning NULL
Date: Fri, 13 Sep 2002 11:33:56 +0200 (MET DST)

Help! You cannot just remove these return NULL lines, they need
to be replaced with return!!

M

On 13 Sep, Alexander Mattausch wrote:
> address@hidden schrieb:
> 
>>The HPUX compiler is especially tough on these messages. Many of
>>them are caused by inconsistencies in datatypes between platforms.
>>The return values were a cut and paste error that have no effect
>>on the program, since the function is void. Mixing void and void*
>>is potentially more serious - can you be specific?
>>
> I had a similar problem on DEC Unix, the compiler failed in cfservd.c. I 
> have included a patch that makes cfservd.c compile (and run) with the 
> native compiler on DEC Unix.
> 
> This patch also changes protoype.h - it comments CheckDFSSACE. Without 
> that cfengine does not compile.
> 
> HTH
> Alex
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]