]> granicus.if.org Git - postgresql/commitdiff
Make ecpg test variable 'times' static so as not to conflict with libc
authorBruce Momjian <bruce@momjian.us>
Thu, 23 Nov 2006 04:38:01 +0000 (04:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 23 Nov 2006 04:38:01 +0000 (04:38 +0000)
symbol.

src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc

index 08d1d6c412f53706724178277d12db3443e739be..27d616751d979aca36398bfc860e2f53764f64cf 100644 (file)
@@ -29,7 +29,8 @@ char *dates[] = { "19990108foobar",
                                  "January 8, 99 BC",
                                  NULL };
 
-char *times[] = { "0:04",
+/* do not conflict with libc "times" symbol */
+static char *times[] = { "0:04",
                                  "1:59 PDT",
                                  "13:24:40 -8:00",
                                  "13:24:40.495+3",