/[gcl]/gcl/o/unixtime.c
ViewVC logotype

Diff of /gcl/o/unixtime.c

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

revision 1.17 by camm, Sat Feb 15 00:38:28 2003 UTC revision 1.18 by camm, Sun Jul 20 18:02:02 2003 UTC
# Line 71  static void siLget_system_time_zone(void Line 71  static void siLget_system_time_zone(void
71  #include <sys/times.h>  #include <sys/times.h>
72  #endif  #endif
73  #include <sys/time.h>  #include <sys/time.h>
74  static struct timeb beginning;  /* static struct timeb beginning; */
75  #endif  #endif
76    
77  #ifdef ATT  #ifdef ATT
78  #include <sys/times.h>  #include <sys/times.h>
79  long beginning;  static long beginning;
80  #endif  #endif
81    
82  int  int
# Line 212  DEFVAR("*DEFAULT-TIME-ZONE*",sSAdefault_ Line 212  DEFVAR("*DEFAULT-TIME-ZONE*",sSAdefault_
212  void  void
213  init_unixtime(void)  init_unixtime(void)
214  {  {
215  #ifdef BSD  /* #ifdef BSD */
216          ftime(&beginning);  /*      ftime(&beginning); */
217  #endif  /* #endif */
218  #ifdef ATT  #ifdef ATT
219          beginning = time(0);          beginning = time(0);
220  #endif  #endif

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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