um: Add an internal header shared among the user code
authorTiwei Bie <tiwei.btw@antgroup.com>
Tue, 23 Apr 2024 12:58:56 +0000 (20:58 +0800)
committerRichard Weinberger <richard@nod.at>
Tue, 30 Apr 2024 12:16:44 +0000 (14:16 +0200)
commit847d3abc6aeda1266192d4236e6a766cdf04eb0f
tree61eaceabc294d1b3d606e8f0d3f189f6da271891
parent6a85e34c4d07d2ec0c153067baff338ac0db55ca
um: Add an internal header shared among the user code

Move relevant declarations to this header. This will address
below -Wmissing-prototypes warnings:

arch/um/os-Linux/elf_aux.c:26:13: warning: no previous prototype for ‘scan_elf_aux’ [-Wmissing-prototypes]
arch/um/os-Linux/mem.c:213:13: warning: no previous prototype for ‘check_tmpexec’ [-Wmissing-prototypes]
arch/um/os-Linux/skas/process.c:107:6: warning: no previous prototype for ‘wait_stub_done’ [-Wmissing-prototypes]

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/elf_aux.c
arch/um/os-Linux/internal.h [new file with mode: 0644]
arch/um/os-Linux/main.c
arch/um/os-Linux/mem.c
arch/um/os-Linux/skas/mem.c
arch/um/os-Linux/skas/process.c
arch/um/os-Linux/start_up.c