second attempt

This commit is contained in:
tildearrow 2022-04-11 13:08:12 -05:00
parent 1abfa0644b
commit 1adc7753be
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ LogEntry logEntries[TA_LOG_SIZE];
static constexpr unsigned int TA_LOG_MASK=TA_LOG_SIZE-1;
int writeLog(int level, const char* msg, fmt::printf_args& args) {
int writeLog(int level, const char* msg, fmt::printf_args args) {
time_t thisMakesNoSense=time(NULL);
int pos=logPosition;
logPosition=(logPosition+1)&TA_LOG_MASK;

View File

@ -49,7 +49,7 @@ struct LogEntry {
ready(false) {}
};
int writeLog(int level, const char* msg, fmt::printf_args& args);
int writeLog(int level, const char* msg, fmt::printf_args args);
extern LogEntry logEntries[TA_LOG_SIZE];