[2123] 2009-04-17 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2123
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2123
Author:   proski
Date:     2009-04-17 15:36:41 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
2009-04-17  Pavel Roskin  <[email protected]>

	* 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.
	* commands/lspci.c (grub_lspci_iter): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/bus/usb/ohci.c
    trunk/grub2/bus/usb/uhci.c
    trunk/grub2/commands/lspci.c
    trunk/grub2/disk/ata.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-16 20:19:01 UTC (rev 2122)
+++ trunk/grub2/ChangeLog	2009-04-17 15:36:41 UTC (rev 2123)
@@ -1,3 +1,10 @@
+2009-04-17  Pavel Roskin  <[email protected]>
+
+	* 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.
+	* commands/lspci.c (grub_lspci_iter): Likewise.
+
 2009-04-16  Bean  <[email protected]>
 
 	* commands/efi/loadbios.c (grub_cmd_fakebios): Add missing return

Modified: trunk/grub2/bus/usb/ohci.c
===================================================================
--- trunk/grub2/bus/usb/ohci.c	2009-04-16 20:19:01 UTC (rev 2122)
+++ trunk/grub2/bus/usb/ohci.c	2009-04-17 15:36:41 UTC (rev 2123)
@@ -112,8 +112,9 @@
 
 /* Iterate over all PCI devices.  Determine if a device is an OHCI
    controller.  If this is the case, initialize it.  */
-static int grub_ohci_pci_iter (int bus, int device, int func,
-			       grub_pci_id_t pciid __attribute__((unused)))
+static int NESTED_FUNC_ATTR
+grub_ohci_pci_iter (int bus, int device, int func,
+		    grub_pci_id_t pciid __attribute__((unused)))
 {
   grub_uint32_t class;
   grub_uint32_t subclass;

Modified: trunk/grub2/bus/usb/uhci.c
===================================================================
--- trunk/grub2/bus/usb/uhci.c	2009-04-16 20:19:01 UTC (rev 2122)
+++ trunk/grub2/bus/usb/uhci.c	2009-04-17 15:36:41 UTC (rev 2123)
@@ -137,8 +137,9 @@
 
 /* Iterate over all PCI devices.  Determine if a device is an UHCI
    controller.  If this is the case, initialize it.  */
-static int grub_uhci_pci_iter (int bus, int device, int func,
-			       grub_pci_id_t pciid __attribute__((unused)))
+static int NESTED_FUNC_ATTR
+grub_uhci_pci_iter (int bus, int device, int func,
+		    grub_pci_id_t pciid __attribute__((unused)))
 {
   grub_uint32_t class;
   grub_uint32_t subclass;

Modified: trunk/grub2/commands/lspci.c
===================================================================
--- trunk/grub2/commands/lspci.c	2009-04-16 20:19:01 UTC (rev 2122)
+++ trunk/grub2/commands/lspci.c	2009-04-17 15:36:41 UTC (rev 2123)
@@ -114,7 +114,7 @@
   return 0;
 }
 
-static int
+static int NESTED_FUNC_ATTR
 grub_lspci_iter (int bus, int dev, int func, grub_pci_id_t pciid)
 {
   grub_uint32_t class;

Modified: trunk/grub2/disk/ata.c
===================================================================
--- trunk/grub2/disk/ata.c	2009-04-16 20:19:01 UTC (rev 2122)
+++ trunk/grub2/disk/ata.c	2009-04-17 15:36:41 UTC (rev 2123)
@@ -375,7 +375,7 @@
   return 0;
 }
 
-static int
+static int NESTED_FUNC_ATTR
 grub_ata_pciinit (int bus, int device, int func,
 		  grub_pci_id_t pciid __attribute__((unused)))
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.