From 4d67e58e0f8159f54cb326646247cd8cd79609ae Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 22 Jun 2019 22:43:14 +0200 Subject: [PATCH] Fix mi_process_info placeholder prototype --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 4e56abc..b7295dd 100644 --- a/src/stats.c +++ b/src/stats.c @@ -404,7 +404,7 @@ static void mi_process_info(double* utime, double* stime, size_t* peak_rss, size #else #pragma message("define a way to get process info") -static size_t mi_process_info(double* utime, double* stime, size_t* peak_rss, size_t* page_faults, size_t* page_reclaim) { +static void mi_process_info(double* utime, double* stime, size_t* peak_rss, size_t* page_faults, size_t* page_reclaim) { *peak_rss = 0; *page_faults = 0; *page_reclaim = 0;