summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-30 22:11:51 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 21:59:22 -0700
commitcf88a8c16958ddfaeff6349d30c6c423fc4a7afa (patch)
tree3f4d761bd512a096017540b1f676f29e9a4bf9c6 /src/events.c
parentea349d3c406695665322c71caf5ea3c970cb3155 (diff)
Convert remaining K&R function declarations to C89 style
Many existing function declarations were C89, and headers all use C89 prototypes, but a few function declarations had been left in the old style. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: <wharms@bfs.de>
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/events.c b/src/events.c
index 2d76b19..aa61bf6 100644
--- a/src/events.c
+++ b/src/events.c
@@ -1349,8 +1349,8 @@ HandleMapRequest(void)
-void SimulateMapRequest (w)
- Window w;
+void
+SimulateMapRequest (Window w)
{
Event.xmaprequest.window = w;
HandleMapRequest ();
@@ -2434,8 +2434,7 @@ Transient(Window w, Window *propw)
* \param w the window
*/
ScreenInfo *
-FindScreenInfo(w)
- Window w;
+FindScreenInfo(Window w)
{
XWindowAttributes attr;
int scrnum;
@@ -2455,8 +2454,8 @@ FindScreenInfo(w)
-static void flush_expose (w)
- Window w;
+static void
+flush_expose (Window w)
{
XEvent dummy;