Avoid signature collision in altered callback function
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 25 Feb 2016 16:02:29 +0000 (16:02 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 25 Feb 2016 16:02:29 +0000 (16:02 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14697 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.c

index 3a679446bbda700a76e09904efba98b3645cba54..f222dd1ff9354d0288defb4bd4548799ad9f6f9e 100644 (file)
@@ -180,7 +180,7 @@ rtpg_assignHookGDALDataPath(const char *newpath, void *extra) {
 
 /* postgis.gdal_enabled_drivers */
 static void
-rtpg_assignHookGDALEnabledDrivers(const char *enabled_drivers, void *extra) {
+rtpg_assignHookGDALEnabledDrivers23(const char *enabled_drivers, void *extra) {
        int enable_all = 0;
        int disable_all = 0;
 
@@ -430,7 +430,7 @@ _PG_init(void) {
 #if POSTGIS_PGSQL_VERSION >= 91
                        NULL, /* GucStringCheckHook check_hook */
 #endif
-                       rtpg_assignHookGDALEnabledDrivers, /* GucStringAssignHook assign_hook */
+                       rtpg_assignHookGDALEnabledDrivers23, /* GucStringAssignHook assign_hook */
                        NULL  /* GucShowHook show_hook */
                );
        }