[Home]

Summary:ASTERISK-03946: application PGSQL() fails to build due to conflicting types
Reporter:heison (heison)Labels:
Date Opened:2005-04-16 00:45:24Date Closed:2008-01-15 15:34:06.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_sql_postgres.c-patch
Description:app_sql_postgres.c has conflicting types for 'pbx_builtin_setvar_helper' as already defined in pbx.h

The declaration in app_sql_postgres.c is missing 'const' in the chars.

This is reproducible with APPS+=app_sql_postgres.so in apps/Makefile.

pbx*CLI> show version
Asterisk CVS-HEAD-04/16/05-01:11:48 built by root@pbx.ykz.zealnetworks.com on a i686 running Linux



Comments:By: Mark Spencer (markster) 2005-04-16 03:55:54

I just removed the declaration altogether, as it serves no purpose.

By: Russell Bryant (russell) 2005-05-11 22:27:40

fixed in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:31:50.000-0600

Repository: asterisk
Revision: 5480

U   trunk/apps/app_sql_postgres.c

------------------------------------------------------------------------
r5480 | markster | 2008-01-15 15:31:49 -0600 (Tue, 15 Jan 2008) | 2 lines

Remove useless declaration (bug ASTERISK-3946)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5480

By: Digium Subversion (svnbot) 2008-01-15 15:34:06.000-0600

Repository: asterisk
Revision: 5634

U   branches/v1-0/apps/app_sql_postgres.c

------------------------------------------------------------------------
r5634 | russell | 2008-01-15 15:34:06 -0600 (Tue, 15 Jan 2008) | 2 lines

remove unnecessary declaration (bug ASTERISK-3946)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5634