Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id F2F269FC1A7 for ; Fri, 13 Jul 2007 10:41:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 19451-09 for ; Fri, 13 Jul 2007 10:41:43 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id D05439FC1D0 for ; Fri, 13 Jul 2007 10:41:52 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so619897ugf for ; Fri, 13 Jul 2007 06:41:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=Icu8gALfVrBKcWBcxUaQ5SJbCe/p1Y1rBet7U3Y8BPx5TqLOEJDwEVnp9gkA6G6FjziUlFrIsMTl3ZN24gFJnYAswgUzh5UboJ5H/Kh05cMrag1i59jWsjUoyjQ/RQN1xFIQ0vgC1T08s2YepmdkQHE2bfHnfZJ6YYCtmoPk1h4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=UQetngGk21ybpTEt3psMGLjUIF/1vz9y0q6PZRnbJR5dzvaJNCLLne9DSz+3z4+Jzx5z0ms2n+wJs2WY97eadZlBGVxhbqhT0of/bgvC5qTZ2muxJRl4ze8TVFrtqDtZWj5eSSGdg0pxLV4GH1JVLbE/L/n45hiril6OdDLeniI= Received: by 10.67.27.3 with SMTP id e3mr2010229ugj.1184334106727; Fri, 13 Jul 2007 06:41:46 -0700 (PDT) Received: from ?172.24.32.109? ( [62.232.55.118]) by mx.google.com with ESMTPS id 27sm3050996ugp.2007.07.13.06.41.44 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Jul 2007 06:41:44 -0700 (PDT) Message-ID: <469780E5.80502@enterprisedb.com> Date: Fri, 13 Jul 2007 14:40:53 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Zdenek Kotala CC: Kris Jurka , Tom Lane , Stefan Kaltenbrunner , PostgreSQL-development , Gorm.Andersen@Sun.COM Subject: Re: compiler warnings on the buildfarm 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> In-Reply-To: <46977F92.7000000@sun.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/385 X-Sequence-Number: 105300 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