]> git.puffer.fish Git - matthieu/frr.git/commit
lib: HAVE_GLIBC_BACKTRACE does not belong in zebra.h
authorDonald Sharp <sharpd@nvidia.com>
Thu, 4 Jan 2024 19:20:40 +0000 (14:20 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 4 Jan 2024 19:20:40 +0000 (14:20 -0500)
commitfbc31156f0ae2d1a345994e2de95166e28fa70ac
tree871d1b76993c8676a9b7611d0cee923631fbb45a
parenta57379fa140ee48da521061f358b34ebc6ea7875
lib: HAVE_GLIBC_BACKTRACE does not belong in zebra.h

The backtrace functionality has been abstracted over
to zlog_backtrace().  Now that every place uses this
move the inclusion for HAVE_GLIBC_BACKTRACE into
the appropriate files instead of having everyone
pay for this costly include.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/log.c
lib/zebra.h
lib/zlog.c