From 738c3eae912c12c7f2810c5d9c892ce934a162cf Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Fri, 23 Dec 2011 17:28:12 +0100 Subject: [PATCH] void function needs to be void --- Util/OpenMPReplacement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/OpenMPReplacement.h b/Util/OpenMPReplacement.h index 5f99cc28b..232dcbd62 100644 --- a/Util/OpenMPReplacement.h +++ b/Util/OpenMPReplacement.h @@ -28,7 +28,7 @@ or see http://www.gnu.org/licenses/agpl.txt. inline const int omp_get_num_procs() { return 1; } inline const int omp_get_max_threads() { return 1; } inline const int omp_get_thread_num() { return 0; } -inline const int omp_set_num_threads(int i) {} +inline const void omp_set_num_threads(int i) {} #endif #endif