Only declare DateStyle in a single compilation unit.
This commit is contained in:
parent
ecbf1d926d
commit
cf9395af34
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue