From: Bruce Momjian Date: Thu, 23 Nov 2006 04:38:01 +0000 (+0000) Subject: Make ecpg test variable 'times' static so as not to conflict with libc X-Git-Tag: REL8_2_RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=956c2d6683c3dc008a397476b67fb9b0041e7883;p=postgresql Make ecpg test variable 'times' static so as not to conflict with libc symbol. --- diff --git a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc index 08d1d6c412..27d616751d 100644 --- a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc +++ b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc @@ -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",