From: Laszlo Ersek Date: Thu, 9 Feb 2012 15:55:30 +0000 (+0100) Subject: cleanup process_usb_op() / process_scsi_op() declarations X-Git-Tag: rel-1.7.0~54 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=26d3144fbf22185c75b10c30988ca33aa8842837;p=seabios.git cleanup process_usb_op() / process_scsi_op() declarations Commit 1e749c85 removed the definition of process_usb_op(); let's remove the declaration too. The same commit added process_scsi_op(). The function has no declaration that is also not a definition, and its only call site is in the same file as the definition. Give the function internal linkage. Build tested. Signed-off-by: Laszlo Ersek --- diff --git a/src/block.c b/src/block.c index eeebd83..ccf4ee6 100644 --- a/src/block.c +++ b/src/block.c @@ -276,7 +276,7 @@ map_floppy_drive(struct drive_s *drive_g) * 16bit calling interface ****************************************************************/ -int +static int process_scsi_op(struct disk_op_s *op) { if (!CONFIG_USB_MSC) diff --git a/src/usb-msc.h b/src/usb-msc.h index a8686a3..12d749c 100644 --- a/src/usb-msc.h +++ b/src/usb-msc.h @@ -8,7 +8,6 @@ struct usb_interface_descriptor; struct usb_pipe; int usb_msc_init(struct usb_pipe *pipe , struct usb_interface_descriptor *iface, int imax); -int process_usb_op(struct disk_op_s *op); /****************************************************************