summaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-22 17:31:20 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-22 17:31:20 +0000
commit6a979016919fc0b494a6f02176fa7ea1df93ad42 (patch)
tree5d6cf6e9e2d4414c7a0cb8c016d7adbe82b36ace /log.c
parent39aa8b32b135ddff6f74dadc8f5adaabf4fe0694 (diff)
Sync OpenBSD patchset 153:
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by lint.
Diffstat (limited to 'log.c')
-rw-r--r--log.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/log.c b/log.c
index 7dafce8f..823d00e6 100644
--- a/log.c
+++ b/log.c
@@ -1,4 +1,4 @@
-/* $Id: log.c,v 1.15 2009-06-25 16:23:35 nicm Exp $ */
+/* $Id: log.c,v 1.16 2009-07-22 17:31:20 tcunha 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)