1/* $NetBSD: backtrace-emptytbl.c,v 1.1 2024/02/18 20:57:48 christos Exp $ */ 2 3/* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * SPDX-License-Identifier: MPL-2.0 7 * 8 * This Source Code Form is subject to the terms of the Mozilla Public 9 * License, v. 2.0. If a copy of the MPL was not distributed with this 10 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 11 * 12 * See the COPYRIGHT file distributed with this work for additional 13 * information regarding copyright ownership. 14 */ 15 16/*! \file */ 17 18/* 19 * This file defines an empty (default) symbol table used in backtrace.c 20 * If the application wants to have a complete symbol table, it should redefine 21 * isc__backtrace_symtable with the complete table in some way, and link the 22 * version of the library not including this definition 23 * (e.g. libisc-nosymbol.a). 24 */ 25 26#include <isc/backtrace.h> 27 28LIBISC_EXTERNAL_DATA const int isc__backtrace_nsymbols = 0; 29LIBISC_EXTERNAL_DATA const isc_backtrace_symmap_t isc__backtrace_symtable[] = { 30 { NULL, "" } 31}; 32