diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-15 21:35:00 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-15 21:35:00 +0000 |
commit | d3643500c78b2a4745226a8621ef1312583ad14c (patch) | |
tree | 476aef79698a29ae3aec4418ed3bea26d2058798 /usr.bin | |
parent | 34dfe6fe54213a8182227430de379339ed0ec7f6 (diff) |
- remove unused function cvs_putchar()
"well then zap it" joris@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/log.c | 20 | ||||
-rw-r--r-- | usr.bin/cvs/log.h | 3 |
2 files changed, 2 insertions, 21 deletions
diff --git a/usr.bin/cvs/log.c b/usr.bin/cvs/log.c index 36bad62bf95..9bcbfe2fb91 100644 --- a/usr.bin/cvs/log.c +++ b/usr.bin/cvs/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.30 2006/01/02 17:06:10 xsa Exp $ */ +/* $OpenBSD: log.c,v 1.31 2006/03/15 21:34:59 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -338,21 +338,3 @@ cvs_printf(const char *fmt, ...) va_end(vap); return (ret); } -void -cvs_putchar(int c) -{ -#if !defined(RCSPROG) - if (cvs_cmdop == CVS_OP_SERVER && send_m) { - send_m = 0; - putc('M', stdout); - putc(' ', stdout); - } -#endif - - putc(c, stdout); - -#if !defined(RCSPROG) - if (cvs_cmdop == CVS_OP_SERVER && c == '\n') - send_m = 1; -#endif -} diff --git a/usr.bin/cvs/log.h b/usr.bin/cvs/log.h index 7ae396b29b0..6044110197c 100644 --- a/usr.bin/cvs/log.h +++ b/usr.bin/cvs/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.16 2006/02/01 16:28:20 xsa Exp $ */ +/* $OpenBSD: log.h,v 1.17 2006/03/15 21:34:59 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -62,7 +62,6 @@ int cvs_log_filter(u_int, u_int); int cvs_log(u_int, const char *, ...) __attribute__((format(printf, 2, 3))); int cvs_vlog(u_int, const char *, va_list); int cvs_printf(const char *, ...) __attribute__((format(printf, 1, 2))); -void cvs_putchar(int); void fatal(const char *, ...) __dead __attribute__((format(printf, 1,2))); #endif /* LOG_H */ |