summaryrefslogtreecommitdiffstats
path: root/include/net/net.h
diff options
context:
space:
mode:
authorMarkus Armbruster2015-06-09 16:54:09 +0200
committerMarkus Armbruster2015-06-18 14:12:34 +0200
commita1366087270b312d94ff8c4031395a4218f160d4 (patch)
tree58957c7c29d8b8f732188e45fe119f365a3607fe /include/net/net.h
parentqapi: Fix file name in error messages for included files (diff)
downloadqemu-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