summary refs log tree commit diff stats
path: root/hw/net/can/can_sja1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/can/can_sja1000.h')
-rw-r--r--hw/net/can/can_sja1000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/can/can_sja1000.h b/hw/net/can/can_sja1000.h
index 220a622087..7ca9cd681e 100644
--- a/hw/net/can/can_sja1000.h
+++ b/hw/net/can/can_sja1000.h
@@ -137,7 +137,7 @@ void can_sja_disconnect(CanSJA1000State *s);
 
 int can_sja_init(CanSJA1000State *s, qemu_irq irq);
 
-int can_sja_can_receive(CanBusClientState *client);
+bool can_sja_can_receive(CanBusClientState *client);
 
 ssize_t can_sja_receive(CanBusClientState *client,
                         const qemu_can_frame *frames, size_t frames_cnt);