diff options
Diffstat (limited to 'src/util/os_load.c')
-rw-r--r-- | src/util/os_load.c | 6 |
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 | */ |
519 | static void | 519 | static void |
520 | updateAgedLoad (struct GNUNET_CONFIGURATION_Handle *cfg) | 520 | updateAgedLoad (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 | */ |
575 | int | 575 | int |
576 | GNUNET_OS_load_cpu_get (struct GNUNET_CONFIGURATION_Handle *cfg) | 576 | GNUNET_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 | */ |
598 | int | 598 | int |
599 | GNUNET_OS_load_disk_get (struct GNUNET_CONFIGURATION_Handle *cfg) | 599 | GNUNET_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; |