diff options
author | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
commit | fa2b17e39499a77f41a719035a588b7fb63cec63 (patch) | |
tree | 3356703917aaa8359e0106ae3c2340ee6eea0e1f /lib/debug.c | |
parent | caa6f8ac7d07f8cd3269255e6dce6d248f74af62 (diff) | |
download | quagga-fa2b17e39499a77f41a719035a588b7fb63cec63.tar.bz2 quagga-fa2b17e39499a77f41a719035a588b7fb63cec63.tar.xz |
Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER
from vtysh ([quagga-dev 932]).
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/debug.c b/lib/debug.c index c4b67a52..252e4dd7 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -4,6 +4,7 @@ void debug_print_trace (int signal) { +#ifdef HAVE_GLIBC_BACKTRACE void *array[10]; size_t size; char **strings; @@ -18,6 +19,7 @@ debug_print_trace (int signal) printf ("%s\n", strings[i]); free (strings); +#endif /* HAVE_GLIBC_BACKTRACE */ exit(1); } |