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