summaryrefslogtreecommitdiff
path: root/dix/dixfonts.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 15:38:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-03 07:07:30 +1000
commit6093d3eb1d7d1e9cbacc2c2f4d376352f787dd53 (patch)
treec3775a1168f2bab95a9fb0e1f1b995cef580dd84 /dix/dixfonts.c
parentb874a5c0aafc766891c9e567af48b891ea14be4f (diff)
dix: fix two compiler warnings (old-style function definition).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/dixfonts.c')
-rw-r--r--dix/dixfonts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index c7fa83995..79489e81f 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -1906,7 +1906,7 @@ InitFonts (void)
}
int
-GetDefaultPointSize ()
+GetDefaultPointSize (void)
{
return 120;
}
@@ -2018,7 +2018,7 @@ find_old_font(XID id)
}
Font
-GetNewFontClientID()
+GetNewFontClientID(void)
{
return FakeClientID(0);
}