Re: [PATCH 2/9] util: Make qemu_oom_check() a static function

2022-02-28 Thread Philippe Mathieu-Daudé
On 26/2/22 19:07, Peter Maydell wrote: The qemu_oom_check() function, which we define in both oslib-posix.c and oslib-win32.c, is now used only locally in that file; make it static. Signed-off-by: Peter Maydell --- include/qemu-common.h | 2 -- util/oslib-posix.c| 2 +- util/oslib-win32

Re: [PATCH 2/9] util: Make qemu_oom_check() a static function

2022-02-26 Thread Richard Henderson
On 2/26/22 08:07, Peter Maydell wrote: The qemu_oom_check() function, which we define in both oslib-posix.c and oslib-win32.c, is now used only locally in that file; make it static. Signed-off-by: Peter Maydell --- include/qemu-common.h | 2 -- util/oslib-posix.c| 2 +- util/oslib-win32.

[PATCH 2/9] util: Make qemu_oom_check() a static function

2022-02-26 Thread Peter Maydell
The qemu_oom_check() function, which we define in both oslib-posix.c and oslib-win32.c, is now used only locally in that file; make it static. Signed-off-by: Peter Maydell --- include/qemu-common.h | 2 -- util/oslib-posix.c| 2 +- util/oslib-win32.c| 2 +- 3 files changed, 2 insertions(