On 5/26/26 17:17, Peter Maydell wrote:
The init_main_thread() prototype is needed only by code internal to
linux-user/, so it doesn't need to be in qemu.h (which is also pulled
in by various files outside linux-user/).
Move the prototype to user-internals.h, and give it a documentation
comment.
Signed-off-by: Peter Maydell <[email protected]>
---
linux-user/qemu.h | 2 --
linux-user/user-internals.h | 15 +++++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
Reviewed-by: Helge Deller <[email protected]>