mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-03 13:59:27 -04:00
remove unused byte swapping macros and the associated non-portable includes
[RT #1239]
This commit is contained in:
parent
1c0ff8a9cc
commit
3f8a9e5196
1 changed files with 1 additions and 11 deletions
|
|
@ -16,7 +16,7 @@
|
|||
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: util.h,v 1.2 2001/03/27 20:08:15 bwelling Exp $ */
|
||||
/* $Id: util.h,v 1.3 2001/05/03 18:38:17 bwelling Exp $ */
|
||||
|
||||
#ifndef ISCCC_UTIL_H
|
||||
#define ISCCC_UTIL_H 1
|
||||
|
|
@ -183,16 +183,6 @@
|
|||
w += c; \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* Byte swapping
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#define N2HO(v) ntohl(v)
|
||||
#define H2NO(v) htonl(v)
|
||||
|
||||
/*
|
||||
* Regions.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue