diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-12-30 17:35:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-12-30 17:35:29 +0000 |
commit | 157d4bd650a3e421c5bac48da7e528af9a6a76e2 (patch) | |
tree | 0379fb2c85e183c3c5669d425b3e42ae4592791b /gnu/lib/libf2c/libU77/itime_.c | |
parent | 791194721fec8918406191b62da6dc41f2d690e5 (diff) |
Actual synch with 3.3.5.
Changes in Makefile.bsd-wrapper to avoid prereq.
Fix in lib*/config.h.in to include the right ones and get the correct
definitions.
Bump of shlib_version accordingly.
Diffstat (limited to 'gnu/lib/libf2c/libU77/itime_.c')
-rw-r--r-- | gnu/lib/libf2c/libU77/itime_.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/lib/libf2c/libU77/itime_.c b/gnu/lib/libf2c/libU77/itime_.c index ad47872dc8d..12a7864fd97 100644 --- a/gnu/lib/libf2c/libU77/itime_.c +++ b/gnu/lib/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; |