root / qemu-error.h @ 2f792016
History | View | Annotate | Download (425 Bytes)
1 |
#ifndef QEMU_ERROR_H
|
---|---|
2 |
#define QEMU_ERROR_H
|
3 |
|
4 |
void qemu_error(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); |
5 |
void 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
|