changeset 56:9d550591b721

Pause.c: clang-format, c style
author ng0@n0.is
date Fri, 03 May 2019 21:10:45 +0000
parents 8a03fc071820
children 0c71b3505f6e
files Pause.c
diffstat 1 files changed, 23 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/Pause.c	Fri May 03 21:09:10 2019 +0000
+++ b/Pause.c	Fri May 03 21:10:45 2019 +0000
@@ -1,6 +1,7 @@
 #ifndef lint
-static char *rcsid_Pause_c = "$XConsortium: Pause.c,v 1.4 88/09/06 17:28:29 jim Exp $";
-#endif	/* lint */
+static char *rcsid_Pause_c =
+  "$XConsortium: Pause.c,v 1.4 88/09/06 17:28:29 jim Exp $";
+#endif /* lint */
 
 /*
  * Copyright 1985, 1986, 1987, 1988, 1989 by the
@@ -42,7 +43,6 @@
  */
 
 
-
 /*
  * MODIFICATION HISTORY
  *
@@ -58,22 +58,28 @@
 #include "uwm.h"
 #include <stdbool.h>
 
-bool Pause(window, mask, button, x, y)
-Window window;                          /* Event window. */
-int mask;                               /* Button/key mask. */
-int button;                           /* Button event detail. */
-int x, y;                               /* Event mouse position. */
+/*
+ * Window window: Event window.
+ * int mask: Button/key mask.
+ * int button: Button event detail.
+ * int x, y: Event mouse position.
+ */
+bool
+Pause (Window window, int mask, int button, int x, int y)
 {
-    XGrabServer(dpy);
-    return(FALSE);
+        XGrabServer (dpy);
+        return (FALSE);
 }
 
-bool Continue(window, mask, button, x, y)
-Window window;                          /* Event window. */
-int mask;                               /* Button/key mask. */
-int button;                           /* Button event detail. */
-int x, y;                               /* Event mouse position. */
+/*
+ * Window window: Event window.
+ * int mask: Button/key mask.
+ * int button: Button event detail.
+ * int x, y: Event mouse position.
+ */
+bool
+Continue (Window window, int mask, int button, int x, int y)
 {
-    XUngrabServer(dpy);
-    return(FALSE);
+        XUngrabServer (dpy);
+        return (FALSE);
 }