diff options
| author | Tom Yu <tlyu@mit.edu> | 1997-10-27 06:01:52 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1997-10-27 06:01:52 +0000 |
| commit | 2fef2710c1e3a3557647ddb291b9cb8c72aa647b (patch) | |
| tree | d3305c113f3de48001b56e0c6d8ecf16d9ea4b6c /src/lib | |
| parent | aee8ba312c3b8046fad336c923413f31fe5ed96e (diff) | |
* 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
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb4/ChangeLog | 7 | ||||
| -rw-r--r-- | 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 <epeisach@mit.edu> * kparse.c: Include stdlib.h if present (for malloc prototyp) +Fri Oct 17 20:33:17 1997 Tom Yu <tlyu@mit.edu> + + * 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 <tlyu@mit.edu> * 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; |
