summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2009-02-03 23:58:25 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-04 09:41:40 +1000
commit731a907ac21a753f306b53706f689469cefeb953 (patch)
tree4cbe735dddc1d7fae5d3de5baf7154cfe06bcc32 /hw
parentbc57efffe654c493ceb62555cccb7926f4a646f1 (diff)
Fix "warning: XXX defined but not used"
generic.c:80: warning: ‘read_legacy_video_BIOS’ defined but not used Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/int10/generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c
index 4808108ff..9d39e99b0 100644
--- a/hw/xfree86/int10/generic.c
+++ b/hw/xfree86/int10/generic.c
@@ -75,6 +75,7 @@ static void *sysMem = NULL;
* etc.). How do we know that \c pci_device_read_rom will return the
* legacy VGA BIOS image?
*/
+#ifndef _PC
static int
read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf)
{
@@ -114,6 +115,7 @@ read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf)
return Len;
}
+#endif /* _PC */
xf86Int10InfoPtr