util/hexdump: Reorder qemu_hexdump() arguments
qemu_hexdump()'s pointer to the buffer and length of the buffer are closely related arguments but are widely separated in the argument list order (also, the format of <stdio.h> function prototypes is usually to have the FILE* argument coming first). Reorder the arguments as "fp, prefix, buf, size" which is more logical. Suggested-by:Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by:
Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by:
Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20200822180950.1343963-3-f4bug@amsat.org> Signed-off-by:
Laurent Vivier <laurent@vivier.eu>
Showing
- hw/dma/xlnx_dpdma.c 1 addition, 1 deletionhw/dma/xlnx_dpdma.c
- hw/net/fsl_etsec/etsec.c 1 addition, 1 deletionhw/net/fsl_etsec/etsec.c
- hw/net/fsl_etsec/rings.c 1 addition, 1 deletionhw/net/fsl_etsec/rings.c
- hw/sd/sd.c 1 addition, 1 deletionhw/sd/sd.c
- hw/usb/redirect.c 1 addition, 1 deletionhw/usb/redirect.c
- include/qemu-common.h 2 additions, 2 deletionsinclude/qemu-common.h
- net/colo-compare.c 12 additions, 12 deletionsnet/colo-compare.c
- net/net.c 1 addition, 1 deletionnet/net.c
- util/hexdump.c 2 additions, 2 deletionsutil/hexdump.c
- util/iov.c 1 addition, 1 deletionutil/iov.c
Loading
Please register or sign in to comment