Skip to content

Commit 3d51e43

Browse files
committed
remove duplicate and another weak
1 parent b6f1be4 commit 3d51e43

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

offload/include/OpenMP/InternalTypes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ int32_t __kmpc_global_thread_num(void *);
7575
bool __kmpc_omp_has_task_team(int32_t gtid);
7676
void **__kmpc_omp_get_target_async_handle_ptr(int32_t gtid);
7777
int __kmpc_get_target_offload(void);
78-
int __kmpc_get_target_offload(void);
7978
kmp_task_t *__kmpc_omp_task_alloc(ident_t *loc_ref, int32_t gtid, int32_t flags,
8079
size_t sizeof_kmp_task_t,
8180
size_t sizeof_shareds,

offload/include/OpenMP/omp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ typedef void *omp_depend_t;
4040
/// API declarations
4141
///{
4242

43-
int omp_get_default_device(void) __attribute__((weak));
43+
int omp_get_default_device(void);
4444

4545
///}
4646

0 commit comments

Comments
 (0)