* grub-core/net/i386/pc/pxe.c (grub_pxe_recv): Fix declaration.

(grub_pxe_send): Likewise.
	(GRUB_MOD_INIT): Fix types.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-25 00:18:36 +02:00
parent 40ea05dee4
commit 77c0840ba6
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2011-06-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/i386/pc/pxe.c (grub_pxe_recv): Fix declaration.
(grub_pxe_send): Likewise.
(GRUB_MOD_INIT): Fix types.
2011-06-24 Szymon Janc <szymon@janc.net.pl>
* grub-core/io/xzio.c: Fix code style issues

View file

@ -305,14 +305,14 @@ static struct grub_fs grub_pxefs_fs =
};
static grub_ssize_t
grub_pxe_recv (struct grub_net_card *dev __attribute__ ((unused)),
grub_pxe_recv (const struct grub_net_card *dev __attribute__ ((unused)),
struct grub_net_buff *buf __attribute__ ((unused)))
{
return 0;
}
static grub_err_t
grub_pxe_send (struct grub_net_card *dev __attribute__ ((unused)),
grub_pxe_send (const struct grub_net_card *dev __attribute__ ((unused)),
struct grub_net_buff *buf __attribute__ ((unused)))
{
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "not implemented");
@ -424,7 +424,7 @@ GRUB_MOD_INIT(pxe)
{
struct grub_pxe_bangpxe *pxenv;
struct grub_pxenv_get_cached_info ci;
struct grub_net_bootp_ack *bp;
struct grub_net_bootp_packet *bp;
char *buf;
pxenv = grub_pxe_scan ();