Skip to content

Commit

Permalink
Move logging function definitions into fr_log.h
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 8, 2017
1 parent d4e9cc7 commit 4fa4ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/include/fr_log.h
Expand Up @@ -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));

Expand Down
2 changes: 0 additions & 2 deletions src/include/libradius.h
Expand Up @@ -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.
Expand Down

0 comments on commit 4fa4ac6

Please sign in to comment.