9pfs: fix type in *_parse_opts declarations
To comply with the QEMU coding style. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
		
							parent
							
								
									c4ce2c0ff3
								
							
						
					
					
						commit
						7bd41d3db6
					
				| @ -652,7 +652,7 @@ static void handle_cleanup(FsContext *ctx) | ||||
|     g_free(data); | ||||
| } | ||||
| 
 | ||||
| static int handle_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse) | ||||
| static int handle_parse_opts(QemuOpts *opts, FsDriverEntry *fse) | ||||
| { | ||||
|     const char *sec_model = qemu_opt_get(opts, "security_model"); | ||||
|     const char *path = qemu_opt_get(opts, "path"); | ||||
|  | ||||
| @ -1459,7 +1459,7 @@ static void local_cleanup(FsContext *ctx) | ||||
|     g_free(data); | ||||
| } | ||||
| 
 | ||||
| static int local_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse) | ||||
| static int local_parse_opts(QemuOpts *opts, FsDriverEntry *fse) | ||||
| { | ||||
|     const char *sec_model = qemu_opt_get(opts, "security_model"); | ||||
|     const char *path = qemu_opt_get(opts, "path"); | ||||
|  | ||||
| @ -1111,7 +1111,7 @@ static int connect_namedsocket(const char *path) | ||||
|     return sockfd; | ||||
| } | ||||
| 
 | ||||
| static int proxy_parse_opts(QemuOpts *opts, struct FsDriverEntry *fs) | ||||
| static int proxy_parse_opts(QemuOpts *opts, FsDriverEntry *fs) | ||||
| { | ||||
|     const char *socket = qemu_opt_get(opts, "socket"); | ||||
|     const char *sock_fd = qemu_opt_get(opts, "sock_fd"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Greg Kurz
						Greg Kurz