Skip to content

Commit

Permalink
Merge pull request #19 from AndreLaranjeira/patch_1.0.2_static_modifier
Browse files Browse the repository at this point in the history
Added static modifier to private logger variables
  • Loading branch information
AndreLaranjeira authored Sep 22, 2021
2 parents e1cb1fd + 998815b commit eceed82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/message_logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include "message_logger.h"

// Private variables:
char time_fmt[TIME_FMT_SIZE] = "%H:%M:%S %d-%m-%Y";
FILE *log_file = NULL;
pthread_mutex_t *logger_recursive_mutex = NULL;
static char time_fmt[TIME_FMT_SIZE] = "%H:%M:%S %d-%m-%Y";
static FILE *log_file = NULL;
static pthread_mutex_t *logger_recursive_mutex = NULL;

// Private function headers:
static void apply_all_default_attributes();
Expand Down

0 comments on commit eceed82

Please sign in to comment.