=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/log.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/cvs/log.c 2004/12/06 21:03:12 1.6 --- src/usr.bin/cvs/log.c 2004/12/07 17:10:56 1.7 *************** *** 1,4 **** ! /* $OpenBSD: log.c,v 1.6 2004/12/06 21:03:12 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: log.c,v 1.7 2004/12/07 17:10:56 tedu Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 82,88 **** * 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) { --- 82,87 ---- *************** *** 116,127 **** * * Cleanup the logging facility. */ - void cvs_log_cleanup(void) { - closelog_r(&cvs_sl); } --- 115,125 ---- * * Cleanup the logging facility. */ void cvs_log_cleanup(void) { + closelog_r(&cvs_sl); } *************** *** 184,190 **** * The 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, ...) { --- 182,187 ---- *************** *** 205,211 **** * The 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) { --- 202,207 ---- *************** *** 286,292 **** * Wrapper function around printf() that prepends a 'M' or 'E' command when * the program is acting as server. */ - int cvs_printf(const char *fmt, ...) { --- 282,287 ----