This is not strictly necessary, but is more robust and readable. We already use bool in that file, so this improves consistency too. Signed-off-by: Alejandro Colomar --- tools/perf/util/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 41cdddc987ee..944f10d32796 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -16,7 +16,7 @@ #include "thread.h" #include "vdso.h" -static inline int is_android_lib(const char *filename) +static inline bool is_android_lib(const char *filename) { return strstarts(filename, "/data/app-lib/") || strstarts(filename, "/system/lib/"); -- 2.55.0