summaryrefslogtreecommitdiff
path: root/src/basic/log.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-02-22 23:07:58 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:59:04 +0200
commit21b1e5ac6030ab760cf7ebd9971f50042e8629a1 (patch)
tree9dbb8540a2e8538229b76e7d71b8c0f347f3b1d7 /src/basic/log.c
parent9704e5100d5779b9cf7f6085796c54ef4efbe6a1 (diff)
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.
Diffstat (limited to 'src/basic/log.c')
-rw-r--r--src/basic/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/log.c b/src/basic/log.c
index bd9d55a17..8398a326a 100644
--- a/src/basic/log.c
+++ b/src/basic/log.c
@@ -737,7 +737,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,