diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-10-25 17:18:38 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-10-27 21:04:07 +0200 |
commit | e8c6a741866b00756747878bc796f99c1987faab (patch) | |
tree | dd3649ca807c5cf471c984101b9a10c4a1288a98 /nx-X11/programs | |
parent | 2804320164cc0c0cc16741ca89eec8ba860723f3 (diff) | |
download | nx-libs-e8c6a741866b00756747878bc796f99c1987faab.tar.gz nx-libs-e8c6a741866b00756747878bc796f99c1987faab.tar.bz2 nx-libs-e8c6a741866b00756747878bc796f99c1987faab.zip |
Window.c: convert old-style function definitions to ANSI C89 style
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index d25424d7c..5f9dc45af 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -263,8 +263,7 @@ WindowPtr nxagentWindowPtr(Window window) return match.pWin; } -Bool nxagentCreateWindow(pWin) - WindowPtr pWin; +Bool nxagentCreateWindow(WindowPtr pWin) { unsigned long mask; XSetWindowAttributes attributes; @@ -1568,9 +1567,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask) } } -void nxagentReparentWindow(pWin, pOldParent) - WindowPtr pWin; - WindowPtr pOldParent; +void nxagentReparentWindow(WindowPtr pWin, WindowPtr pOldParent) { if (nxagentScreenTrap) { @@ -1589,9 +1586,7 @@ void nxagentReparentWindow(pWin, pOldParent) pWin->origin.y - wBorderWidth(pWin)); } -Bool nxagentChangeWindowAttributes(pWin, mask) - WindowPtr pWin; - unsigned long mask; +Bool nxagentChangeWindowAttributes(WindowPtr pWin, unsigned long mask) { XSetWindowAttributes attributes; @@ -1953,8 +1948,7 @@ Bool nxagentRealizeWindow(WindowPtr pWin) return True; } -Bool nxagentUnrealizeWindow(pWin) - WindowPtr pWin; +Bool nxagentUnrealizeWindow(WindowPtr pWin) { if (nxagentScreenTrap) { @@ -2011,10 +2005,7 @@ void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what) } } -void nxagentPaintWindowBackground(pWin, pRegion, what) - WindowPtr pWin; - RegionPtr pRegion; - int what; +void nxagentPaintWindowBackground(WindowPtr pWin, RegionPtr pRegion, int what) { int i; @@ -3428,8 +3419,7 @@ Bool nxagentIsIconic(WindowPtr pWin) } } -void nxagentSetTopLevelEventMask(pWin) - WindowPtr pWin; +void nxagentSetTopLevelEventMask(WindowPtr pWin) { unsigned long mask = CWEventMask; XSetWindowAttributes attributes; |