From b1257bc58a706240c867fbab58ca23cc5b4ba8a8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 14 Feb 2004 00:37:18 +0000 Subject: [PATCH] Don't specify defaults for GET{PEER,SOCK}NAME_ARG{2,3}_TYPE macros git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16082 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/sendauth.c | 13 ------------- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/genaddrs.c | 13 ------------- 4 files changed, 10 insertions(+), 26 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 28bfafd39..0abd32f57 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2004-02-13 Ken Raeburn + + * sendauth.c: Don't specify defaults for + GET{PEER,SOCK}NAME_ARG{2,3}_TYPE macros. + 2004-02-06 Sam Hartman * init_ctx.c (DEFAULT_ETYPE_LIST): Include aes128-cts diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c index f34e698d4..51f82e1bd 100644 --- a/src/lib/krb5/krb/sendauth.c +++ b/src/lib/krb5/krb/sendauth.c @@ -36,19 +36,6 @@ #include #include -#ifndef GETPEERNAME_ARG2_TYPE -#define GETPEERNAME_ARG2_TYPE struct sockaddr -#endif -#ifndef GETPEERNAME_ARG3_TYPE -#define GETPEERNAME_ARG3_TYPE size_t -#endif -#ifndef GETSOCKNAME_ARG2_TYPE -#define GETSOCKNAME_ARG2_TYPE struct sockaddr -#endif -#ifndef GETSOCKNAME_ARG3_TYPE -#define GETSOCKNAME_ARG3_TYPE size_t -#endif - static const char sendauth_version[] = "KRB5_SENDAUTH_V1.0"; krb5_error_code KRB5_CALLCONV diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 556dd3cf1..b014a098d 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2004-02-13 Ken Raeburn + + * genaddrs.c: Don't specify defaults for + GET{PEER,SOCK}NAME_ARG{2,3}_TYPE macros. + 2004-02-09 Sam Hartman * changepw.c (krb5_locate_kpasswd): Run htons on the default port diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c index 919358a11..5b7810ee1 100644 --- a/src/lib/krb5/os/genaddrs.c +++ b/src/lib/krb5/os/genaddrs.c @@ -35,19 +35,6 @@ #include #endif -#ifndef GETPEERNAME_ARG2_TYPE -#define GETPEERNAME_ARG2_TYPE struct sockaddr -#endif -#ifndef GETPEERNAME_ARG3_TYPE -#define GETPEERNAME_ARG3_TYPE size_t -#endif -#ifndef GETSOCKNAME_ARG2_TYPE -#define GETSOCKNAME_ARG2_TYPE struct sockaddr -#endif -#ifndef GETSOCKNAME_ARG3_TYPE -#define GETSOCKNAME_ARG3_TYPE size_t -#endif - struct addrpair { krb5_address addr, port; }; -- 2.26.2