changeset 34:2596dc222f68

Error.c: clang-format.
author ng0@n0.is
date Fri, 03 May 2019 19:02:56 +0000
parents 136f06b2ce62
children ba5af0bed16c
files Error.c
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/Error.c	Fri May 03 19:02:12 2019 +0000
+++ b/Error.c	Fri May 03 19:02:56 2019 +0000
@@ -1,6 +1,7 @@
 #ifndef lint
-static char *rcsid_Error_c = "$XConsortium: Error.c,v 1.5 88/09/06 17:27:51 jim Exp $";
-#endif	/* lint */
+static char *rcsid_Error_c =
+  "$XConsortium: Error.c,v 1.5 88/09/06 17:27:51 jim Exp $";
+#endif /* lint */
 
 /*
  * Copyright 1985, 1986, 1987, 1988, 1989 by the
@@ -44,7 +45,6 @@
  */
 
 
-
 /*
  * MODIFICATION HISTORY
  *
@@ -59,16 +59,16 @@
 /*
  * Default error reporting routine.  Called when a random uwm error
  * is encountered.
+ *
+ * char *s: Error description string
  */
-Error(s)
-char *s;	/* Error description string */
+Error (char *s)
 {
-    fprintf(stderr, "uwm: %s\n", s);
-    exit(1);
+        fprintf (stderr, "uwm: %s\n", s);
+        exit (1);
 }
 
-Warning(s)
-char *s;	/* Error description string */
-{
-    fprintf(stderr, "uwm: warning: %s\n", s);
-}
+/*
+ * char *s: Error description string
+ */
+Warning (char *s) { fprintf (stderr, "uwm: warning: %s\n", s); }