mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 01:28:05 -04:00
81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
<isc/lang.h>.
This commit is contained in:
parent
fa460c223a
commit
58bc93c3dd
4 changed files with 3 additions and 18 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
|
||||
<isc/lang.h>.
|
||||
|
||||
80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
|
||||
|
||||
79. [cleanup] <dns/callbacks.h> does not need <stdio.h>.
|
||||
|
|
|
|||
|
|
@ -18,16 +18,10 @@
|
|||
#ifndef ISC_BOOLEAN_H
|
||||
#define ISC_BOOLEAN_H 1
|
||||
|
||||
#include <isc/lang.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
typedef enum { isc_boolean_false = 0, isc_boolean_true = 1 } isc_boolean_t;
|
||||
|
||||
#define ISC_FALSE isc_boolean_false
|
||||
#define ISC_TRUE isc_boolean_true
|
||||
#define ISC_TF(x) ((x) ? ISC_TRUE : ISC_FALSE)
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_BOOLEAN_H */
|
||||
|
|
|
|||
|
|
@ -18,10 +18,6 @@
|
|||
#ifndef ISC_INT_H
|
||||
#define ISC_INT_H 1
|
||||
|
||||
#include <isc/lang.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
typedef char isc_int8_t;
|
||||
typedef unsigned char isc_uint8_t;
|
||||
typedef short isc_int16_t;
|
||||
|
|
@ -31,6 +27,4 @@ typedef unsigned int isc_uint32_t;
|
|||
typedef long long isc_int64_t;
|
||||
typedef unsigned long long isc_uint64_t;
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_INT_H */
|
||||
|
|
|
|||
|
|
@ -18,10 +18,6 @@
|
|||
#ifndef ISC_INT_H
|
||||
#define ISC_INT_H 1
|
||||
|
||||
#include <isc/lang.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
typedef __int8 isc_int8_t;
|
||||
typedef unsigned __int8 isc_uint8_t;
|
||||
typedef __int16 isc_int16_t;
|
||||
|
|
@ -31,6 +27,4 @@ typedef unsigned __int32 isc_uint32_t;
|
|||
typedef __int64 isc_int64_t;
|
||||
typedef unsigned __int64 isc_uint64_t;
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_INT_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue