summaryrefslogtreecommitdiff
path: root/src/libudev/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/log.c')
-rw-r--r--src/libudev/log.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/libudev/log.c b/src/libudev/log.c
index 64baa9a3b3..ba85494c4e 100644
--- a/src/libudev/log.c
+++ b/src/libudev/log.c
@@ -630,29 +630,6 @@ int log_meta(
return r;
}
-int log_metav_object(
- int level,
- const char*file,
- int line,
- const char *func,
- const char *object_name,
- const char *object,
- const char *format,
- va_list ap) {
-
- PROTECT_ERRNO;
- char buffer[LINE_MAX];
-
- if (_likely_(LOG_PRI(level) > log_max_level))
- return 0;
-
- vsnprintf(buffer, sizeof(buffer), format, ap);
- char_array_0(buffer);
-
- return log_dispatch(level, file, line, func,
- object_name, object, buffer);
-}
-
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
_noreturn_ static void log_assert(const char *text, const char *file, int line, const char *func, const char *format) {
@@ -681,14 +658,6 @@ int log_oom_internal(const char *file, int line, const char *func) {
return -ENOMEM;
}
-void log_show_color(bool b) {
- show_color = b;
-}
-
-void log_show_location(bool b) {
- show_location = b;
-}
-
static const char *const log_target_table[] = {
[LOG_TARGET_CONSOLE] = "console",
[LOG_TARGET_KMSG] = "kmsg",