From 780076301a5db4090ebda1f942b6c861331ff94b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 22 Aug 2002 22:33:13 +0000 Subject: [PATCH] * locate_kdc.c (krb5int_grow_addrlist): Renamed from grow_list, now external. (grow_list): New macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14741 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 6 ++++++ src/lib/krb5/os/locate_kdc.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 2cd48383b..bc140e465 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +2002-08-22 Ken Raeburn + + * locate_kdc.c (krb5int_grow_addrlist): Renamed from grow_list, + now external. + (grow_list): New macro. + 2002-08-15 Ken Raeburn * sendto_kdc.c (DEFAULT_UDP_PREF_LIMIT, HARD_UDP_LIMIT): New diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index aaf98a6e0..8461d79dc 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -126,8 +126,8 @@ static int get_port (const char *service, int stream, int defalt) return htons (defalt); } -static int -grow_list (struct addrlist *lp, int nmore) +int +krb5int_grow_addrlist (struct addrlist *lp, int nmore) { int i; int newspace = lp->space + nmore; @@ -149,6 +149,7 @@ grow_list (struct addrlist *lp, int nmore) lp->space = newspace; return 0; } +#define grow_list krb5int_grow_addrlist /* Free up everything pointed to by the addrlist structure, but don't free the structure itself. */ -- 2.26.2