diff liboctave/oct-time.cc @ 10411:479cc8a0a846

use gnulib namespace
author John W. Eaton <jwe@octave.org>
date Mon, 15 Mar 2010 15:57:23 -0400
parents 07ebe522dac2
children 12d25a1d84bf
line wrap: on
line diff
--- a/liboctave/oct-time.cc	Fri Mar 12 19:15:39 2010 -0500
+++ b/liboctave/oct-time.cc	Mon Mar 15 15:57:23 2010 -0400
@@ -78,7 +78,7 @@
 {
   struct timeval tp;
 
-  gettimeofday (&tp, 0);
+  gnulib::gettimeofday (&tp, 0);
 
   ot_unix_time = tp.tv_sec;
   ot_usec = tp.tv_usec;
@@ -265,7 +265,7 @@
 
   char *p = strsave (str.c_str ());
 
-  char *q = strptime (p, fmt.c_str (), &t);
+  char *q = gnulib::strptime (p, fmt.c_str (), &t);
 
   // Fill in wday and yday, but only if mday is valid and the mon and year
   // are filled in, avoiding issues with mktime and invalid dates.