summaryrefslogtreecommitdiff
path: root/src/i830_modes.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-26 15:11:13 +0200
committerEric Anholt <anholt@FreeBSD.org>2006-06-26 15:11:13 +0200
commit7104b915da412a26661bab7b5a940e935e8cbc8a (patch)
tree548ce3bfe8dbded72e0521f2e0587d88d1e16479 /src/i830_modes.c
parent21dc3edfc41987bb8cf0f8d265fba9775cbe8cdb (diff)
Clean up warnings.
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r--src/i830_modes.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c
index a43fa617..6ee1a942 100644
--- a/src/i830_modes.c
+++ b/src/i830_modes.c
@@ -181,7 +181,7 @@ I830DuplicateMode(DisplayModePtr pMode)
/* This function will sort all modes according to their resolution.
* Highest resolution first.
*/
-void
+static void
I830xf86SortModes(DisplayModePtr new, DisplayModePtr *first,
DisplayModePtr *last)
{
@@ -246,7 +246,8 @@ I830GetVESAEstablishedMode(ScrnInfoPtr pScrn, int i)
return NULL;
}
-DisplayModePtr I830GetDDCModes(ScrnInfoPtr pScrn, xf86MonPtr ddc)
+static DisplayModePtr
+I830GetDDCModes(ScrnInfoPtr pScrn, xf86MonPtr ddc)
{
DisplayModePtr last = NULL;
DisplayModePtr new = NULL;
@@ -438,7 +439,7 @@ i830FPNativeMode(ScrnInfoPtr pScrn)
*
* \return doubly-linked list of modes.
*/
-DisplayModePtr
+static DisplayModePtr
i830GetLVDSModes(ScrnInfoPtr pScrn, char **ppModeName)
{
I830Ptr pI830 = I830PTR(pScrn);
@@ -541,7 +542,7 @@ i830GetLVDSModes(ScrnInfoPtr pScrn, char **ppModeName)
* it into the doubly-linked modeList. We don't need to filter, because the
* eventual call to xf86ValidateModes will do this for us. I think.
*/
-int
+static int
I830InjectProbedModes(ScrnInfoPtr pScrn, DisplayModePtr *modeList,
DisplayModePtr addModes)
{