summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-01 15:42:49 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-01 15:43:38 -0700
commit3818b99c764efe84cd3455081f6392c256564085 (patch)
treebdf5eb799b900a5c329d44a27c760a3fb259dc01
parent0b88ee29ff1d174fa54d3e462fb0ebc890da3bf4 (diff)
downloadbluez-3818b99c764efe84cd3455081f6392c256564085.tar.gz
shared/shell: Fix smatch warning
This fixes the following warning: src/shared/shell.c:615:21: warning: non-ANSI function declaration of function 'bt_shell_usage'
-rw-r--r--src/shared/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 757e16199..db79c882c 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -612,7 +612,7 @@ void bt_shell_hexdump(const unsigned char *buf, size_t len)
util_hexdump(' ', buf, len, print_string, NULL);
}
-void bt_shell_usage()
+void bt_shell_usage(void)
{
if (!data.exec)
return;