From 956c2d6683c3dc008a397476b67fb9b0041e7883 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 23 Nov 2006 04:38:01 +0000 Subject: [PATCH] Make ecpg test variable 'times' static so as not to conflict with libc symbol. --- src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- 2.40.0