aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-02-15 21:56:52 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-26 00:58:46 +0100
commit4598c0c3d215f7f2237a9ccee3a143025f2af005 (patch)
tree4232012c65ee251fef529950a420689154778847 /nx-X11/programs/Xserver/Xi
parentebe1c2f2262b550f4664ba8f8a7c3e7e428fdfa1 (diff)
downloadnx-libs-4598c0c3d215f7f2237a9ccee3a143025f2af005.tar.gz
nx-libs-4598c0c3d215f7f2237a9ccee3a143025f2af005.tar.bz2
nx-libs-4598c0c3d215f7f2237a9ccee3a143025f2af005.zip
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".
Diffstat (limited to 'nx-X11/programs/Xserver/Xi')
-rw-r--r--nx-X11/programs/Xserver/Xi/extinit.c8
-rw-r--r--nx-X11/programs/Xserver/Xi/stubs.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/Xi/extinit.c b/nx-X11/programs/Xserver/Xi/extinit.c
index 4f1a0c5ad..a50552cfe 100644
--- a/nx-X11/programs/Xserver/Xi/extinit.c
+++ b/nx-X11/programs/Xserver/Xi/extinit.c
@@ -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;
diff --git a/nx-X11/programs/Xserver/Xi/stubs.c b/nx-X11/programs/Xserver/Xi/stubs.c
index c25c739a2..e73785547 100644
--- a/nx-X11/programs/Xserver/Xi/stubs.c
+++ b/nx-X11/programs/Xserver/Xi/stubs.c
@@ -191,7 +191,7 @@ CloseInputDevice(DeviceIntPtr d, ClientPtr client)
*/
void
-AddOtherInputDevices()
+AddOtherInputDevices(void)
{
/**********************************************************************
for each uninitialized device, do something like: