diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-11 03:42:19 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-11 03:42:19 +0000 |
commit | eb05e163fcadd646f28a1b1ef1182677b325a045 (patch) | |
tree | 01f695ddb223c95a40652601894e4291cdf92786 /contrib/libf2c/libU77/itime_.c | |
parent | 865328879900c99b2516e0cb403295aac55ff45a (diff) | |
parent | 6bdbd039fdee37985426b3cfdb6ec9b43f1c96aa (diff) |
This commit was generated by cvs2svn to compensate for changes in r117401,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=117402
Diffstat (limited to 'contrib/libf2c/libU77/itime_.c')
-rw-r--r-- | contrib/libf2c/libU77/itime_.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/contrib/libf2c/libU77/itime_.c b/contrib/libf2c/libU77/itime_.c index ad47872dc8d0..12a7864fd972 100644 --- a/contrib/libf2c/libU77/itime_.c +++ b/contrib/libf2c/libU77/itime_.c @@ -33,18 +33,14 @@ Boston, MA 02111-1307, USA. */ #endif #include "f2c.h" -#ifdef KR_headers -/* Subroutine */ int G77_itime_0 (tarray) - integer tarray[3]; -#else -/* Subroutine */ int G77_itime_0 (integer tarray[3]) -#endif +/* Subroutine */ int +G77_itime_0 (integer tarray[3]) { struct tm *lt; time_t tim; - tim = time(NULL); - lt = localtime(&tim); + tim = time (NULL); + lt = localtime (&tim); tarray[0] = lt->tm_hour; tarray[1] = lt->tm_min; tarray[2] = lt->tm_sec; |