1*eabc0478Schristos /* $NetBSD: backtrace-emptytbl.c,v 1.2 2024/08/18 20:47:14 christos Exp $ */ 2897be3a4Schristos 3897be3a4Schristos /* 4897be3a4Schristos * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") 5897be3a4Schristos * 6897be3a4Schristos * Permission to use, copy, modify, and/or distribute this software for any 7897be3a4Schristos * purpose with or without fee is hereby granted, provided that the above 8897be3a4Schristos * copyright notice and this permission notice appear in all copies. 9897be3a4Schristos * 10897be3a4Schristos * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 11897be3a4Schristos * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 12897be3a4Schristos * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 13897be3a4Schristos * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 14897be3a4Schristos * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 15897be3a4Schristos * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16897be3a4Schristos * PERFORMANCE OF THIS SOFTWARE. 17897be3a4Schristos */ 18897be3a4Schristos 19897be3a4Schristos /* Id: backtrace-emptytbl.c,v 1.3 2009/09/01 20:13:44 each Exp */ 20897be3a4Schristos 21897be3a4Schristos /*! \file */ 22897be3a4Schristos 23897be3a4Schristos /* 24897be3a4Schristos * This file defines an empty (default) symbol table used in backtrace.c 25897be3a4Schristos * If the application wants to have a complete symbol table, it should redefine 26897be3a4Schristos * isc__backtrace_symtable with the complete table in some way, and link the 27897be3a4Schristos * version of the library not including this definition 28897be3a4Schristos * (e.g. libisc-nosymbol.a). 29897be3a4Schristos */ 30897be3a4Schristos 31897be3a4Schristos #include <config.h> 32897be3a4Schristos 33897be3a4Schristos #include <isc/backtrace.h> 34897be3a4Schristos 35897be3a4Schristos const int isc__backtrace_nsymbols = 0; 36897be3a4Schristos const isc_backtrace_symmap_t isc__backtrace_symtable[] = { { NULL, "" } }; 37