Re: compiler warnings on the buildfarm - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: compiler warnings on the buildfarm
Date
Msg-id 469780E5.80502@enterprisedb.com
Whole thread Raw
In response to Re: compiler warnings on the buildfarm  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: compiler warnings on the buildfarm
Re: compiler warnings on the buildfarm
List pgsql-hackers
Zdenek Kotala wrote:
> If I look there 
> http://www.opengroup.org/onlinepubs/008329799/chap5.htm#tagcjh_06
> 
> in "Call Back Information" section. The structure is defined as
> 
>     struct pam_conv{ int (*conv) (int, struct pam_message **, struct 
> pam_response **, void *); void *appdata_ptr; };
> 
> 
> I don't see any "const" keyword there.

Right after that:

>      where int conv(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); 

How confusing...

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: compiler warnings on the buildfarm
Next
From: Zdenek Kotala
Date:
Subject: Re: compiler warnings on the buildfarm