summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2018-06-12 11:32:52 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2018-06-12 11:32:52 +0200
commit5c0406fb2b54861a45dd262eb266ecbffee4ca6f (patch)
treeccf999f079d74904d345a313983f1b9cfd61f0e2
parent07ca911e94dac571b063901aa18e218a60945918 (diff)
downloadttsd-worker-task-5c0406fb2b54861a45dd262eb266ecbffee4ca6f.tar.gz
ttsd-worker-task-5c0406fb2b54861a45dd262eb266ecbffee4ca6f.tar.bz2
ttsd-worker-task-5c0406fb2b54861a45dd262eb266ecbffee4ca6f.zip
procfs: fix warning
Change-Id: I86bfb970d6bc1e26b6cdd39200473c43e0bdc144
-rw-r--r--src/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/procfs.c b/src/procfs.c
index 9a594aa..346a151 100644
--- a/src/procfs.c
+++ b/src/procfs.c
@@ -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;
}