// Get UTC time as seconds since 00:00:00, Jan 1st 1970
long wxGetUTCTime()
{
- struct tm tm, *ptm;
+ struct tm tm;
+ struct tm *ptm;
time_t t0, t1;
// This cannot be made static because mktime can overwrite it
{
wxLongLong val = 1000l;
- // If possible, use a functin which avoids conversions from
- // broken-up time structures to milliseconds,
+ // If possible, use a function which avoids conversions from
+ // broken-up time structures to milliseconds
#if defined(HAVE_GETTIMEOFDAY)
struct timeval tp;