]> git.proxmox.com Git - qemu.git/blame - qemu-error.h
error: Move qemu_error & friends into their own header
[qemu.git] / qemu-error.h
CommitLineData
2f792016
MA
1#ifndef QEMU_ERROR_H
2#define QEMU_ERROR_H
3
4void qemu_error(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
5void qemu_error_internal(const char *file, int linenr, const char *func,
6 const char *fmt, ...)
7 __attribute__ ((format(printf, 4, 5)));
8
9#define qemu_error_new(fmt, ...) \
10 qemu_error_internal(__FILE__, __LINE__, __func__, fmt, ## __VA_ARGS__)
11
12#endif