]> sigrok.org Git - libsigrokdecode.git/commitdiff
log: Enable varargs format warnings
authorDaniel Elstner <redacted>
Sun, 13 Sep 2015 19:32:27 +0000 (21:32 +0200)
committerDaniel Elstner <redacted>
Sun, 13 Sep 2015 19:32:27 +0000 (21:32 +0200)
Decorate srd_log() with the GCC format printf attribute so that the
compiler can check the format string and arguments for consistency.

Also remove the srd_err(), sr_warn(), etc. functions and replace
them with macro wrappers around srd_log().


No differences found