changeset 36:a207ebf522cd

Beep.c: clang-format, c style
author ng0@n0.is
date Fri, 03 May 2019 19:13:56 +0000
parents ba5af0bed16c
children 88a58b1f92d9
files Beep.c
diffstat 1 files changed, 13 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Beep.c	Fri May 03 19:11:02 2019 +0000
+++ b/Beep.c	Fri May 03 19:13:56 2019 +0000
@@ -1,6 +1,7 @@
 #ifndef lint
-static char *rcsid_Beep_c = "$XConsortium: Beep.c,v 1.5 88/09/06 17:27:24 jim Exp $";
-#endif	/* lint */
+static char *rcsid_Beep_c =
+  "$XConsortium: Beep.c,v 1.5 88/09/06 17:27:24 jim Exp $";
+#endif /* lint */
 
 /*
  * Copyright 1985, 1986, 1987, 1988, 1989 by the
@@ -44,7 +45,6 @@
  */
 
 
-
 /*
  * MODIFICATION HISTORY
  *
@@ -57,12 +57,15 @@
 
 #include "uwm.h"
 
-bool Beep(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
+Beep (Window window, int mask, int button, int x, int y)
 {
-	XBell(dpy, VOLUME_PERCENTAGE(Volume));
-	return(FALSE);
+        XBell (dpy, VOLUME_PERCENTAGE (Volume));
+        return (FALSE);
 }