From a4cc83f4f769f006aa374931befd77a083e13352 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Tue, 30 Jun 2015 09:37:00 +0900 Subject: [PATCH] mpiext/affinity: fix missing function type --- ompi/mpiext/affinity/c/mpiext_affinity_str.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ompi/mpiext/affinity/c/mpiext_affinity_str.c b/ompi/mpiext/affinity/c/mpiext_affinity_str.c index 8313c1d721..9ffd1f90a4 100644 --- a/ompi/mpiext/affinity/c/mpiext_affinity_str.c +++ b/ompi/mpiext/affinity/c/mpiext_affinity_str.c @@ -6,6 +6,8 @@ * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2015 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -42,9 +44,9 @@ static const char not_bound_str[] = "Not bound (i.e., bound to all processors)"; * Utility routine **************************************************************************/ -static no_hwloc_support(char ompi_bound[OMPI_AFFINITY_STRING_MAX], - char current_binding[OMPI_AFFINITY_STRING_MAX], - char exists[OMPI_AFFINITY_STRING_MAX]) +static void no_hwloc_support(char ompi_bound[OMPI_AFFINITY_STRING_MAX], + char current_binding[OMPI_AFFINITY_STRING_MAX], + char exists[OMPI_AFFINITY_STRING_MAX]) { strncpy(ompi_bound, "Not supported", OMPI_AFFINITY_STRING_MAX); strncpy(current_binding, "Not supported", OMPI_AFFINITY_STRING_MAX);