summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2006-03-15 21:34:59 +0000
committerniallo <niallo@openbsd.org>2006-03-15 21:34:59 +0000
commit87aa90210ca83c8f154063976fe145439b91e895 (patch)
tree58d8779ba4579d66035855828ebca956a96255e4
parent- zap filename arg in rcsdiff_rev() since its not used. (diff)
downloadwireguard-openbsd-87aa90210ca83c8f154063976fe145439b91e895.tar.xz
wireguard-openbsd-87aa90210ca83c8f154063976fe145439b91e895.zip
- remove unused function cvs_putchar()
"well then zap it" joris@
-rw-r--r--usr.bin/cvs/log.c20
-rw-r--r--usr.bin/cvs/log.h3
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 */