diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-11-11 20:33:41 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-11-11 20:41:27 +0100 |
commit | e36f61b507746afff375759b1e496af529b98b26 (patch) | |
tree | 98bbe33ad8052fe135e3955bba02d7c34734c3fe /lib/log.h | |
parent | *: Convert quagga_signal_X to frr_signal_X (diff) | |
download | frr-e36f61b507746afff375759b1e496af529b98b26.tar.xz frr-e36f61b507746afff375759b1e496af529b98b26.zip |
*: Rename quagga_timestamp with frr_timestamp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/log.h')
-rw-r--r-- | lib/log.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -102,9 +102,9 @@ extern void zlog_backtrace_sigsafe(int priority, void *program_counter); It caches the most recent localtime result and can therefore avoid multiple calls within the same second. If buflen is too small, *buf will be set to '\0', and 0 will be returned. */ -#define QUAGGA_TIMESTAMP_LEN 40 -extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */, - char *buf, size_t buflen); +#define FRR_TIMESTAMP_LEN 40 +extern size_t frr_timestamp(int timestamp_precision /* # subsecond digits */, + char *buf, size_t buflen); extern void zlog_hexdump(const void *mem, size_t len); extern const char *zlog_sanitize(char *buf, size_t bufsz, const void *in, @@ -135,8 +135,8 @@ struct timestamp_control { size_t len; /* length of rendered timestamp */ int precision; /* configuration parameter */ int already_rendered; /* should be initialized to 0 */ - char buf[QUAGGA_TIMESTAMP_LEN]; /* will contain the rendered timestamp - */ + char buf[FRR_TIMESTAMP_LEN]; /* will contain the rendered timestamp + */ }; /* Defines for use in command construction: */ |