Skip to content

Commit 956c2d6

Browse files
committed
Make ecpg test variable 'times' static so as not to conflict with libc
symbol.
1 parent ab79444 commit 956c2d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ char *dates[] = { "19990108foobar",
2929
"January 8, 99 BC",
3030
NULL };
3131

32-
char *times[] = { "0:04",
32+
/* do not conflict with libc "times" symbol */
33+
static char *times[] = { "0:04",
3334
"1:59 PDT",
3435
"13:24:40 -8:00",
3536
"13:24:40.495+3",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy