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:
Peter Maydell 2021-09-08 16:43:58 +01:00 committed by Laurent Vivier
parent 400b7f6d14
commit a44d57a3b9
5 changed files with 42 additions and 18 deletions

View file

@ -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;