From 972c8c674140ed2361ecfaf45250b0d3f7156fc9 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 00:26:04 +0000 Subject: [PATCH] Makefile.in: PC builds all C files because of function name changes c_localtime.c, c_ustime.c: removed INTERFACE keyword. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6821 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/os/ChangeLog | 5 +++++ src/lib/crypto/os/Makefile.in | 5 +++-- src/lib/crypto/os/c_localaddr.c | 6 +++--- src/lib/crypto/os/c_ustime.c | 8 ++++---- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/lib/crypto/os/ChangeLog b/src/lib/crypto/os/ChangeLog index 78cda02df..e2cf90365 100644 --- a/src/lib/crypto/os/ChangeLog +++ b/src/lib/crypto/os/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 13 10:33:53 1995 Keith Vetter (keithv@fusion.com) + + * Makefile.in: PC builds all C files because of function name changes. + * c_localtime.c, c_ustime.c: removed INTERFACE keyword. + Wed Sep 13 17:32:36 1995 Theodore Y. Ts'o * c_localaddr.c (krb5_crypto_os_localaddr): Clear the buffer diff --git a/src/lib/crypto/os/Makefile.in b/src/lib/crypto/os/Makefile.in index 12d5ad807..bdf087b48 100644 --- a/src/lib/crypto/os/Makefile.in +++ b/src/lib/crypto/os/Makefile.in @@ -10,7 +10,8 @@ LIBOBJS = @LIBOBJS@ $(CC) $(CFLAGS) -c $(srcdir)/$*.c @SHARED_RULE@ -OBJS= rnd_confoun.$(OBJEXT) c_localaddr.$(OBJEXT) c_ustime.$(OBJEXT) $(LIBOBJS) +COBJS= rnd_confoun.$(OBJEXT) c_localaddr.$(OBJEXT) c_ustime.$(OBJEXT) +OBJS= $(COBJS) $(LIBOBJS) SRCS= rnd_confoun.c c_localaddr.c c_ustime.c @@ -20,7 +21,7 @@ all-unix:: shared $(OBJS) all-mac:: $(OBJS) -all-windows: rnd_confoun.obj +all-windows: $(COBJS) shared: mkdir shared diff --git a/src/lib/crypto/os/c_localaddr.c b/src/lib/crypto/os/c_localaddr.c index c1d75cf70..9bb03e4c9 100644 --- a/src/lib/crypto/os/c_localaddr.c +++ b/src/lib/crypto/os/c_localaddr.c @@ -1,5 +1,5 @@ /* - * lib/crypto/os/localaddr.c + * lib/crypto/os/c_localaddr.c * * Copyright 1990,1991 by the Massachusetts Institute of Technology. * All Rights Reserved. @@ -105,7 +105,7 @@ extern int errno; * This uses the SIOCGIFCONF, SIOCGIFFLAGS, and SIOCGIFADDR ioctl's. */ -krb5_error_code INTERFACE +krb5_error_code krb5_crypto_os_localaddr(addr) krb5_address ***addr; { @@ -243,7 +243,7 @@ n_found = 0; * card per machine, so gethostent is good enough. */ -krb5_error_code INTERFACE +krb5_error_code krb5_crypto_os_localaddr (krb5_address ***addr) { char host[64]; /* Name of local machine */ struct hostent *hostrec; diff --git a/src/lib/crypto/os/c_ustime.c b/src/lib/crypto/os/c_ustime.c index 3ab6b944c..51c90767d 100644 --- a/src/lib/crypto/os/c_ustime.c +++ b/src/lib/crypto/os/c_ustime.c @@ -1,5 +1,5 @@ /* - * lib/crypto/os/ustime.c + * lib/crypto/os/c_ustime.c * * Copyright 1990,1991 by the Massachusetts Institute of Technology. * All Rights Reserved. @@ -86,7 +86,7 @@ getTimeZoneOffset() /* Returns the GMT in seconds (and fake microseconds) using the Unix epoch */ -krb5_error_code INTERFACE +krb5_error_code krb5_crypto_us_timeofday(seconds, microseconds) krb5_int32 *seconds, *microseconds; { @@ -145,7 +145,7 @@ krb5_crypto_us_timeofday(seconds, microseconds) static time_t win_gettime (); static long win_time_get_epoch(); /* Adjust for MSC 7.00 bug */ -krb5_error_code INTERFACE +krb5_error_code krb5_crypto_us_timeofday(seconds, microseconds) register krb5_int32 *seconds, *microseconds; { @@ -251,7 +251,7 @@ extern int errno; static struct timeval last_tv = {0, 0}; -krb5_error_code INTERFACE +krb5_error_code krb5_crypto_us_timeofday(seconds, microseconds) register krb5_int32 *seconds, *microseconds; { -- 2.26.2