X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=session.c;h=e1fb5cfb2bf00df9e600024365acb16a1a00c8ff;hb=23e1ea7a7d862a8f5173dd12c62d6a4b2e7e9015;hp=2725d6e9b7b74d44251ea857b2079f3a641735b0;hpb=04cb915716ecdc1ee26440b4c09bc2f2de183631;p=libsigrok.git diff --git a/session.c b/session.c index 2725d6e9..e1fb5cfb 100644 --- a/session.c +++ b/session.c @@ -25,14 +25,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "session: " -#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 "session" /** * @file @@ -75,7 +68,7 @@ struct sr_session *session; * The same question applies to all the other session functions. * * @retval NULL Error. - * @retval other A pointer to the newly allocated session-> + * @retval other A pointer to the newly allocated session. */ SR_API struct sr_session *sr_session_new(void) {