summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.h
diff options
context:
space:
mode:
authorTom Lane2016-03-28 21:19:29 +0000
committerTom Lane2016-03-28 21:19:29 +0000
commit1f4e9da624a0caf78bcb526f6b05f5993e26f2c7 (patch)
treedfb146d595c366297548e4fb9c00067fcbe81a2f /src/timezone/pgtz.h
parentf5f15ea6aad1b75c1c133a914cf29f9831089a6e (diff)
Sync tzload() and tzparse() APIs with IANA release tzcode2016c.
This brings us a bit closer to matching upstream, but since it affects files outside src/timezone/, we might choose not to back-patch it. Hence keep it separate from the main update patch.
Diffstat (limited to 'src/timezone/pgtz.h')
-rw-r--r--src/timezone/pgtz.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timezone/pgtz.h b/src/timezone/pgtz.h
index deee7464ed5..2adec198386 100644
--- a/src/timezone/pgtz.h
+++ b/src/timezone/pgtz.h
@@ -69,7 +69,7 @@ extern int pg_open_tzfile(const char *name, char *canonname);
/* in localtime.c */
extern int tzload(const char *name, char *canonname, struct state * sp,
- int doextend);
-extern int tzparse(const char *name, struct state * sp, int lastditch);
+ bool doextend);
+extern bool tzparse(const char *name, struct state * sp, bool lastditch);
#endif /* _PGTZ_H */