Skip to content

Commit 9c2e544

Browse files
[libc] remove spurious LIBC_INLINE (#74505)
This function is marked noinline; the inline keyword (or whatever LIBC_INLINE resolves to) will have no effect.
1 parent 3d21b56 commit 9c2e544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/threads/linux/thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ cleanup_thread_resources(ThreadAttributes *attrib) {
176176
#endif
177177
}
178178

179-
[[gnu::noinline]] LIBC_INLINE void start_thread() {
179+
[[gnu::noinline]] void start_thread() {
180180
auto *start_args = reinterpret_cast<StartArgs *>(get_start_args_addr());
181181
auto *attrib = start_args->thread_attrib;
182182
self.attrib = attrib;

0 commit comments

Comments
 (0)