summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 21:32:27 +0200
committerDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 21:32:27 +0200
commitfd4918101e0878be9d399a344511253f5867a646 (patch)
tree4979db79a74b07692cedd34589ba01771958b6fb /util.c
parent9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c (diff)
downloadlibsigrokdecode-fd4918101e0878be9d399a344511253f5867a646.tar.gz
libsigrokdecode-fd4918101e0878be9d399a344511253f5867a646.zip
log: Enable varargs format warnings
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().
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions