Fix portability issues with functions that don't match their declaration.
Fix portability issues with functions that don't match their declaration.

lintzc/gpdb,postmind-net/postgres-xl,janebeckman/gpdb,rubikloud/gpdb,lisakowen/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,chrishajas/gpdb,adam8157/gpdb,adam8157/gpdb,yuanzhao/gpdb,Quikling/gpdb,rubikloud/gpdb,lintzc/gpdb,ashwinstar/gpdb,foyzur/gpdb,lpetrov-pivotal/gpdb,jmcatamney/gpdb,xuegang/gpdb,zeroae/postgres-xl,Quikling/gpdb,tangp3/gpdb,postmind-net/postgres-xl,pavanvd/postgres-xl,kmjungersen/PostgresXL,edespino/gpdb,Chibin/gpdb,greenplum-db/gpdb,Chibin/gpdb,atris/gpdb,Quikling/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,chrishajas/gpdb,tpostgres-projects/tPostgres,tangp3/gpdb,50wu/gpdb,xuegang/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,yazun/postgres-xl,ovr/postgres-xl,atris/gpdb,edespino/gpdb,rubikloud/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,randomtask1155/gpdb,edespino/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,randomtask1155/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,arcivanov/postgres-xl,pavanvd/postgres-xl,kaknikhil/gpdb,CraigHarris/gpdb,rubikloud/gpdb,adam8157/gpdb,yazun/postgres-xl,xuegang/gpdb,tangp3/gpdb,yazun/postgres-xl,atris/gpdb,cjcjameson/gpdb,Chibin/gpdb,tangp3/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,tangp3/gpdb,chrishajas/gpdb,xuegang/gpdb,janebeckman/gpdb,rubikloud/gpdb,yuanzhao/gpdb,Quikling/gpdb,rvs/gpdb,royc1/gpdb,lintzc/gpdb,kmjungersen/PostgresXL,CraigHarris/gpdb,greenplum-db/gpdb,zaksoup/gpdb,foyzur/gpdb,lintzc/gpdb,randomtask1155/gpdb,cjcjameson/gpdb,rvs/gpdb,50wu/gpdb,techdragon/Postgres-XL,snaga/postgres-xl,lintzc/gpdb,jmcatamney/gpdb,chrishajas/gpdb,pavanvd/postgres-xl,lintzc/gpdb,atris/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,adam8157/gpdb,lpetrov-pivotal/gpdb,adam8157/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,foyzur/gpdb,postmind-net/postgres-xl,foyzur/gpdb,jmcatamney/gpdb,lisakowen/gpdb,lisakowen/gpdb,yuanzhao/gpdb,ahachete/gpdb,Quikling/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,edespino/gpdb,edespino/gpdb,xinzweb/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,janebeckman/gpdb,chrishajas/gpdb,rvs/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,zeroae/postgres-xl,50wu/gpdb,royc1/gpdb,postmind-net/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,edespino/gpdb,50wu/gpdb,arcivanov/postgres-xl,oberstet/postgres-xl,ahachete/gpdb,xinzweb/gpdb,lisakowen/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,ahachete/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,chrishajas/gpdb,zaksoup/gpdb,tangp3/gpdb,cjcjameson/gpdb,zeroae/postgres-xl,janebeckman/gpdb,adam8157/gpdb,cjcjameson/gpdb,50wu/gpdb,atris/gpdb,zaksoup/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,0x0FFF/gpdb,kmjungersen/PostgresXL,lintzc/gpdb,xinzweb/gpdb,tpostgres-projects/tPostgres,ahachete/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,lpetrov-pivotal/gpdb,Chibin/gpdb,50wu/gpdb,zaksoup/gpdb,rvs/gpdb,royc1/gpdb,janebeckman/gpdb,rubikloud/gpdb,pavanvd/postgres-xl,randomtask1155/gpdb,lisakowen/gpdb,foyzur/gpdb,chrishajas/gpdb,snaga/postgres-xl,yuanzhao/gpdb,janebeckman/gpdb,xinzweb/gpdb,0x0FFF/gpdb,atris/gpdb,ashwinstar/gpdb,rvs/gpdb,techdragon/Postgres-XL,Chibin/gpdb,kaknikhil/gpdb,rvs/gpdb,greenplum-db/gpdb,ahachete/gpdb,janebeckman/gpdb,pavanvd/postgres-xl,jmcatamney/gpdb,cjcjameson/gpdb,lisakowen/gpdb,snaga/postgres-xl,xinzweb/gpdb,yuanzhao/gpdb,rvs/gpdb,Chibin/gpdb,xuegang/gpdb,Chibin/gpdb,foyzur/gpdb,foyzur/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,royc1/gpdb,randomtask1155/gpdb,atris/gpdb,ashwinstar/gpdb,xuegang/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,oberstet/postgres-xl,cjcjameson/gpdb,foyzur/gpdb,greenplum-db/gpdb,Chibin/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,Quikling/gpdb,CraigHarris/gpdb,lisakowen/gpdb,adam8157/gpdb,zaksoup/gpdb,adam8157/gpdb,royc1/gpdb,Postgres-XL/Postgres-XL,0x0FFF/gpdb,zaksoup/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,ovr/postgres-xl,rvs/gpdb,ahachete/gpdb,greenplum-db/gpdb,rvs/gpdb,lisakowen/gpdb,royc1/gpdb,yuanzhao/gpdb,edespino/gpdb,postmind-net/postgres-xl,cjcjameson/gpdb,zaksoup/gpdb,lintzc/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,xinzweb/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,chrishajas/gpdb,rubikloud/gpdb,xuegang/gpdb,kaknikhil/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,lintzc/gpdb,janebeckman/gpdb,arcivanov/postgres-xl,rvs/gpdb,xuegang/gpdb,0x0FFF/gpdb,ashwinstar/gpdb,royc1/gpdb,0x0FFF/gpdb,snaga/postgres-xl,cjcjameson/gpdb,tangp3/gpdb,yuanzhao/gpdb,Quikling/gpdb,50wu/gpdb,ovr/postgres-xl,xinzweb/gpdb,oberstet/postgres-xl,Quikling/gpdb,janebeckman/gpdb,edespino/gpdb,ovr/postgres-xl,ashwinstar/gpdb,xuegang/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,Quikling/gpdb,yazun/postgres-xl,Chibin/gpdb,tpostgres-projects/tPostgres,rubikloud/gpdb,Chibin/gpdb,zaksoup/gpdb,CraigHarris/gpdb,Postgres-XL/Postgres-XL,kaknikhil/gpdb,cjcjameson/gpdb,yazun/postgres-xl,kaknikhil/gpdb,kmjungersen/PostgresXL,randomtask1155/gpdb,arcivanov/postgres-xl,tangp3/gpdb,ovr/postgres-xl,ahachete/gpdb,royc1/gpdb