X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Fhex.c;h=e9102608ffb1bfe29bb09996e784ccb56bc42517;hb=67d6f6fca2b85f2ef6a7e03383ebdcd2ce877eab;hp=1c2757cc0e84e3845b4014b4f0aecfa71f452813;hpb=8c273ac57ce34d5a8c8b5093413564af69968041;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) {