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:
Ján Tomko 2020-02-14 00:12:24 +01:00
parent 35eca23144
commit 59ab98c112
3 changed files with 2 additions and 11 deletions

View File

@ -2475,7 +2475,6 @@ virLogSetFilters;
virLogSetFromEnv;
virLogSetOutputs;
virLogUnlock;
virLogVMessage;
# util/virmacaddr.h

View File

@ -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,

View File

@ -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,