+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 <tytso@dcl>
* c_localaddr.c (krb5_crypto_os_localaddr): Clear the buffer
$(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
all-mac:: $(OBJS)
-all-windows: rnd_confoun.obj
+all-windows: $(COBJS)
shared:
mkdir shared
/*
- * lib/crypto/os/localaddr.c
+ * lib/crypto/os/c_localaddr.c
*
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
* This uses the SIOCGIFCONF, SIOCGIFFLAGS, and SIOCGIFADDR ioctl's.
*/
-krb5_error_code INTERFACE
+krb5_error_code
krb5_crypto_os_localaddr(addr)
krb5_address ***addr;
{
* 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;
/*
- * lib/crypto/os/ustime.c
+ * lib/crypto/os/c_ustime.c
*
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
/* 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;
{
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;
{
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;
{