Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C53DB9FC185 for ; Fri, 13 Jul 2007 10:50:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 05197-10 for ; Fri, 13 Jul 2007 10:49:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gmp-ea-fw-1.sun.com (gmp-ea-fw-1.sun.com [192.18.1.36]) by postgresql.org (Postfix) with ESMTP id 658F19FC188 for ; Fri, 13 Jul 2007 10:50:01 -0300 (ADT) Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l6DDnsn1029510 for ; Fri, 13 Jul 2007 13:49:55 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JL400M01EEHNX00@d1-emea-09.sun.com> (original mail from Zdenek.Kotala@Sun.COM) for pgsql-hackers@postgresql.org; Fri, 13 Jul 2007 14:49:54 +0100 (BST) Received: from [129.150.120.147] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JL40056KEF5QGOV@d1-emea-09.sun.com>; Fri, 13 Jul 2007 14:49:54 +0100 (BST) Date: Fri, 13 Jul 2007 15:49:53 +0200 From: Zdenek Kotala Subject: Re: compiler warnings on the buildfarm In-reply-to: <469780E5.80502@enterprisedb.com> To: Heikki Linnakangas Cc: Kris Jurka , Tom Lane , Stefan Kaltenbrunner , PostgreSQL-development , Gorm.Andersen@Sun.COM Message-id: <46978301.5050302@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <46962BBD.5000108@kaltenbrunner.cc> <17428.1184249229@sss.pgh.pa.us> <469653BA.2040004@kaltenbrunner.cc> <20917.1184257896@sss.pgh.pa.us> <46969A2E.2020608@kaltenbrunner.cc> <16415.1184285944@sss.pgh.pa.us> <27687.1184290111@sss.pgh.pa.us> <46976F2C.4090303@sun.com> <46977F92.7000000@sun.com> <469780E5.80502@enterprisedb.com> User-Agent: Thunderbird 2.0.0.0 (X11/20070508) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/386 X-Sequence-Number: 105301 Heikki Linnakangas wrote: > 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); Ups, I overlooked it. > How confusing... Yes agree. Zdenek