summaryrefslogtreecommitdiff
path: root/gnu/lib/libf2c/libU77/itime_.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libf2c/libU77/itime_.c')
-rw-r--r--gnu/lib/libf2c/libU77/itime_.c12
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;