Browse Source

fix warnings

Samuel Thibault 6 years ago
parent
commit
fb49d7bb66
2 changed files with 3 additions and 3 deletions
  1. 1 1
      include/starpu_perfmodel.h
  2. 2 2
      include/starpu_stdlib.h

+ 1 - 1
include/starpu_perfmodel.h

@@ -352,7 +352,7 @@ void starpu_perfmodel_free_sampling_directories(void);
 */
 struct starpu_perfmodel_arch *starpu_worker_get_perf_archtype(int workerid, unsigned sched_ctx_id);
 
-int starpu_perfmodel_get_narch_combs();
+int starpu_perfmodel_get_narch_combs(void);
 int starpu_perfmodel_arch_comb_add(int ndevices, struct starpu_perfmodel_device* devices);
 int starpu_perfmodel_arch_comb_get(int ndevices, struct starpu_perfmodel_device *devices);
 struct starpu_perfmodel_arch *starpu_perfmodel_arch_comb_fetch(int comb);

+ 2 - 2
include/starpu_stdlib.h

@@ -194,14 +194,14 @@ starpu_ssize_t starpu_memory_get_available(unsigned node);
    Return the amount of total memory on all memory nodes for whose a
    memory limit is defined (see Section \ref HowToLimitMemoryPerNode).
 */
-starpu_ssize_t starpu_memory_get_total_all_nodes();
+starpu_ssize_t starpu_memory_get_total_all_nodes(void);
 
 /**
    Return the amount of available memory on all memory nodes for whose
    a memory limit is defined (see Section \ref
    HowToLimitMemoryPerNode).
 */
-starpu_ssize_t starpu_memory_get_available_all_nodes();
+starpu_ssize_t starpu_memory_get_available_all_nodes(void);
 
 /**
    If a memory limit is defined on the given node (see Section \ref