This commit is contained in:
Bob Halley 1999-01-14 19:52:52 +00:00
parent a4e4169138
commit c72a4d674d

View file

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