diff liboctave/wrappers/time-wrappers.c @ 22062:d18aad835ad6

provide wrapper for gnulib mktime function * time-wrappers.h, time-wrappers.c (octave_mktime_wrapper): New function. * oct-time.cc: Use it.
author John W. Eaton <jwe@octave.org>
date Thu, 07 Jul 2016 10:28:31 -0400
parents f0c5dd1ea2b9
children 4caa7b28d183
line wrap: on
line diff
--- a/liboctave/wrappers/time-wrappers.c	Thu Jul 07 08:42:44 2016 -0400
+++ b/liboctave/wrappers/time-wrappers.c	Thu Jul 07 10:28:31 2016 -0400
@@ -146,3 +146,9 @@
 
   return status;
 }
+
+time_t
+octave_mktime_wrapper (struct tm *tp)
+{
+  return mktime (tp);
+}