aboutsummaryrefslogtreecommitdiffstats
path: root/drill/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'drill/error.c')
-rw-r--r--drill/error.c33
1 files changed, 2 insertions, 31 deletions
diff --git a/drill/error.c b/drill/error.c
index e67b7fca020a..591687d0db50 100644
--- a/drill/error.c
+++ b/drill/error.c
@@ -69,6 +69,7 @@ mesg(const char *fmt, ...)
va_end(args);
}
+#if 0
/* print stuff when in verbose mode (1) */
void
verbose(const char *fmt, ...)
@@ -82,34 +83,4 @@ verbose(const char *fmt, ...)
verbose_va_list(fmt, args);
va_end(args);
}
-
-/* print stuff when in vverbose mode (2) */
-void
-vverbose(const char *fmt, ...)
-{
- va_list args;
- if (verbosity < 2) {
- return;
- }
-
- va_start(args, fmt);
- verbose_va_list(fmt, args);
- va_end(args);
-}
-
-static void
-debug_va_list(const char *fmt, va_list args)
-{
- vfprintf(stderr, fmt, args);
- fprintf(stderr, "\n");
-}
-
-void
-debug(const char *fmt, ...)
-{
- va_list args;
- fprintf(stderr, "[DEBUG] ");
- va_start(args, fmt);
- debug_va_list(fmt, args);
- va_end(args);
-}
+#endif