summaryrefslogtreecommitdiff
path: root/src/ati.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-19 17:58:34 -0400
committerAlex Deucher <alex@samba.(none)>2008-03-19 17:58:34 -0400
commitc83827b4d2b6f03c54429e757a756eb99ff8be6b (patch)
tree92c68452b28649227b89079c8ccaf841a63aa607 /src/ati.c
parentbed9754ad21d6c0a7f61067b04ba31c430a7cecb (diff)
[PATCH] Compile warning fixes.
Minor changes to avoid declarations mixed with code. Ansified functions with empty prototype to specify they don't receive arguments. Added some prototypes to radeon.h, and major reorder on radeon.h adding prototypes in alphabetical order and specifying to file that defines it.
Diffstat (limited to 'src/ati.c')
-rw-r--r--src/ati.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ati.c b/src/ati.c
index b3f07caf..85da389d 100644
--- a/src/ati.c
+++ b/src/ati.c
@@ -102,7 +102,7 @@ ati_device_get_from_busid(int bus, int dev, int func)
}
static struct pci_device*
-ati_device_get_primary()
+ati_device_get_primary(void)
{
struct pci_device *device = NULL;
struct pci_device_iterator *device_iter;