basic/log: make log_object_internalv static

It makes the code easier to read, because it's obvious that the function
cannot be called from elsewhere.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-02-22 23:07:58 +01:00
parent 4ad2b562ce
commit a3bf71378e
2 changed files with 2 additions and 14 deletions

View file

@ -721,7 +721,8 @@ int log_internal_realm(
return r;
}
int log_object_internalv(
_printf_(10,0)
static int log_object_internalv(
int level,
int error,
const char *file,

View file

@ -144,19 +144,6 @@ int log_object_internal(
const char *extra,
const char *format, ...) _printf_(10,11);
int log_object_internalv(
int level,
int error,
const char *file,
int line,
const char *func,
const char *object_field,
const char *object,
const char *extra_field,
const char *extra,
const char *format,
va_list ap) _printf_(10,0);
int log_struct_internal(
int level,
int error,