From fcdd365bbf062559cff1c0e4a5a88fa329aa7fce Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 28 Mar 2000 02:59:46 +0000 Subject: [PATCH] Moved isc_buffer_t typedef from buffer.h to types.h --- lib/isc/include/isc/buffer.h | 2 +- lib/isc/include/isc/types.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/isc/include/isc/buffer.h b/lib/isc/include/isc/buffer.h index 4532d081aa..680bdf45b3 100644 --- a/lib/isc/include/isc/buffer.h +++ b/lib/isc/include/isc/buffer.h @@ -106,6 +106,7 @@ #include #include #include +#include ISC_LANG_BEGINDECLS @@ -150,7 +151,6 @@ ISC_LANG_BEGINDECLS * discouraged from directly manipulating the structure. */ -typedef struct isc_buffer isc_buffer_t; struct isc_buffer { unsigned int magic; unsigned int type; diff --git a/lib/isc/include/isc/types.h b/lib/isc/include/isc/types.h index 16b42a918d..845ef51a19 100644 --- a/lib/isc/include/isc/types.h +++ b/lib/isc/include/isc/types.h @@ -44,6 +44,7 @@ typedef struct isc_rwlock isc_rwlock_t; typedef struct isc_bitstring isc_bitstring_t; typedef struct isc_sockaddr isc_sockaddr_t; typedef struct isc_netaddr isc_netaddr_t; +typedef struct isc_buffer isc_buffer_t; typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);