diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-29 14:22:59 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-05 15:03:33 +0200 |
commit | a5bbefa6fb799ba009b9704bb440e22778cd5d51 (patch) | |
tree | d17e783ddff0101e0ed0b4a46b49c60df8a2dc8b /log.h | |
parent | f30ed68c52734b549304f808b780972f93b0515d (diff) | |
download | passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar.gz passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar.bz2 passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar.lz passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar.xz passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.tar.zst passt-a5bbefa6fb799ba009b9704bb440e22778cd5d51.zip |
log: Make logfile_write() private
logfile_write() is not used outside log.c, nor should it be. It should
only be used externall via the general logging functions. Make it static
in log.c. To avoid forward declarations this requires moving a bunch of
functions earlier in the file.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -56,7 +56,6 @@ void trace_init(int enable); void __openlog(const char *ident, int option, int facility); void logfile_init(const char *name, const char *path, size_t size); void passt_vsyslog(bool newline, int pri, const char *format, va_list ap); -void logfile_write(bool newline, int pri, const char *format, va_list ap); void __setlogmask(int mask); #endif /* LOG_H */ |