Mercurial > emacs
comparison lib-src/profile.c @ 42439:d8a417105504
Remove unnecessary whitespaces.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sun, 30 Dec 2001 22:09:01 +0000 |
parents | cbfae3e04e1c |
children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
42438:60712692fdbc | 42439:d8a417105504 |
---|---|
61 sprintf (time_string, "%lu.%06lu", (unsigned long)EMACS_SECS (TV2), (unsigned long)EMACS_USECS (TV2)); | 61 sprintf (time_string, "%lu.%06lu", (unsigned long)EMACS_SECS (TV2), (unsigned long)EMACS_USECS (TV2)); |
62 return time_string; | 62 return time_string; |
63 } | 63 } |
64 | 64 |
65 #if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL) | 65 #if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL) |
66 | 66 |
67 /* ARGSUSED */ | 67 /* ARGSUSED */ |
68 gettimeofday (tp, tzp) | 68 gettimeofday (tp, tzp) |
69 struct timeval *tp; | 69 struct timeval *tp; |
70 struct timezone *tzp; | 70 struct timezone *tzp; |
71 { | 71 { |
72 extern long time (); | 72 extern long time (); |
73 | 73 |
74 tp->tv_sec = time ((long *)0); | 74 tp->tv_sec = time ((long *)0); |
75 tp->tv_usec = 0; | 75 tp->tv_usec = 0; |
76 if (tzp != 0) | 76 if (tzp != 0) |
77 tzp->tz_minuteswest = -1; | 77 tzp->tz_minuteswest = -1; |
78 } | 78 } |
79 | 79 |
80 #endif | 80 #endif |
81 | 81 |
82 int | 82 int |
83 main () | 83 main () |
84 { | 84 { |