mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 13:32:11 -04:00
cleanups
This commit is contained in:
parent
a4e4169138
commit
c72a4d674d
1 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 1997, 1998 Internet Software Consortium.
|
||||
* Copyright (C) 1997, 1998, 1999 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
|
@ -185,8 +185,6 @@ isc_mem_destroy(isc_mem_t **ctxp) {
|
|||
*ctxp = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void
|
||||
more_basic_blocks(isc_mem_t *ctx) {
|
||||
void *new;
|
||||
|
|
@ -438,6 +436,10 @@ isc_mem_free(isc_mem_t *ctx, void *ptr) {
|
|||
isc_mem_put(ctx, si, si->size);
|
||||
}
|
||||
|
||||
/*
|
||||
* Other useful things.
|
||||
*/
|
||||
|
||||
char *
|
||||
isc_mem_strdup(isc_mem_t *mctx, const char *s) {
|
||||
size_t len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue