procfs: fix warning 50/181350/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 12 Jun 2018 09:32:52 +0000 (11:32 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 12 Jun 2018 09:32:52 +0000 (11:32 +0200)
Change-Id: I86bfb970d6bc1e26b6cdd39200473c43e0bdc144

src/procfs.c

index 9a594aa..346a151 100644 (file)
@@ -54,7 +54,7 @@ int profcs_read_system_cpu_usage(struct procfs_system_cpu_usage_info *usage)
        return -1;
 }
 
-int profcs_read_system_percpu_usage(struct procfs_system_percpu_usage_info **usage)
+int procfs_read_system_percpu_usage(int max_cpus, struct procfs_system_cpu_usage_info usage[])
 {
        return -1;
 }