Re: compiler warnings on the buildfarm

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: Kris Jurka <books(at)ejurka(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Gorm(dot)Andersen(at)Sun(dot)COM
Subject: Re: compiler warnings on the buildfarm
Date: 2007-07-13 13:40:53
Message-ID: 469780E5.80502@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-13 13:46:32 Re: pgstat_drop_relation bugfix
Previous Message Zdenek Kotala 2007-07-13 13:35:14 Re: compiler warnings on the buildfarm