Rename header file foreachaddr.c to foreachaddr.h, now that it isn't
authorKen Raeburn <raeburn@mit.edu>
Wed, 5 May 2004 22:44:46 +0000 (22:44 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 5 May 2004 22:44:46 +0000 (22:44 +0000)
mostly static functions to be compiled in.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16314 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/foreachaddr.h [moved from src/include/foreachaddr.c with 100% similarity]
src/kdc/ChangeLog
src/kdc/Makefile.in
src/kdc/network.c
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/Makefile.in
src/lib/krb5/os/localaddr.c

index f503efacf8c9c21e3cbf3a67f25b9e970c416fa0..e76c0feb1dad38f7f30ed321e8d587858f80347e 100644 (file)
@@ -1,6 +1,7 @@
 2004-05-05  Ken Raeburn  <raeburn@mit.edu>
 
        * foreachaddr.c: Implementation moved to lib/krb5/os/localaddr.c.
+       * foreachaddr.h: New file.
        (krb5int_foreach_localaddr): Declare.
        (foreach_localaddr): New macro.
 
index e9aadebf0ac7d5185f5c751966b7dce13d3a177a..2fbf055ded0f608125eaacfa06addeda038c819e 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-05  Ken Raeburn  <raeburn@mit.edu>
+
+       * network.c: Include foreachaddr.h, not foreachaddr.c.
+
 2004-04-02  Ken Raeburn  <raeburn@mit.edu>
 
        * network.c (setup_a_tcp_listener): Try to turn the IPV6_V6ONLY
index 3231944dcb963f5790eca32c7ba41191c2e0bc28..efd3b8d9adf921525981f0f282f811e3ab9fff8c 100644 (file)
@@ -159,7 +159,7 @@ $(OUTPRE)network.$(OBJEXT): network.c $(SRCTOP)/include/k5-int.h \
   $(SRCTOP)/include/krb5/kdb.h kdc_util.h extern.h kdc5_err.h \
   $(SRCTOP)/include/krb5/adm_proto.h $(SRCTOP)/include/syslog.h \
   $(SRCTOP)/include/fake-addrinfo.h $(SRCTOP)/include/cm.h \
-  $(SRCTOP)/include/foreachaddr.c
+  $(SRCTOP)/include/foreachaddr.h
 $(OUTPRE)policy.$(OBJEXT): policy.c $(SRCTOP)/include/k5-int.h \
   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
index 7ef102bba2112e869b41844c4fdec7c7590d2a59..e55efac9330f999b3550fbd62a84da3254af9a77 100644 (file)
@@ -262,7 +262,7 @@ static krb5_error_code add_tcp_port(int port)
 #define USE_TYPE SOCK_DGRAM
 #define USE_PROTO 0
 #define SOCKET_ERRNO errno
-#include "foreachaddr.c"
+#include "foreachaddr.h"
 
 struct socksetup {
     const char *prog;
index d1532b983ab06e4dfd220b8467ef97b00893b2da..431bbd4752780f21e620c681f97fc67cf98d80e7 100644 (file)
@@ -1,7 +1,8 @@
 2004-05-05  Ken Raeburn  <raeburn@mit.edu>
 
        * localaddr.c: Incorporate foreach_localaddr implementation.
-       Export it as krb5int_foreach_localaddr.
+       Export it as krb5int_foreach_localaddr.  Include foreachaddr.h,
+       not foreachaddr.c.
 
 2004-03-22  Ken Raeburn  <raeburn@mit.edu>
 
index bc351e1ff2a0ef355feccbebca8cb25f20253245..bcf67749585bcf95d3ac53df21a088d8e4a410bf 100644 (file)
@@ -373,7 +373,7 @@ localaddr.so localaddr.po $(OUTPRE)localaddr.$(OBJEXT): localaddr.c $(SRCTOP)/in
   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
-  $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/foreachaddr.c
+  $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/foreachaddr.h
 locate_kdc.so locate_kdc.po $(OUTPRE)locate_kdc.$(OBJEXT): locate_kdc.c $(SRCTOP)/include/fake-addrinfo.h \
   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
index e89a51ae9e9858c8fa838220368031489fb85e15..01b331b582be99867176ec9b7b6f3b718fde4430 100644 (file)
@@ -50,7 +50,7 @@
 # include "fake-addrinfo.h"
 #endif
 
-#include "foreachaddr.c"
+#include "foreachaddr.h"
 
 /* Note: foreach_localaddr is exported from the library through
    krb5int_accessor, for the KDC to use.