diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2018-06-28 16:42:05 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2018-06-29 19:02:21 +0100 |
commit | 4b0c25823fd66812c9718e852be74b147cf183b9 (patch) | |
tree | 8ecef625d2dbf83f7bc0917807387a893544522c | |
parent | 0385a67ef85ad985f186f2050f5ddc0c58fbea10 (diff) |
log: Remove spice_printerr macro
All usages of this macro were removed.
A library should not log to standard error but use log facilities
so remove this macro to avoid possible future usage.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
-rw-r--r-- | common/log.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/log.h b/common/log.h index e0fd34b..74b3806 100644 --- a/common/log.h +++ b/common/log.h @@ -57,10 +57,6 @@ void spice_log(GLogLevelFlags log_level, spice_log(G_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, "should not be reached"); \ } G_STMT_END -#define spice_printerr(format, ...) G_STMT_START { \ - fprintf(stderr, "%s: " format "\n", __FUNCTION__, ## __VA_ARGS__); \ -} G_STMT_END - #define spice_info(format, ...) G_STMT_START { \ spice_log(G_LOG_LEVEL_INFO, SPICE_STRLOC, __FUNCTION__, "" format, ## __VA_ARGS__); \ } G_STMT_END |