1 1.1 christos /* $NetBSD: backtrace-emptytbl.c,v 1.2 2024/08/18 20:47:14 christos Exp $ */ 2 1.1 christos 3 1.1 christos /* 4 1.1 christos * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") 5 1.1 christos * 6 1.1 christos * Permission to use, copy, modify, and/or distribute this software for any 7 1.1 christos * purpose with or without fee is hereby granted, provided that the above 8 1.1 christos * copyright notice and this permission notice appear in all copies. 9 1.1 christos * 10 1.1 christos * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 11 1.1 christos * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 12 1.1 christos * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 13 1.1 christos * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 14 1.1 christos * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 15 1.1 christos * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 1.1 christos * PERFORMANCE OF THIS SOFTWARE. 17 1.1 christos */ 18 1.1 christos 19 1.1 christos /* Id: backtrace-emptytbl.c,v 1.3 2009/09/01 20:13:44 each Exp */ 20 1.1 christos 21 1.1 christos /*! \file */ 22 1.1 christos 23 1.1 christos /* 24 1.1 christos * This file defines an empty (default) symbol table used in backtrace.c 25 1.1 christos * If the application wants to have a complete symbol table, it should redefine 26 1.1 christos * isc__backtrace_symtable with the complete table in some way, and link the 27 1.1 christos * version of the library not including this definition 28 1.1 christos * (e.g. libisc-nosymbol.a). 29 1.1 christos */ 30 1.1 christos 31 1.1 christos #include <config.h> 32 1.1 christos 33 1.1 christos #include <isc/backtrace.h> 34 1.1 christos 35 1.1 christos const int isc__backtrace_nsymbols = 0; 36 1.1 christos const isc_backtrace_symmap_t isc__backtrace_symtable[] = { { NULL, "" } }; 37