mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-08-11 09:56:06 +00:00
includes: format __attribute__ func. annotations in qblog.h
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
ea35cfaa61
commit
736e2c8153
@ -296,7 +296,8 @@ void qb_log_from_external_source(const char *function,
|
||||
uint8_t priority,
|
||||
uint32_t lineno,
|
||||
uint32_t tags,
|
||||
...);
|
||||
...)
|
||||
__attribute__ ((format (printf, 3, 7)));
|
||||
|
||||
/**
|
||||
* Get or create a callsite at the give position.
|
||||
@ -323,7 +324,8 @@ void qb_log_from_external_source_va(const char *function,
|
||||
uint8_t priority,
|
||||
uint32_t lineno,
|
||||
uint32_t tags,
|
||||
va_list ap);
|
||||
va_list ap)
|
||||
__attribute__ ((format (printf, 3, 0)));
|
||||
|
||||
/**
|
||||
* This is the function to generate a log message if you want to
|
||||
|
||||
Loading…
Reference in New Issue
Block a user