Merge pull request #12 from jedisct1/fix-mi_process_info-placeholder

Fix mi_process_info placeholder prototype
This commit is contained in:
Daan 2019-06-22 21:03:29 -07:00 committed by GitHub
commit f704d56a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ static void mi_process_info(double* utime, double* stime, size_t* peak_rss, size
#else #else
#pragma message("define a way to get process info") #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; *peak_rss = 0;
*page_faults = 0; *page_faults = 0;
*page_reclaim = 0; *page_reclaim = 0;