From 60f737a998136c241a0baa239eac779e4df8d8b9 Mon Sep 17 00:00:00 2001 From: Spiros Tsalikis Date: Tue, 25 Jun 2024 11:08:30 -0400 Subject: [PATCH] Fix export symbols (#465) --- .../libraries/exodus/include/exodusII_cfg.h.in | 12 +++++++----- .../seacas/libraries/exodus/include/exodusII_int.h | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/seacas/libraries/exodus/include/exodusII_cfg.h.in b/packages/seacas/libraries/exodus/include/exodusII_cfg.h.in index f407c0ed79..304c65b4c7 100644 --- a/packages/seacas/libraries/exodus/include/exodusII_cfg.h.in +++ b/packages/seacas/libraries/exodus/include/exodusII_cfg.h.in @@ -1,8 +1,10 @@ -# Copyright(C) 1999-2022 National Technology & Engineering Solutions -# of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with -# NTESS, the U.S. Government retains certain rights in this software. -# -# See packages/seacas/LICENSE for details +/* + * Copyright(C) 1999-2022 National Technology & Engineering Solutions + * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with + * NTESS, the U.S. Government retains certain rights in this software. + * + * See packages/seacas/LICENSE for details + */ #pragma once #cmakedefine EXODUSII_BUILD_SHARED_LIBS diff --git a/packages/seacas/libraries/exodus/include/exodusII_int.h b/packages/seacas/libraries/exodus/include/exodusII_int.h index 8657fa6755..c6e6e7e4e4 100644 --- a/packages/seacas/libraries/exodus/include/exodusII_int.h +++ b/packages/seacas/libraries/exodus/include/exodusII_int.h @@ -91,7 +91,7 @@ extern "C" { /* Utility function to find variable to store entity attribute on */ int exi_get_varid(int exoid, ex_entity_type obj_type, ex_entity_id id); -void exi_reset_error_status(void); +EXODUS_EXPORT void exi_reset_error_status(void); #if defined(EXODUS_THREADSAFE) #if !defined(exerrval) @@ -796,7 +796,7 @@ extern struct exi_obj_stats *exoII_edm; extern struct exi_obj_stats *exoII_fam; extern struct exi_obj_stats *exoII_nm; -struct exi_file_item *exi_find_file_item(int exoid); +EXODUS_EXPORT struct exi_file_item *exi_find_file_item(int exoid); struct exi_file_item *exi_add_file_item(int exoid); struct exi_obj_stats *exi_get_stat_ptr(int exoid, struct exi_obj_stats **obj_ptr);