aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/log.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-17 11:30:11 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-04-20 10:51:11 -0700
commitec0d1849d990ae25017c7b611a4385f4ec2cc874 (patch)
treeff3991897f339cf596e175b8e5e05f77148afbc7 /include/qemu/log.h
parentb2528af10abea3d19aa42b33a65060ce3ff505cd (diff)
downloadqemu-ec0d1849d990ae25017c7b611a4385f4ec2cc874.zip
qemu-ec0d1849d990ae25017c7b611a4385f4ec2cc874.tar.gz
qemu-ec0d1849d990ae25017c7b611a4385f4ec2cc874.tar.bz2
util/log: Remove qemu_log_close
The only real use is in cpu_abort, where we have just flushed the file via qemu_log_unlock, and are just about to force-crash the application via abort. We do not really need to close the FILE before the abort. The two uses in test-logging.c can be handled with qemu_set_log_filename_flags. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220417183019.755276-32-richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/log.h')
-rw-r--r--include/qemu/log.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qemu/log.h b/include/qemu/log.h
index b6c7337..a325bca 100644
--- a/include/qemu/log.h
+++ b/include/qemu/log.h
@@ -92,7 +92,4 @@ int qemu_str_to_log_mask(const char *str);
*/
void qemu_print_log_usage(FILE *f);
-/* Close the log file */
-void qemu_log_close(void);
-
#endif