mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
85. [cleanup] <isc/bufferlist.h> does not need <isc/mem.h>,
<isc/region.h> or <isc/int.h>.
This commit is contained in:
parent
32d7adf5ee
commit
408c676732
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
|||||||
|
85. [cleanup] <isc/bufferlist.h> does not need <isc/mem.h>,
|
||||||
|
<isc/region.h> or <isc/int.h>.
|
||||||
|
|
||||||
84. [func] allow-query ACL checks now apply to all data
|
84. [func] allow-query ACL checks now apply to all data
|
||||||
added to a response.
|
added to a response.
|
||||||
|
@ -17,14 +17,15 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include <isc/assertions.h>
|
#include <isc/assertions.h>
|
||||||
#include <isc/buffer.h>
|
#include <isc/buffer.h>
|
||||||
#include <isc/bufferlist.h>
|
#include <isc/bufferlist.h>
|
||||||
#include <isc/list.h>
|
#include <isc/list.h>
|
||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
isc_bufferlist_usedcount(isc_bufferlist_t *bl)
|
isc_bufferlist_usedcount(isc_bufferlist_t *bl) {
|
||||||
{
|
|
||||||
isc_buffer_t *buffer;
|
isc_buffer_t *buffer;
|
||||||
unsigned int length;
|
unsigned int length;
|
||||||
|
|
||||||
@ -42,8 +43,7 @@ isc_bufferlist_usedcount(isc_bufferlist_t *bl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
isc_bufferlist_availablecount(isc_bufferlist_t *bl)
|
isc_bufferlist_availablecount(isc_bufferlist_t *bl) {
|
||||||
{
|
|
||||||
isc_buffer_t *buffer;
|
isc_buffer_t *buffer;
|
||||||
unsigned int length;
|
unsigned int length;
|
||||||
|
|
||||||
|
@ -45,9 +45,6 @@
|
|||||||
#include <isc/lang.h>
|
#include <isc/lang.h>
|
||||||
#include <isc/buffer.h>
|
#include <isc/buffer.h>
|
||||||
#include <isc/list.h>
|
#include <isc/list.h>
|
||||||
#include <isc/mem.h>
|
|
||||||
#include <isc/region.h>
|
|
||||||
#include <isc/int.h>
|
|
||||||
|
|
||||||
ISC_LANG_BEGINDECLS
|
ISC_LANG_BEGINDECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user