From 2438f9e9ea3ad954a245d82e9740276cef7e337e Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Sat, 16 Mar 2024 13:46:11 +0000 Subject: [PATCH] Remove unused common function --- src/common.c | 5 ----- src/common.h | 8 -------- 2 files changed, 13 deletions(-) diff --git a/src/common.c b/src/common.c index a09bea3..50fa9d5 100644 --- a/src/common.c +++ b/src/common.c @@ -44,11 +44,6 @@ flog_print_error(FlogError error) { fprintf(stderr, "%s: %s\n", PROGRAM_NAME, flog_error_string(error)); } -void -flog_print_error_string(const char *error) { - fprintf(stderr, "%s: %s", PROGRAM_NAME, error); -} - void flog_usage(void) { printf( diff --git a/src/common.h b/src/common.h index eab7861..a73e4ca 100644 --- a/src/common.h +++ b/src/common.h @@ -64,12 +64,4 @@ const char * flog_get_error_string(FlogError error); */ void flog_print_error(FlogError error); -/*! \brief Print a formatted error message string. - * - * \param[out] error A null-terminated string describing the error condition. - * - * \return void - */ -void flog_print_error_string(const char *error); - #endif //FLOG_COMMON_H