X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Fhex.c;h=e9102608ffb1bfe29bb09996e784ccb56bc42517;hb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;hp=1c2757cc0e84e3845b4014b4f0aecfa71f452813;hpb=dafafb0e9429fcc9185df1c861184ce79defb7ee;p=libsigrok.git diff --git a/output/text/hex.c b/output/text/hex.c index 1c2757cc..e9102608 100644 --- a/output/text/hex.c +++ b/output/text/hex.c @@ -25,14 +25,7 @@ #include "libsigrok-internal.h" #include "text.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "output/hex: " -#define sr_log(l, s, args...) sr_log(l, LOG_PREFIX s, ## args) -#define sr_spew(s, args...) sr_spew(LOG_PREFIX s, ## args) -#define sr_dbg(s, args...) sr_dbg(LOG_PREFIX s, ## args) -#define sr_info(s, args...) sr_info(LOG_PREFIX s, ## args) -#define sr_warn(s, args...) sr_warn(LOG_PREFIX s, ## args) -#define sr_err(s, args...) sr_err(LOG_PREFIX s, ## args) +#define LOG_PREFIX "output/hex" SR_PRIV int init_hex(struct sr_output *o) {