summaryrefslogtreecommitdiffstats
path: root/include/net/can_emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/can_emu.h')
-rw-r--r--include/net/can_emu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/can_emu.h b/include/net/can_emu.h
index d4fc51b57d..fce9770928 100644
--- a/include/net/can_emu.h
+++ b/include/net/can_emu.h
@@ -83,7 +83,7 @@ typedef struct CanBusClientState CanBusClientState;
typedef struct CanBusState CanBusState;
typedef struct CanBusClientInfo {
- int (*can_receive)(CanBusClientState *);
+ bool (*can_receive)(CanBusClientState *);
ssize_t (*receive)(CanBusClientState *,
const struct qemu_can_frame *frames, size_t frames_cnt);
} CanBusClientInfo;