]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/strace.c
linux-user: Make target_strerror() return 'const char *'
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jun 2016 18:58:18 +0000 (19:58 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 8 Jun 2016 09:06:57 +0000 (12:06 +0300)
commit7dcdaeafe07dd87079c4e073bced4cfc8bf5fdf3
tree13676af7bd6175a7f3f9670e3e757c72ca946e75
parent8efb2ed5ec192f7e83c5e48753e695d5cbc161b2
linux-user: Make target_strerror() return 'const char *'

Make target_strerror() return 'const char *' rather than just 'char *';
this will allow us to return constant strings from it for some special
cases.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
linux-user/qemu.h
linux-user/strace.c
linux-user/syscall.c