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