X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Fbits.c;h=ff149650fe9c540789db9a0b5d6c87ef8ddbfadb;hb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;hp=e0a9812c94aed21e904dae0b779a3e45d2c8ec2a;hpb=dafafb0e9429fcc9185df1c861184ce79defb7ee;p=libsigrok.git diff --git a/output/text/bits.c b/output/text/bits.c index e0a9812c..ff149650 100644 --- a/output/text/bits.c +++ b/output/text/bits.c @@ -25,14 +25,7 @@ #include "libsigrok-internal.h" #include "text.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "output/bits: " -#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/bits" SR_PRIV int init_bits(struct sr_output *o) {