]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok-internal.h: factor out logger decl's printf format attribute
authorGerhard Sittig <redacted>
Fri, 6 Oct 2023 16:00:37 +0000 (18:00 +0200)
committerGerhard Sittig <redacted>
Sat, 7 Oct 2023 13:36:09 +0000 (15:36 +0200)
Provide a common ATTR_FMT_PRINTF() macro which hides individual
platforms' details. Use it in one common sr_log() declaration.

This also allows re-use in other locations across the project.


No differences found