Skip to content

Commit

Permalink
Remove unused common function
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Mar 16, 2024
1 parent efb2152 commit 2438f9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 0 additions & 8 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2438f9e

Please sign in to comment.