Commit c72a4d67 authored by Bob Halley's avatar Bob Halley
Browse files

cleanups

parent a4e41691
/* /*
* 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 * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
...@@ -185,8 +185,6 @@ isc_mem_destroy(isc_mem_t **ctxp) { ...@@ -185,8 +185,6 @@ isc_mem_destroy(isc_mem_t **ctxp) {
*ctxp = NULL; *ctxp = NULL;
} }
static void static void
more_basic_blocks(isc_mem_t *ctx) { more_basic_blocks(isc_mem_t *ctx) {
void *new; void *new;
...@@ -438,6 +436,10 @@ isc_mem_free(isc_mem_t *ctx, void *ptr) { ...@@ -438,6 +436,10 @@ isc_mem_free(isc_mem_t *ctx, void *ptr) {
isc_mem_put(ctx, si, si->size); isc_mem_put(ctx, si, si->size);
} }
/*
* Other useful things.
*/
char * char *
isc_mem_strdup(isc_mem_t *mctx, const char *s) { isc_mem_strdup(isc_mem_t *mctx, const char *s) {
size_t len; size_t len;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment