Linux bluetooth development
 help / color / mirror / Atom feed
* [BlueZ] attrib: Fix smatch "non-ANSI function declaration" warning
@ 2026-08-14  9:27 Bastien Nocera
  2026-08-14 10:57 ` bluez.test.bot
  2026-08-14 17:20 ` patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Bastien Nocera @ 2026-08-14  9:27 UTC (permalink / raw)
  To: linux-bluetooth

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-14 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14  9:27 [BlueZ] attrib: Fix smatch "non-ANSI function declaration" warning Bastien Nocera
2026-08-14 10:57 ` bluez.test.bot
2026-08-14 17:20 ` patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox