From 44d67304c2d769143c8fc6ced9dee3732c43defe Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 7 Feb 1997 19:27:47 +0000 Subject: [PATCH] mk_faddr.c: Added FAR declaration git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9816 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 4 ++++ src/lib/krb5/os/mk_faddr.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index bd9bb29cb..42241f020 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 7 11:11:18 1997 Richard Basch + + * mk_faddr.c (krb5_make_fulladdr): Add FAR declarations (win16) + Thu Nov 21 11:55:16 EST 1996 Richard Basch * Makefile.in: win32 build diff --git a/src/lib/krb5/os/mk_faddr.c b/src/lib/krb5/os/mk_faddr.c index 7426795ca..a072aa719 100644 --- a/src/lib/krb5/os/mk_faddr.c +++ b/src/lib/krb5/os/mk_faddr.c @@ -37,12 +37,12 @@ krb5_error_code krb5_make_fulladdr(context, kaddr, kport, raddr) - krb5_context context; - krb5_address * kaddr; - krb5_address * kport; - krb5_address * raddr; + krb5_context context; + krb5_address FAR * kaddr; + krb5_address FAR * kport; + krb5_address FAR * raddr; { - register krb5_octet * marshal; + register krb5_octet FAR * marshal; krb5_int32 tmp32; krb5_int16 tmp16; @@ -50,7 +50,7 @@ krb5_make_fulladdr(context, kaddr, kport, raddr) return EINVAL; raddr->length = kaddr->length + kport->length + (4 * sizeof(krb5_int32)); - if (!(raddr->contents = (krb5_octet *)malloc(raddr->length))) + if (!(raddr->contents = (krb5_octet FAR *)malloc(raddr->length))) return ENOMEM; raddr->addrtype = ADDRTYPE_ADDRPORT; -- 2.26.2