diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 18:40:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 18:40:31 +0000 |
commit | 769050f4a3562df076745618f0336143a8d143bb (patch) | |
tree | 8f1e23dd6e96531a1ff0684a3edb93a712fb3d6d /usr.bin/tmux/log.c | |
parent | aae9127d3a9bd578f14c460a59375eb4fb3be7ad (diff) |
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.
Diffstat (limited to 'usr.bin/tmux/log.c')
-rw-r--r-- | usr.bin/tmux/log.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/tmux/log.c b/usr.bin/tmux/log.c index 79f6925ccee..3812e8f2471 100644 --- a/usr.bin/tmux/log.c +++ b/usr.bin/tmux/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.2 2009/06/25 06:23:10 nicm Exp $ */ +/* $OpenBSD: log.c,v 1.3 2009/07/21 18:40:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -171,19 +171,6 @@ log_debug2(const char *msg, ...) } } -/* Log a debug message at level 3. */ -void printflike1 -log_debug3(const char *msg, ...) -{ - va_list ap; - - if (log_level > 2) { - va_start(ap, msg); - log_vwrite(LOG_DEBUG, msg, ap); - va_end(ap); - } -} - /* Log a critical error, with error string if necessary, and die. */ __dead void log_vfatal(const char *msg, va_list ap) |