mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
linux-user: Split strace prototypes into strace.h
The functions implemented in strace.c are only used in a few files in linux-user; split them out of qemu.h and into a new strace.h header which we include in the places that need it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210908154405.15417-3-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
400b7f6d14
commit
a44d57a3b9
5 changed files with 42 additions and 18 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "qemu/osdep.h"
|
||||
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/msg.h>
|
||||
#include <sys/sem.h>
|
||||
|
@ -14,6 +15,7 @@
|
|||
#include <linux/netlink.h>
|
||||
#include <sched.h>
|
||||
#include "qemu.h"
|
||||
#include "strace.h"
|
||||
|
||||
struct syscallname {
|
||||
int nr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue