https://gcc.gnu.org/g:8d4866315ddbc544483bf995bae01098b5add652

commit 8d4866315ddbc544483bf995bae01098b5add652
Author: Thomas Schwinge <[email protected]>
Date:   Mon May 11 21:41:43 2026 +0200

    libgomp: Sort 'GOMP_target_map_indirect_ptr' correctly in 
'libgomp/libgomp_g.h'
    
    Minor fix-up for commit a49c7d3193bb0fd5589e12e725f5a130725ae171
    "openmp: Add support for the 'indirect' clause in C/C++".
    
            libgomp/
            * libgomp_g.h (GOMP_target_map_indirect_ptr): Sort correctly.
    
    (cherry picked from commit 2546d2ffd61bd4ec4336815d0c3e7f243386ae1c)

Diff:
---
 libgomp/libgomp_g.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h
index a5e8dfd22261..761c9bd594b9 100644
--- a/libgomp/libgomp_g.h
+++ b/libgomp/libgomp_g.h
@@ -360,12 +360,15 @@ extern void GOMP_target_enter_exit_data (int, size_t, 
void **, size_t *,
                                         void **);
 extern void GOMP_teams (unsigned int, unsigned int);
 extern bool GOMP_teams4 (unsigned int, unsigned int, unsigned int, bool);
-extern void *GOMP_target_map_indirect_ptr (void *);
 struct interop_obj_t;
 extern void GOMP_interop (int, int, struct interop_obj_t ***, const int *,
                          const char **, int, struct interop_obj_t **, int,
                          struct interop_obj_t ***, unsigned, void **);
 
+/* target-indirect.c */
+
+extern void *GOMP_target_map_indirect_ptr (void *);
+
 /* teams.c */
 
 extern void GOMP_teams_reg (void (*) (void *), void *, unsigned, unsigned,

Reply via email to