Skip to content

Commit

Permalink
fixup stupid typos
Browse files Browse the repository at this point in the history
  • Loading branch information
w23 committed Jan 11, 2024
1 parent f3ebaab commit a434e48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/log.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include "log.h"

#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
void logOpen(const char *logfile);
void logClose(void);

void logPrintf(PRINTF_ARG(const char *format), ...) PRINTF_ATTR(0, 1);
void logPrintf(PRINTF_ARG(const char *format), ...) PRINTF_ATTR(1, 2);

#define PRINTF(fmt, ...) logPrintf(__FILE__ ":" STR(__LINE__) ": " fmt "\n", __VA_ARGS__)
#define PRINT(msg) logPrintf(__FILE__ ":" STR(__LINE__) ": %s\n", msg)
Expand Down

0 comments on commit a434e48

Please sign in to comment.