Skip to content

Commit 9c34464

Browse files
committed
core: remove some unneeded DECLSPEC outside of the headers.
Only needed in the header declaration. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
1 parent 1556e74 commit 9c34464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hwloc/topology.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ propagate_unused_cpuset(hwloc_obj_t obj, hwloc_obj_t sys)
15881588
}
15891589

15901590
/* Setup object cpusets/nodesets by OR'ing its children. */
1591-
HWLOC_DECLSPEC int
1591+
int
15921592
hwloc_obj_add_other_obj_sets(hwloc_obj_t dst, hwloc_obj_t src)
15931593
{
15941594
#define ADD_OTHER_OBJ_SET(_dst, _src, _set) \
@@ -1606,7 +1606,7 @@ hwloc_obj_add_other_obj_sets(hwloc_obj_t dst, hwloc_obj_t src)
16061606
return 0;
16071607
}
16081608

1609-
HWLOC_DECLSPEC int
1609+
int
16101610
hwloc_obj_add_children_sets(hwloc_obj_t obj)
16111611
{
16121612
hwloc_obj_t child;

0 commit comments

Comments
 (0)