summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2004-12-09 14:53:32 +0000
committergdt <gdt>2004-12-09 14:53:32 +0000
commitad572396fc8306cee92af37d1099e317856a99d0 (patch)
tree6f402b91c6099a62247ef788359b52b4b602ede4
parent91f3e525a95d6a86f916872116af162eb3bdae5d (diff)
add XXX comment about hex_append being unused.
(only used if HAVE_GLIBC_BACKTRACE, so perhaps ifdef it?)
-rw-r--r--lib/log.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index b68896ca..64d576a2 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -1,5 +1,5 @@
/*
- * $Id: log.c,v 1.17 2004/12/07 15:39:32 ajs Exp $
+ * $Id: log.c,v 1.18 2004/12/09 14:53:32 gdt Exp $
*
* Logging of zebra
* Copyright (C) 1997, 1998, 1999 Kunihiro Ishiguro
@@ -177,6 +177,10 @@ num_append(char *s, int len, u_long x)
return str_append(s,len,t);
}
+/*
+ * XXX warning: `hex_append' defined but not used
+ * Apparently this is used only if HAVE_GLIBC_BACKTRACE is defined.
+ */
static char *
hex_append(char *s, int len, u_long x)
{