Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Forgot void inside parenthesis
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 1 Feb 2011 16:31:12 +0000 (16:31 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 1 Feb 2011 16:31:12 +0000 (16:31 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9556 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_context.c

index 6030548..2da152b 100644 (file)
@@ -94,7 +94,7 @@ void SIMIX_context_set_nthreads(int nb_threads) {
  * 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;
 }
 
@@ -103,7 +103,7 @@ int SIMIX_context_get_nthreads() {
  * 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;
 }