X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fols.c;h=0e220534bf7a18187184a5dceef0ba2bf99a4fc1;hb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;hp=3c6e59413776870154bb33a9dc4d415512349c9d;hpb=dafafb0e9429fcc9185df1c861184ce79defb7ee;p=libsigrok.git diff --git a/output/ols.c b/output/ols.c index 3c6e5941..0e220534 100644 --- a/output/ols.c +++ b/output/ols.c @@ -31,14 +31,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "output/ols: " -#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/ols" struct context { uint64_t samplerate;