mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Replace GCC "unused" and "format" attributes with portable macros
This commit is contained in:
parent
f952d5a305
commit
7eb70a453b
7 changed files with 18 additions and 10 deletions
3
log.c
3
log.c
|
|
@ -79,8 +79,7 @@ _log(enum log_class log_class, const char *module, const char *file, int lineno,
|
|||
|
||||
static void
|
||||
_sys_log(enum log_class log_class, const char *module,
|
||||
const char *file __attribute__((unused)),
|
||||
int lineno __attribute__((unused)),
|
||||
const char UNUSED *file, int UNUSED lineno,
|
||||
const char *fmt, int sys_errno, va_list va)
|
||||
{
|
||||
if (!do_syslog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue