mi: ANSI cleanups

This commit is contained in:
Julien Cristau 2009-01-11 08:42:28 +01:00
parent 359ed32c9b
commit 5aa9483d3e
3 changed files with 3 additions and 4 deletions

View File

@ -437,7 +437,7 @@ miPointerSetScreen(DeviceIntPtr pDev, int screen_no, int x, int y)
} }
ScreenPtr ScreenPtr
miPointerCurrentScreen () miPointerCurrentScreen (void)
{ {
return miPointerGetScreen(inputInfo.pointer); return miPointerGetScreen(inputInfo.pointer);
} }

View File

@ -297,7 +297,7 @@ static int privateKeyIndex;
static DevPrivateKey privateKey = &privateKeyIndex; static DevPrivateKey privateKey = &privateKeyIndex;
DevPrivateKey DevPrivateKey
miAllocateGCPrivateIndex() miAllocateGCPrivateIndex(void)
{ {
return privateKey; return privateKey;
} }

View File

@ -65,8 +65,7 @@ Written by Joel McCormack, Summer 1989.
*/ */
void miInitSpanGroup(spanGroup) void miInitSpanGroup(SpanGroup *spanGroup)
SpanGroup *spanGroup;
{ {
spanGroup->size = 0; spanGroup->size = 0;
spanGroup->count = 0; spanGroup->count = 0;