summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2011-07-17 17:51:35 +0000
committerKen Raeburn <raeburn@mit.edu>2011-07-17 17:51:35 +0000
commit6c8ba612fc43248d990072cd054f77c293d37ffb (patch)
treed6a5ef37a17d66e9503aa45b44b6c8f618678b73
parentf04b51b14c8ee4519cb1e5e8cea3d4a9d25ea827 (diff)
downloadkrb5-6c8ba612fc43248d990072cd054f77c293d37ffb.tar.gz
krb5-6c8ba612fc43248d990072cd054f77c293d37ffb.tar.xz
krb5-6c8ba612fc43248d990072cd054f77c293d37ffb.zip
Declare gmt_mktime before use
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25020 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/support/gmt_mktime.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/support/gmt_mktime.c b/src/util/support/gmt_mktime.c
index f7f717e9e..7655364d9 100644
--- a/src/util/support/gmt_mktime.c
+++ b/src/util/support/gmt_mktime.c
@@ -18,6 +18,10 @@
#include "k5-gmt_mktime.h"
+#if !HAVE_TIMEGM || TEST_LEAP
+static time_t gmt_mktime(struct tm *t);
+#endif
+
/*
* Use the nonstandard timegm() (if available) to convert broken-down
* UTC times into time_t values. Use our custom gmt_mktime() if