forked from pool/open-iscsi
30 lines
825 B
Plaintext
30 lines
825 B
Plaintext
Subject: Comment out unused definitions in log.c
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Fri Dec 5 08:56:45 2008 +0100:
|
|
Git: ceb0079d1fd46ee67e585d02543400004490877c
|
|
|
|
dump_line and dump_char are never used. So comment them out.
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
|
|
diff --git a/usr/log.c b/usr/log.c
|
|
index 4351456..0fb1595 100644
|
|
--- a/usr/log.c
|
|
+++ b/usr/log.c
|
|
@@ -308,6 +308,7 @@ void log_debug(int level, const char *fmt, ...)
|
|
}
|
|
}
|
|
|
|
+#if 0
|
|
static void __dump_line(int level, unsigned char *buf, int *cp)
|
|
{
|
|
char line[16*3+5], *lp = line;
|
|
@@ -341,6 +342,7 @@ static void __dump_char(int level, unsigned char *buf, int *cp, int ch)
|
|
|
|
#define dump_line() __dump_line(level, char_buf, &char_cnt)
|
|
#define dump_char(ch) __dump_char(level, char_buf, &char_cnt, ch)
|
|
+#endif
|
|
|
|
static void log_flush(void)
|
|
{
|