From 5639d1617f45d46bf901132e432d51a14665c3b4 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 27 Sep 2012 01:43:54 +0000 Subject: [PATCH] Move missing piece to required visibility This commit was SVN r27380. --- opal/mca/hwloc/base/base.h | 1 + opal/mca/hwloc/base/hwloc_base_open.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/opal/mca/hwloc/base/base.h b/opal/mca/hwloc/base/base.h index 72721279ef..588218d31d 100644 --- a/opal/mca/hwloc/base/base.h +++ b/opal/mca/hwloc/base/base.h @@ -85,6 +85,7 @@ typedef struct { int cntr; } opal_hwloc_print_buffers_t; opal_hwloc_print_buffers_t *opal_hwloc_get_print_buffer(void); +extern char* opal_hwloc_print_null; OPAL_DECLSPEC char* opal_hwloc_base_print_locality(opal_hwloc_locality_t locality); #if OPAL_HAVE_HWLOC diff --git a/opal/mca/hwloc/base/hwloc_base_open.c b/opal/mca/hwloc/base/hwloc_base_open.c index 6d916783dc..39b9d167e0 100644 --- a/opal/mca/hwloc/base/hwloc_base_open.c +++ b/opal/mca/hwloc/base/hwloc_base_open.c @@ -307,7 +307,7 @@ int opal_hwloc_base_open(void) static bool fns_init=false; static opal_tsd_key_t print_tsd_key; -static char* opal_hwloc_print_null = "NULL"; +char* opal_hwloc_print_null = "NULL"; static void buffer_cleanup(void *value) {