Commit 4598c0c3 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mihai Moldovan

Xi: change () prototypes to (void)

According to the C standard these are not equivalent. However, the same change has been done in Xorg upstream. Plus these functions are not called with parameters anywhere so we should be fine. Besides, include/{extinit.h,XIstubs.h} always had the "void".
parent ebe1c2f2
...@@ -219,7 +219,7 @@ static XExtensionVersion thisversion = ...@@ -219,7 +219,7 @@ static XExtensionVersion thisversion =
*/ */
void void
XInputExtensionInit() XInputExtensionInit(void)
{ {
ExtensionEntry *extEntry; ExtensionEntry *extEntry;
...@@ -747,7 +747,7 @@ FixExtensionEvents(ExtensionEntry * extEntry) ...@@ -747,7 +747,7 @@ FixExtensionEvents(ExtensionEntry * extEntry)
*/ */
void void
RestoreExtensionEvents() RestoreExtensionEvents(void)
{ {
int i; int i;
...@@ -837,7 +837,7 @@ AssignTypeAndName(DeviceIntPtr dev, Atom type, char *name) ...@@ -837,7 +837,7 @@ AssignTypeAndName(DeviceIntPtr dev, Atom type, char *name)
*/ */
void void
MakeDeviceTypeAtoms() MakeDeviceTypeAtoms(void)
{ {
int i; int i;
...@@ -908,7 +908,7 @@ AllowPropagateSuppress(Mask mask) ...@@ -908,7 +908,7 @@ AllowPropagateSuppress(Mask mask)
*/ */
Mask Mask
GetNextExtEventMask() GetNextExtEventMask(void)
{ {
int i; int i;
Mask mask = lastExtEventMask; Mask mask = lastExtEventMask;
......
...@@ -191,7 +191,7 @@ CloseInputDevice(DeviceIntPtr d, ClientPtr client) ...@@ -191,7 +191,7 @@ CloseInputDevice(DeviceIntPtr d, ClientPtr client)
*/ */
void void
AddOtherInputDevices() AddOtherInputDevices(void)
{ {
/********************************************************************** /**********************************************************************
for each uninitialized device, do something like: for each uninitialized device, do something like:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment