* grub-core/bus/usb/ehci.c (grub_ehci_pci_iter): Remove incorrect
__attribute__ ((unused)). * grub-core/video/bochs.c (find_card): Likewise. * grub-core/video/cirrus.c (find_card): Likewise. * grub-core/video/radeon_fuloong2e.c (find_card): Likewise. * grub-core/video/sis315pro.c (find_card): Likewise. * grub-core/video/sm712.c (find_card): Likewise.
This commit is contained in:
parent
608b647ad9
commit
33a68ac643
7 changed files with 19 additions and 10 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2012-12-30 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/bus/usb/ehci.c (grub_ehci_pci_iter): Remove incorrect
|
||||
__attribute__ ((unused)).
|
||||
* grub-core/video/bochs.c (find_card): Likewise.
|
||||
* grub-core/video/cirrus.c (find_card): Likewise.
|
||||
* grub-core/video/radeon_fuloong2e.c (find_card): Likewise.
|
||||
* grub-core/video/sis315pro.c (find_card): Likewise.
|
||||
* grub-core/video/sm712.c (find_card): Likewise.
|
||||
|
||||
2012-12-28 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub-mkconfig.in: Accept GRUB_TERMINAL_OUTPUT=vga_text.
|
||||
|
|
|
@ -455,8 +455,7 @@ grub_ehci_reset (struct grub_ehci *e)
|
|||
|
||||
/* PCI iteration function... */
|
||||
static int NESTED_FUNC_ATTR
|
||||
grub_ehci_pci_iter (grub_pci_device_t dev,
|
||||
grub_pci_id_t pciid __attribute__ ((unused)))
|
||||
grub_ehci_pci_iter (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_uint8_t release;
|
||||
grub_uint32_t class_code;
|
||||
|
|
|
@ -210,7 +210,7 @@ grub_video_bochs_setup (unsigned int width, unsigned int height,
|
|||
int pitch, bytes_per_pixel;
|
||||
grub_size_t page_size; /* The size of a page in bytes. */
|
||||
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_pci_address_t addr;
|
||||
|
|
|
@ -245,7 +245,7 @@ grub_video_cirrus_setup (unsigned int width, unsigned int height,
|
|||
int found = 0;
|
||||
int pitch, bytes_per_pixel;
|
||||
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_pci_address_t addr;
|
||||
|
|
|
@ -69,8 +69,8 @@ grub_video_radeon_fuloong2e_setup (unsigned int width, unsigned int height,
|
|||
int found = 0;
|
||||
|
||||
#ifndef TEST
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_pci_address_t addr;
|
||||
grub_uint32_t class;
|
||||
|
|
|
@ -99,8 +99,8 @@ grub_video_sis315pro_setup (unsigned int width, unsigned int height,
|
|||
unsigned i;
|
||||
|
||||
#ifndef TEST
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_pci_address_t addr;
|
||||
grub_uint32_t class;
|
||||
|
|
|
@ -370,8 +370,8 @@ grub_video_sm712_setup (unsigned int width, unsigned int height,
|
|||
grub_err_t err;
|
||||
int found = 0;
|
||||
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
||||
auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
||||
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
||||
{
|
||||
grub_pci_address_t addr;
|
||||
grub_uint32_t class;
|
||||
|
|
Loading…
Reference in a new issue