[BlueZ] attrib: Fix smatch "non-ANSI function declaration" warning

Bastien Nocera <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
attrib/interactive.c:175:27: warning: non-ANSI function declaration of function 'disconnect_io'
---
 attrib/interactive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/attrib/interactive.c b/attrib/interactive.c
index 07d6cafc57ba..0291fa876533 100644
--- a/attrib/interactive.c
+++ b/attrib/interactive.c
@@ -172,7 +172,7 @@ static void connect_cb(GIOChannel *io, GError *err, gpointer user_data)
 	rl_printf("Connection successful\n");
 }
 
-static void disconnect_io()
+static void disconnect_io(void)
 {
 	if (conn_state == STATE_DISCONNECTED)
 		return;
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.