From 9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Sun, 13 Sep 2015 21:10:40 +0200 Subject: log: Remove srd_log_logdomain_{get,set} from the API The confusingly named srd_log_logdomain_set() simply set a global string prefixed to the log message by the default log callback. This is pretty much useless, misleadingly named, and not used by either sigrok-cli or PulseView. --- libsigrokdecode.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libsigrokdecode.h') diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 9d403dd..03a5de0 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -310,8 +310,6 @@ SRD_API int srd_log_loglevel_set(int loglevel); SRD_API int srd_log_loglevel_get(void); SRD_API int srd_log_callback_set(srd_log_callback cb, void *cb_data); SRD_API int srd_log_callback_set_default(void); -SRD_API int srd_log_logdomain_set(const char *logdomain); -SRD_API char *srd_log_logdomain_get(void); /* error.c */ SRD_API const char *srd_strerror(int error_code); -- cgit v1.2.3-70-g09d2