diff options
Diffstat (limited to 'src/include/pgtime.h')
-rw-r--r-- | src/include/pgtime.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/include/pgtime.h b/src/include/pgtime.h index 5093d1fd25d..1c66a63d2fe 100644 --- a/src/include/pgtime.h +++ b/src/include/pgtime.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/include/pgtime.h,v 1.3 2004/08/29 04:13:03 momjian Exp $ + * $PostgreSQL: pgsql/src/include/pgtime.h,v 1.4 2004/08/29 05:06:55 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -22,17 +22,18 @@ typedef int64 pg_time_t; -struct pg_tm { - int tm_sec; - int tm_min; - int tm_hour; - int tm_mday; - int tm_mon; /* origin 0, not 1 */ - int tm_year; /* relative to 1900 */ - int tm_wday; - int tm_yday; - int tm_isdst; - long int tm_gmtoff; +struct pg_tm +{ + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; /* origin 0, not 1 */ + int tm_year; /* relative to 1900 */ + int tm_wday; + int tm_yday; + int tm_isdst; + long int tm_gmtoff; const char *tm_zone; }; @@ -40,10 +41,10 @@ extern struct pg_tm *pg_localtime(const pg_time_t *); extern struct pg_tm *pg_gmtime(const pg_time_t *); extern bool pg_tzset(const char *tzname); extern size_t pg_strftime(char *s, size_t max, const char *format, - const struct pg_tm *tm); + const struct pg_tm * tm); extern void pg_timezone_initialize(void); extern bool tz_acceptable(void); extern const char *select_default_timezone(void); extern const char *pg_get_current_timezone(void); -#endif /* _PGTIME_H */ +#endif /* _PGTIME_H */ |