summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-11 13:21:20 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-11 13:21:20 -0400
commitf8a665c87d21b3bf4325c0c7f369b4ec3fbedd98 (patch)
tree3c4f3d4d6efe5e0843fac87f6e475f615300e902 /src/common/util.h
parent99cb9696ac617a42a78d9ebfa3f169fd8e4a3d88 (diff)
parent5833861f62d2667eeda1ed0f6595763aa00250b0 (diff)
downloadtor-f8a665c87d21b3bf4325c0c7f369b4ec3fbedd98.tar.gz
tor-f8a665c87d21b3bf4325c0c7f369b4ec3fbedd98.zip
Merge remote-tracking branch 'origin/maint-0.2.3'
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index a6944ac894..3388759b30 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -244,7 +244,7 @@ int64_t tv_to_msec(const struct timeval *tv);
int64_t tv_to_usec(const struct timeval *tv);
long tv_udiff(const struct timeval *start, const struct timeval *end);
long tv_mdiff(const struct timeval *start, const struct timeval *end);
-time_t tor_timegm(struct tm *tm);
+int tor_timegm(const struct tm *tm, time_t *time_out);
#define RFC1123_TIME_LEN 29
void format_rfc1123_time(char *buf, time_t t);
int parse_rfc1123_time(const char *buf, time_t *t);