Include qapi/qmp/qstring.h exactly where needed
Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180201111846.21846-14-armbru@redhat.com>
This commit is contained in:
		
							parent
							
								
									452fcdbc49
								
							
						
					
					
						commit
						fc81fa1eb0
					
				
							
								
								
									
										1
									
								
								block.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								block.c
									
									
									
									
									
								
							| @ -35,6 +35,7 @@ | ||||
| #include "qapi/qmp/qerror.h" | ||||
| #include "qapi/qmp/qbool.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "sysemu/block-backend.h" | ||||
| #include "sysemu/sysemu.h" | ||||
| #include "qemu/notify.h" | ||||
|  | ||||
| @ -14,8 +14,6 @@ | ||||
| #ifndef QJSON_H | ||||
| #define QJSON_H | ||||
| 
 | ||||
| #include "qapi/qmp/qstring.h" | ||||
| 
 | ||||
| QObject *qobject_from_json(const char *string, Error **errp); | ||||
| QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2); | ||||
| QObject *qobject_from_jsonv(const char *string, va_list *ap, Error **errp) | ||||
|  | ||||
| @ -56,6 +56,7 @@ | ||||
| #include "qapi/qmp/qerror.h" | ||||
| #include "qapi/qmp/qbool.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/json-streamer.h" | ||||
| #include "qapi/qmp/json-parser.h" | ||||
|  | ||||
| @ -26,6 +26,7 @@ | ||||
| #include "qapi/qmp/qlist.h" | ||||
| #include "qapi/qmp/qnull.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qemu/cutils.h" | ||||
| #include "qemu/option.h" | ||||
| 
 | ||||
|  | ||||
| @ -32,6 +32,7 @@ | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/qbool.h" | ||||
| #include "qapi/qmp/qdict.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qemu/cutils.h" | ||||
| #include "qemu/config-file.h" | ||||
| #include "qemu/option.h" | ||||
|  | ||||
| @ -22,6 +22,7 @@ | ||||
| #include "qapi/qmp/json-parser.h" | ||||
| #include "qapi/qmp/qdict.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qga/guest-agent-core.h" | ||||
| #include "qemu/module.h" | ||||
| #include "qga-qmp-commands.h" | ||||
|  | ||||
| @ -21,6 +21,7 @@ | ||||
| #include "qapi/qmp/qdict.h" | ||||
| #include "qapi/qmp/qlist.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qemu/unicode.h" | ||||
| 
 | ||||
| typedef struct JSONParsingState | ||||
|  | ||||
| @ -19,6 +19,7 @@ | ||||
| #include "qapi/qmp/qlit.h" | ||||
| #include "qapi/qmp/qnull.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qemu-common.h" | ||||
| 
 | ||||
| static void escaped_string(void) | ||||
|  | ||||
| @ -27,6 +27,7 @@ | ||||
| #include "qapi/qmp/qdict.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/qlist.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| 
 | ||||
| #define MAX_IRQ 256 | ||||
| #define SOCKET_TIMEOUT 50 | ||||
|  | ||||
| @ -21,6 +21,7 @@ | ||||
| #include "qapi/qmp/qdict.h" | ||||
| #include "qapi/qmp/qnull.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "test-qmp-introspect.h" | ||||
| #include "qmp-introspect.h" | ||||
|  | ||||
| @ -21,6 +21,7 @@ | ||||
| #include "qapi/qmp/qlist.h" | ||||
| #include "qapi/qmp/qnull.h" | ||||
| #include "qapi/qmp/qnum.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| 
 | ||||
| typedef struct TestOutputVisitorData { | ||||
|  | ||||
| @ -18,6 +18,7 @@ | ||||
| #include "test-qapi-visit.h" | ||||
| #include "qapi/error.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qapi/qobject-input-visitor.h" | ||||
| #include "qapi/qobject-output-visitor.h" | ||||
| #include "qapi/string-input-visitor.h" | ||||
|  | ||||
| @ -32,7 +32,6 @@ | ||||
| #include "qmp-commands.h" | ||||
| #include "qapi/error.h" | ||||
| #include "qapi/qmp/qbool.h" | ||||
| #include "qapi/qmp/qstring.h" | ||||
| #include "qapi/qmp/qjson.h" | ||||
| #include "qemu/notify.h" | ||||
| #include "migration/misc.h" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Markus Armbruster
						Markus Armbruster