..., instead of repeating 'extern' prototypes in all "accel" 'team.c' files
for 'GOMP_INDIRECT_ADDR_MAP' vs. no prototype for 'GOMP_INDIRECT_ADDR_HMAP',
as done in commit
da5803c794d16deb461c93588461856fbf6e54ac
"libgomp: Init hash table for 'indirect'-clause of 'declare target' on the host [PR114445, PR119857]".
libgomp/
* config/accel/target-indirect.h (GOMP_INDIRECT_ADDR_MAP)
(GOMP_INDIRECT_ADDR_HMAP): Prototype.
* config/gcn/team.c: Adjust.
* config/nvptx/team.c: Likewise.
#include "libgomp.h"
+extern void *GOMP_INDIRECT_ADDR_MAP;
+
+extern void *GOMP_INDIRECT_ADDR_HMAP;
+
extern void build_indirect_map (void);
#endif /* GOMP_TARGET_INDIRECT_H */
#define UNLIKELY(x) (__builtin_expect ((x), 0))
-extern void *GOMP_INDIRECT_ADDR_MAP;
-
/* Defined in basic-allocator.c via config/amdgcn/allocator.c. */
void __gcn_lowlat_init (void *heap, size_t size);
#define UNLIKELY(x) (__builtin_expect ((x), 0))
-extern void *GOMP_INDIRECT_ADDR_MAP;
-
struct gomp_thread *nvptx_thrs __attribute__((shared,nocommon));
int __gomp_team_num __attribute__((shared,nocommon));