git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9556
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
* for the user contexts.
* \return the number of threads (1 means no parallelism)
*/
* for the user contexts.
* \return the number of threads (1 means no parallelism)
*/
-int SIMIX_context_get_nthreads() {
+int SIMIX_context_get_nthreads(void) {
return smx_parallel_contexts;
}
return smx_parallel_contexts;
}
* for the user contexts.
* \return 1 if parallelism is used
*/
* for the user contexts.
* \return 1 if parallelism is used
*/
-int SIMIX_context_is_parallel() {
+int SIMIX_context_is_parallel(void) {
return smx_parallel_contexts > 1;
}
return smx_parallel_contexts > 1;
}