mk_faddr.c: Added FAR declaration
authorRichard Basch <probe@mit.edu>
Fri, 7 Feb 1997 19:27:47 +0000 (19:27 +0000)
committerRichard Basch <probe@mit.edu>
Fri, 7 Feb 1997 19:27:47 +0000 (19:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9816 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/mk_faddr.c

index bd9bb29cbcd57db0b03531a9418243d358fb232f..42241f0208441d31e0fbb51675f6220d0320120b 100644 (file)
@@ -1,3 +1,7 @@
+Fri Feb  7 11:11:18 1997  Richard Basch  <basch@lehman.com>
+
+       * mk_faddr.c (krb5_make_fulladdr): Add FAR declarations (win16)
+
 Thu Nov 21 11:55:16 EST 1996   Richard Basch   <basch@lehman.com>
 
        * Makefile.in: win32 build
index 7426795ca70fe9916d9ba5cdd87520516cb3d846..a072aa7198e4c9fcb8e0db54900d34e504758b9a 100644 (file)
 
 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;