81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need

<isc/lang.h>.
This commit is contained in:
David Lawrence 2000-04-25 21:16:12 +00:00
parent fa460c223a
commit 58bc93c3dd
4 changed files with 3 additions and 18 deletions

View file

@ -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>.

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */