diff options
author | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-03-04 17:45:00 +0000 |
commit | 9b1ed4c5c6b1f917047f4e8d9c4e046c7e69e8e1 (patch) | |
tree | 80a92f6ee7bdab3dc9e8303de2a4047ace6c4c1b /lib/debug.c | |
parent | cf26c4f3f49d613cddb25d3200438cba831f5c95 (diff) | |
download | quagga-9b1ed4c5c6b1f917047f4e8d9c4e046c7e69e8e1.tar.bz2 quagga-9b1ed4c5c6b1f917047f4e8d9c4e046c7e69e8e1.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); } |