summaryrefslogtreecommitdiff
path: root/qemu-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-error.h')
-rw-r--r--qemu-error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-error.h b/qemu-error.h
index 8f2a140ef2..88e0b70567 100644
--- a/qemu-error.h
+++ b/qemu-error.h
@@ -15,7 +15,7 @@
typedef struct Location {
/* all members are private to qemu-error.c */
- enum { LOC_NONE, LOC_FILE } kind;
+ enum { LOC_NONE, LOC_CMDLINE, LOC_FILE } kind;
int num;
const void *ptr;
struct Location *prev;
@@ -27,6 +27,7 @@ Location *loc_pop(Location *loc);
Location *loc_save(Location *loc);
void loc_restore(Location *loc);
void loc_set_none(void);
+void loc_set_cmdline(char **argv, int idx, int cnt);
void loc_set_file(const char *fname, int lno);
void error_vprintf(const char *fmt, va_list ap);