/[emacs]/emacs/lib-src/profile.c
ViewVC logotype

Diff of /emacs/lib-src/profile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by pj, Mon Oct 8 04:52:12 2001 UTC revision 1.15 by pj, Sun Dec 30 22:09:01 2001 UTC
# Line 63  get_time () Line 63  get_time ()
63  }  }
64    
65  #if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL)  #if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL)
66    
67  /* ARGSUSED */  /* ARGSUSED */
68  gettimeofday (tp, tzp)  gettimeofday (tp, tzp)
69       struct timeval *tp;       struct timeval *tp;
# Line 71  gettimeofday (tp, tzp) Line 71  gettimeofday (tp, tzp)
71  {  {
72    extern long time ();    extern long time ();
73    
74    tp->tv_sec = time ((long *)0);        tp->tv_sec = time ((long *)0);
75    tp->tv_usec = 0;    tp->tv_usec = 0;
76    if (tzp != 0)    if (tzp != 0)
77      tzp->tz_minuteswest = -1;      tzp->tz_minuteswest = -1;
78  }  }
79    
80  #endif  #endif
81    
82  int  int

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26