diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 51785de8ff..96e97b0c98 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -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;