mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
util: virlog: unexport virLogVMessage
Last usage out of virlog.c was removed by
commit 91268c715c
node_device_udev: remove deprecated logging function
Also drop the virbuffer.h include - it seems it was never used
for anything else than the transitive stdarg.h include.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
35eca23144
commit
59ab98c112
@ -2475,7 +2475,6 @@ virLogSetFilters;
|
||||
virLogSetFromEnv;
|
||||
virLogSetOutputs;
|
||||
virLogUnlock;
|
||||
virLogVMessage;
|
||||
|
||||
|
||||
# util/virmacaddr.h
|
||||
|
@ -493,7 +493,8 @@ virLogSourceUpdate(virLogSourcePtr source)
|
||||
* Call the libvirt logger with some information. Based on the configuration
|
||||
* the message may be stored, sent to output or just discarded
|
||||
*/
|
||||
void
|
||||
static void
|
||||
G_GNUC_PRINTF(7, 0)
|
||||
virLogVMessage(virLogSourcePtr source,
|
||||
virLogPriority priority,
|
||||
const char *filename,
|
||||
|
@ -22,7 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
#include "virbuffer.h"
|
||||
|
||||
#ifdef PACKAGER_VERSION
|
||||
# ifdef PACKAGER
|
||||
@ -178,14 +177,6 @@ void virLogMessage(virLogSourcePtr source,
|
||||
const char *funcname,
|
||||
virLogMetadataPtr metadata,
|
||||
const char *fmt, ...) G_GNUC_PRINTF(7, 8);
|
||||
void virLogVMessage(virLogSourcePtr source,
|
||||
virLogPriority priority,
|
||||
const char *filename,
|
||||
int linenr,
|
||||
const char *funcname,
|
||||
virLogMetadataPtr metadata,
|
||||
const char *fmt,
|
||||
va_list vargs) G_GNUC_PRINTF(7, 0);
|
||||
|
||||
bool virLogProbablyLogMessage(const char *str);
|
||||
virLogOutputPtr virLogOutputNew(virLogOutputFunc f,
|
||||
|
Loading…
Reference in New Issue
Block a user