diff mbox series

[BlueZ,v3,4/4] shared/shell: Fix smatch warning

Message ID 20230501224410.1119023-4-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v3,1/4] client/player: Add support for Metadata in BAP Profile | expand

Commit Message

Luiz Augusto von Dentz May 1, 2023, 10:44 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This fixes the following warning:

src/shared/shell.c:615:21: warning: non-ANSI function declaration of
function 'bt_shell_usage'
---
 src/shared/shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/shared/shell.c b/src/shared/shell.c
index 757e16199ddf..db79c882ca3a 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;