From: Andre Noll <maan@systemlinux.org>
Date: Thu, 5 Jun 2008 22:31:01 +0000 (+0200)
Subject: Remove para_log() from fsck.c.
X-Git-Tag: v0.1.0~76
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=5e2f73223302abfa24602243eb7f9baa5c2636de;p=osl.git

Remove para_log() from fsck.c.

oslfsck may use the log function of osl.c.
---

diff --git a/fsck.c b/fsck.c
index ef068d3..f325e53 100644
--- a/fsck.c
+++ b/fsck.c
@@ -63,16 +63,7 @@ static const char *fsck_strerror(int num)
 	return osl_strerror(num);
 }
 
-__printf_2_3 void para_log(int ll, const char* fmt,...)
-{
-	va_list argp;
-
-	if (ll < conf.loglevel_arg)
-		return;
-	va_start(argp, fmt);
-	vfprintf(stderr, fmt, argp);
-	va_end(argp);
-}
+extern int loglevel;
 
 /* taken from git */
 signed char hexval_table[256] = {