From 2fef2710c1e3a3557647ddb291b9cb8c72aa647b Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 27 Oct 1997 06:01:52 +0000 Subject: [PATCH] * mac_time.c: Don't use the type KRB_INT32; it was leaked from des.h and was just the wrong answer. Use long instead. While we're at it, declare gettimeofdaynet_no_offset() as static because we have no real need to export it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10250 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 7 +++++++ src/lib/krb4/mac_time.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index f9c2b8c0c..0528b154a 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -2,6 +2,13 @@ Tue Oct 21 09:02:51 1997 Ezra Peisach * kparse.c: Include stdlib.h if present (for malloc prototyp) +Fri Oct 17 20:33:17 1997 Tom Yu + + * mac_time.c: Don't use the type KRB_INT32; it was leaked from + des.h and was just the wrong answer. Use long instead. While + we're at it, declare gettimeofdaynet_no_offset() as static because + we have no real need to export it. + Tue Sep 30 19:00:33 1997 Tom Yu * tkt_string.c: Replace HAS_STDLIB_H with something more sane. diff --git a/src/lib/krb4/mac_time.c b/src/lib/krb4/mac_time.c index 91f09e5aa..28a56223d 100644 --- a/src/lib/krb4/mac_time.c +++ b/src/lib/krb4/mac_time.c @@ -43,7 +43,7 @@ /* returns the offset in hours between the mac local time and the GMT */ -unsigned KRB_INT32 +unsigned long getTimeZoneOffset() { MachineLocation macLocation; @@ -60,7 +60,8 @@ getTimeZoneOffset() /* Returns the GMT in seconds using the Unix epoch, ie. Net time */ -unsigned KRB_INT32 gettimeofdaynet_no_offset() +static unsigned long +gettimeofdaynet_no_offset() { time_t the_time; -- 2.26.2