Revision: 2124
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2124
Author:   proski
Date:     2009-04-17 16:08:24 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
2009-04-17  Pavel Roskin  <[email protected]>

        * fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to
        match struct grub_fs.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/i386/pc/pxe.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-04-17 15:36:41 UTC (rev 2123)
+++ trunk/grub2/ChangeLog       2009-04-17 16:08:24 UTC (rev 2124)
@@ -1,5 +1,8 @@
 2009-04-17  Pavel Roskin  <[email protected]>
 
+       * fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to
+       match struct grub_fs.
+
        * disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR.
        * bus/usb/ohci.c (grub_ohci_pci_iter): Likewise.
        * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.

Modified: trunk/grub2/fs/i386/pc/pxe.c
===================================================================
--- trunk/grub2/fs/i386/pc/pxe.c        2009-04-17 15:36:41 UTC (rev 2123)
+++ trunk/grub2/fs/i386/pc/pxe.c        2009-04-17 16:08:24 UTC (rev 2124)
@@ -107,9 +107,9 @@
   };
 
 static grub_err_t
-grub_pxefs_dir (grub_device_t device __attribute((unused)),
-                const char *path __attribute((unused)),
-                int (*hook) (const char *filename, int dir) 
__attribute((unused)))
+grub_pxefs_dir (grub_device_t device UNUSED, const char *path UNUSED,
+               int (*hook) (const char *filename,
+                            const struct grub_dirhook_info *info) UNUSED)
 {
   return GRUB_ERR_NONE;
 }



Reply via email to