From 4fa4ac62dc3d95e984c32806b57dc2744a61086b Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Mon, 8 May 2017 15:35:49 -0400 Subject: [PATCH] Move logging function definitions into fr_log.h --- src/include/fr_log.h | 4 ++++ src/include/libradius.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/fr_log.h b/src/include/fr_log.h index 7e5dce2bf2d9..63bb1f285406 100644 --- a/src/include/fr_log.h +++ b/src/include/fr_log.h @@ -31,9 +31,13 @@ * @copyright 2016 The FreeRADIUS server project */ +extern FILE *fr_log_fp; + /* * Error functions. */ +void fr_printf_log(char const *, ...) CC_HINT(format (printf, 1, 2)); + void fr_strerror_printf(char const *, ...) CC_HINT(format (printf, 1, 2)); void fr_strerror_printf_push(char const *fmt, ...) CC_HINT(format (printf, 1, 2)); diff --git a/src/include/libradius.h b/src/include/libradius.h index 9975a060a96e..1c95cc7ee2cb 100644 --- a/src/include/libradius.h +++ b/src/include/libradius.h @@ -329,8 +329,6 @@ extern uint32_t fr_max_attributes; /* per incoming packet */ #define FR_MAX_PACKET_CODE (52) extern char const *fr_packet_codes[FR_MAX_PACKET_CODE]; #define is_radius_code(_x) ((_x > 0) && (_x < FR_MAX_PACKET_CODE)) -extern FILE *fr_log_fp; -void fr_printf_log(char const *, ...) CC_HINT(format (printf, 1, 2)); /* * Several handy miscellaneous functions.