From: Jeffrey Altman Date: Fri, 15 Jan 2010 14:00:41 +0000 (-0500) Subject: Rx: Remove last remnants of DJGPP support X-Git-Tag: openafs-devel-1_5_69~15 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=c1b74af7504e699ac831c81d0d7556ca36239298 Rx: Remove last remnants of DJGPP support DJGPP code just clutters the AFS_NT40_ENV specific code but is never built. Change-Id: I90192bb5cf35239fdbbeaa28f85d1381162f3bae Reviewed-on: http://gerrit.openafs.org/1106 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/rx/rx_user.c b/src/rx/rx_user.c index 0516457..167b9c7 100644 --- a/src/rx/rx_user.c +++ b/src/rx/rx_user.c @@ -326,15 +326,6 @@ rx_getAllAddr(afs_uint32 * buffer, int maxSize) /* The IP address list can change so we must query for it */ rx_GetIFInfo(); -#ifdef AFS_DJGPP_ENV - /* we don't want to use the loopback adapter which is first */ - /* this is a bad bad hack. - * and doesn't hold true on Windows. - */ - if ( rxi_numNetAddrs > 1 ) - offset = 1; -#endif /* AFS_DJGPP_ENV */ - for (count = 0; offset < rxi_numNetAddrs && maxSize > 0; count++, offset++, maxSize--) buffer[count] = htonl(rxi_NetAddrs[offset]); @@ -356,15 +347,6 @@ rx_getAllAddrMaskMtu(afs_uint32 addrBuffer[], afs_uint32 maskBuffer[], /* The IP address list can change so we must query for it */ rx_GetIFInfo(); -#ifdef AFS_DJGPP_ENV - /* we don't want to use the loopback adapter which is first */ - /* this is a bad bad hack. - * and doesn't hold true on Windows. - */ - if ( rxi_numNetAddrs > 1 ) - offset = 1; -#endif /* AFS_DJGPP_ENV */ - for (count = 0; offset < rxi_numNetAddrs && maxSize > 0; count++, offset++, maxSize--) {