aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/os_load.c')
-rw-r--r--src/util/os_load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/os_load.c b/src/util/os_load.c
index d1115e33f..21e74eb49 100644
--- a/src/util/os_load.c
+++ b/src/util/os_load.c
@@ -517,7 +517,7 @@ updateUsage ()
517 * that lock has already been obtained. 517 * that lock has already been obtained.
518 */ 518 */
519static void 519static void
520updateAgedLoad (struct GNUNET_CONFIGURATION_Handle *cfg) 520updateAgedLoad (const struct GNUNET_CONFIGURATION_Handle *cfg)
521{ 521{
522 static struct GNUNET_TIME_Absolute lastCall; 522 static struct GNUNET_TIME_Absolute lastCall;
523 523
@@ -573,7 +573,7 @@ updateAgedLoad (struct GNUNET_CONFIGURATION_Handle *cfg)
573 * (100 is equivalent to full load) 573 * (100 is equivalent to full load)
574 */ 574 */
575int 575int
576GNUNET_OS_load_cpu_get (struct GNUNET_CONFIGURATION_Handle *cfg) 576GNUNET_OS_load_cpu_get (const struct GNUNET_CONFIGURATION_Handle *cfg)
577{ 577{
578 unsigned long long maxCPULoad; 578 unsigned long long maxCPULoad;
579 int ret; 579 int ret;
@@ -596,7 +596,7 @@ GNUNET_OS_load_cpu_get (struct GNUNET_CONFIGURATION_Handle *cfg)
596 * (100 is equivalent to full load) 596 * (100 is equivalent to full load)
597 */ 597 */
598int 598int
599GNUNET_OS_load_disk_get (struct GNUNET_CONFIGURATION_Handle *cfg) 599GNUNET_OS_load_disk_get (const struct GNUNET_CONFIGURATION_Handle *cfg)
600{ 600{
601 unsigned long long maxIOLoad; 601 unsigned long long maxIOLoad;
602 int ret; 602 int ret;