X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Frtos%2Frtos.h;h=87aa5027d231ecb3f9260047796752e115e74dce;hb=dba9293a8907516bfec826464ac2896ffaba6da6;hp=70c1193e54840c460afd1c520a7aaea7e2492d66;hpb=f4dfa3b0d0abac55b7c60d333018d53d09b21bef;p=openocd.git diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index 70c1193e54..87aa5027d2 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -59,7 +59,7 @@ struct rtos { struct rtos_type { const char *name; - int (*detect_rtos)(struct target *target); + bool (*detect_rtos)(struct target *target); int (*create)(struct target *target); int (*smp_init)(struct target *target); int (*update_threads)(struct rtos *rtos);