diff options
author | Markus Armbruster | 2015-06-09 16:54:09 +0200 |
---|---|---|
committer | Markus Armbruster | 2015-06-18 14:12:34 +0200 |
commit | a1366087270b312d94ff8c4031395a4218f160d4 (patch) | |
tree | 58957c7c29d8b8f732188e45fe119f365a3607fe /include/net/net.h | |
parent | qapi: Fix file name in error messages for included files (diff) | |
download | qemu-a1366087270b312d94ff8c4031395a4218f160d4.tar.gz qemu-a1366087270b312d94ff8c4031395a4218f160d4.tar.xz qemu-a1366087270b312d94ff8c4031395a4218f160d4.zip |
qapi: Simplify inclusion cycle detection
We maintain a stack of filenames in include_hist for convenient cycle
detection.
As error_path() demonstrates, the same information is readily
available in the expr_info, so just use that, and drop include_hist.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/net/net.h')
0 files changed, 0 insertions, 0 deletions