diff options
author | 2004-12-07 17:10:56 +0000 | |
---|---|---|
committer | 2004-12-07 17:10:56 +0000 | |
commit | a176bc3ee0772f34303003a5d023d099e5458b4c (patch) | |
tree | 700dea46dcad9da741b27f39f1f6156607eff32f /usr.bin/cvs/log.c | |
parent | avoid a crash when receiving either a Created, Updated, Update-existing (diff) | |
download | wireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.tar.xz wireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.zip |
less whitespace, more pretty. ok jfb
Diffstat (limited to 'usr.bin/cvs/log.c')
-rw-r--r-- | usr.bin/cvs/log.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/cvs/log.c b/usr.bin/cvs/log.c index 720ca205d13..0932ca5162d 100644 --- a/usr.bin/cvs/log.c +++ b/usr.bin/cvs/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.6 2004/12/06 21:03:12 deraadt Exp $ */ +/* $OpenBSD: log.c,v 1.7 2004/12/07 17:10:56 tedu Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -82,7 +82,6 @@ static struct syslog_data cvs_sl; * Initialize the logging facility of the server. * Returns 0 on success, or -1 on failure. */ - int cvs_log_init(u_int dest, u_int flags) { @@ -116,12 +115,11 @@ cvs_log_init(u_int dest, u_int flags) * * Cleanup the logging facility. */ - void cvs_log_cleanup(void) { - closelog_r(&cvs_sl); + closelog_r(&cvs_sl); } @@ -184,7 +182,6 @@ cvs_log_filter(u_int how, u_int level) * The <fmt> argument should not have a terminating newline, as this is taken * care of by the logging facility. */ - int cvs_log(u_int level, const char *fmt, ...) { @@ -205,7 +202,6 @@ cvs_log(u_int level, const char *fmt, ...) * The <fmt> argument should not have a terminating newline, as this is taken * care of by the logging facility. */ - int cvs_vlog(u_int level, const char *fmt, va_list vap) { @@ -286,7 +282,6 @@ cvs_vlog(u_int level, const char *fmt, va_list vap) * Wrapper function around printf() that prepends a 'M' or 'E' command when * the program is acting as server. */ - int cvs_printf(const char *fmt, ...) { |