This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 4598c0c3d215f7f2237a9ccee3a143025f2af005
Author: Ulrich Sibiller <ul...@gmx.de>
Date:   Thu Feb 15 21:56:52 2018 +0100

    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".
---
 nx-X11/programs/Xserver/Xi/extinit.c | 8 ++++----
 nx-X11/programs/Xserver/Xi/stubs.c   | 2 +-
 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 4f1a0c5..a50552c 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 c25c739..e737855 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: 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/nx-libs.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to