Only declare DateStyle in a single compilation unit.

This commit is contained in:
Eric Pouech 1999-08-21 13:10:22 +00:00 committed by Alexandre Julliard
parent ecbf1d926d
commit cf9395af34
2 changed files with 9 additions and 3 deletions

View File

@ -66,6 +66,12 @@ char *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",
char *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday", NULL};
/* those three vars are useless, and not even initialized, so
* I'd rather remove them all (EPP)
*/
int DateStyle;
bool EuroDates;
int CTimeZone;
#define UTIME_MINYEAR (1901)
#define UTIME_MINMONTH (12)

View File

@ -145,9 +145,9 @@ typedef uint32 bool32; /* >= 32 bits */
#define USE_SQL_DATES 2
#define USE_GERMAN_DATES 3
int DateStyle;
bool EuroDates;
int CTimeZone;
extern int DateStyle;
extern bool EuroDates;
extern int CTimeZone;
typedef double float8;