aboutsummaryrefslogtreecommitdiff
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-02-26 18:07:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-03-07 13:09:20 +0000
commit1c6c3b764d992ecd9cb44f8646d74935269d20a6 (patch)
treeab2c83ba3a25238a713b0ba81b2f274a082f109f /include/qemu-common.h
parent9d662a6b22a0838a85c5432385f35db2488a33a5 (diff)
util: Make qemu_oom_check() a static function
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 <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20220226180723.1706285-3-peter.maydell@linaro.org
Diffstat (limited to 'include/qemu-common.h')
-rw-r--r--include/qemu-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 68b2e3bc10..8c0d9ab0f7 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -26,8 +26,6 @@
int qemu_main(int argc, char **argv, char **envp);
#endif
-void *qemu_oom_check(void *ptr);
-
ssize_t qemu_write_full(int fd, const void *buf, size_t count)
QEMU_WARN_UNUSED_RESULT;