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 =
*/
void
XInputExtensionInit()
XInputExtensionInit(void)
{
ExtensionEntry *extEntry;
......@@ -747,7 +747,7 @@ FixExtensionEvents(ExtensionEntry * extEntry)
*/
void
RestoreExtensionEvents()
RestoreExtensionEvents(void)
{
int i;
......@@ -837,7 +837,7 @@ AssignTypeAndName(DeviceIntPtr dev, Atom type, char *name)
*/
void
MakeDeviceTypeAtoms()
MakeDeviceTypeAtoms(void)
{
int i;
......@@ -908,7 +908,7 @@ AllowPropagateSuppress(Mask mask)
*/
Mask
GetNextExtEventMask()
GetNextExtEventMask(void)
{
int i;
Mask mask = lastExtEventMask;
......
......@@ -191,7 +191,7 @@ CloseInputDevice(DeviceIntPtr d, ClientPtr client)
*/
void
AddOtherInputDevices()
AddOtherInputDevices(void)
{
/**********************************************************************
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