dwarf_dealloc.c revision 179187
198184Sgordon/*- 298184Sgordon * Copyright (c) 2007 John Birrell (jb@freebsd.org) 398184Sgordon * All rights reserved. 498184Sgordon * 598184Sgordon * Redistribution and use in source and binary forms, with or without 698184Sgordon * modification, are permitted provided that the following conditions 798184Sgordon * are met: 898184Sgordon * 1. Redistributions of source code must retain the above copyright 9136224Smtm * notice, this list of conditions and the following disclaimer. 1098184Sgordon * 2. Redistributions in binary form must reproduce the above copyright 1198184Sgordon * notice, this list of conditions and the following disclaimer in the 1298184Sgordon * documentation and/or other materials provided with the distribution. 1398184Sgordon * 14231653Sdougb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1598184Sgordon * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1698184Sgordon * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1798184Sgordon * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1898184Sgordon * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1998184Sgordon * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * $FreeBSD: head/lib/libdwarf/dwarf_dealloc.c 179187 2008-05-22 02:14:23Z jb $ 27 */ 28 29#include "_libdwarf.h" 30 31void 32dwarf_dealloc(Dwarf_Debug dbg __unused, Dwarf_Ptr p __unused, Dwarf_Unsigned alloc_type __unused) 33{ 34 /* 35 * This libdwarf implementation doesn't use this style 36 * of memory allocation. It doesn't copy things to return 37 * them to the client, so the client doesn't need to 38 * remember to free them. 39 */ 40 return; 41} 42