summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2015-06-26 20:59:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-29 07:22:37 +0200
commitf2d31f6f6dc01d1b438a12230a536606bfdc43fa (patch)
tree8a972843f126e1351841d06a8a20e46bfc5a0a93
parent3fc17ce4c88d713d369fb255165f24c85aea81c1 (diff)
downloadbarebox-f2d31f6f6dc01d1b438a12230a536606bfdc43fa.tar.gz
barebox-f2d31f6f6dc01d1b438a12230a536606bfdc43fa.tar.xz
commands: digest: fix harmless warning
Fixes with !CONFIG_LONGHELP: commands/digest.c:71:13: warning: 'prints_algo_help' defined but not used [-Wunused-function] Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/digest.c b/commands/digest.c
index 340c07a248..4cc615d775 100644
--- a/commands/digest.c
+++ b/commands/digest.c
@@ -68,7 +68,7 @@ err:
return ret;
}
-static void prints_algo_help(void)
+static void __maybe_unused prints_algo_help(void)
{
puts("\navailable algo:\n");
digest_algo_prints("\t");