* grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer): Fix

prototype.
	(get_card_packet): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-27 08:40:17 +02:00
parent 9e322ce8de
commit ca80309d32
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer): Fix
prototype.
(get_card_packet): Likewise.
2011-06-26 Yves Blusseau <blusseau@zetam.org> 2011-06-26 Yves Blusseau <blusseau@zetam.org>
Display the path of the file when file is not found Display the path of the file when file is not found

View file

@ -37,7 +37,7 @@ card_close (struct grub_net_card *dev)
} }
static grub_err_t static grub_err_t
send_card_buffer (struct grub_net_card *dev, struct grub_net_buff *pack) send_card_buffer (const struct grub_net_card *dev, struct grub_net_buff *pack)
{ {
int actual; int actual;
int status; int status;
@ -52,9 +52,8 @@ send_card_buffer (struct grub_net_card *dev, struct grub_net_buff *pack)
} }
static grub_ssize_t static grub_ssize_t
get_card_packet (struct grub_net_card *dev, struct grub_net_buff *nb) get_card_packet (const struct grub_net_card *dev, struct grub_net_buff *nb)
{ {
int actual, rc; int actual, rc;
struct grub_ofnetcard_data *data = dev->data; struct grub_ofnetcard_data *data = dev->data;
grub_uint64_t start_time; grub_uint64_t start_time;