]> git.sur5r.net Git - openocd/blobdiff - src/rtos/rtos.h
rtos: Use 'bool' as return type for detect_rtos()
[openocd] / src / rtos / rtos.h
index 70c1193e54840c460afd1c520a7aaea7e2492d66..87aa5027d231ecb3f9260047796752e115e74dce 100644 (file)
@@ -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);