From 99fb9817f6452df63b0c9258342086b5769ba468 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 26 Feb 2018 12:22:15 +0100 Subject: hw/nxagent/: Use (void) rather than (). --- nx-X11/programs/Xserver/hw/nxagent/Pixmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixmap.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c index 6a02f2f56..25d410d51 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c @@ -788,7 +788,7 @@ void nxagentDisconnectPixmap(void *p0, XID x1, void *p2) } } -Bool nxagentDisconnectAllPixmaps() +Bool nxagentDisconnectAllPixmaps(void) { int r = 1; int i; @@ -1185,7 +1185,7 @@ Bool nxagentCheckPixmapIntegrity(PixmapPtr pPixmap) return integrity; } -Bool nxagentCheckAllPixmapIntegrity() +Bool nxagentCheckAllPixmapIntegrity(void) { int i; Bool imageIsGood = True; @@ -1445,7 +1445,7 @@ FIXME: If the pixmap has a different depth from the window, the return True; } -Bool nxagentFbOnShadowDisplay() +Bool nxagentFbOnShadowDisplay(void) { static Display *shadow; static Window win; @@ -1608,7 +1608,7 @@ Bool nxagentFbOnShadowDisplay() #ifdef DEBUG -void nxagentPrintResourceTypes() +void nxagentPrintResourceTypes(void) { fprintf(stderr, "nxagentPrintResourceTypes: RT_PIXMAP [%lu].\n", (unsigned long) RT_PIXMAP); fprintf(stderr, "nxagentPrintResourceTypes: RT_NX_PIXMAP [%lu].\n", (unsigned long) RT_NX_PIXMAP); @@ -1627,7 +1627,7 @@ void nxagentPrintResourcePredicate(void *value, XID id, XID type, void *cdata) (void *) value, (unsigned long) id, (unsigned long) type); } -void nxagentPrintResources() +void nxagentPrintResources(void) { Bool result; int i; -- cgit v1.2.3