From 94607e7a775ae7b57219e2078b00ed2930ab98de Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 19 Sep 2011 13:50:54 +0200 Subject: qemu-nbd: remove offset argument to nbd_trip The argument is write-only. Signed-off-by: Paolo Bonzini --- nbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nbd.h') diff --git a/nbd.h b/nbd.h index 61553f4128..ebdb2dbf41 100644 --- a/nbd.h +++ b/nbd.h @@ -72,7 +72,7 @@ int nbd_init(int fd, int csock, uint32_t flags, off_t size, size_t blocksize); int nbd_send_request(int csock, struct nbd_request *request); int nbd_receive_reply(int csock, struct nbd_reply *reply); int nbd_trip(BlockDriverState *bs, int csock, off_t size, uint64_t dev_offset, - off_t *offset, uint32_t nbdflags, uint8_t *data, int data_size); + uint32_t nbdflags, uint8_t *data, int data_size); int nbd_client(int fd); int nbd_disconnect(int fd); -- cgit v1.2.3