Print this page
10097 indenting fixes in usr/src/{lib,common}

@@ -13,11 +13,13 @@
 /*
  * Copyright (c) 1997, by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
-#ident  "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.1   */
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
 
 /* LINTLIBRARY */
 
 #include <stdio.h>
 #include <mp.h>

@@ -38,11 +40,11 @@
         ten.val = &qten;
         qten = b;
         x.len = 0;
         y.len = 1;
         y.val = &qy;
-        while ((c = getc(f)) != EOF)
+        while ((c = getc(f)) != EOF) {
         switch (c) {
 
         case '\\':
                 (void) getc(f);
                 continue;

@@ -67,10 +69,12 @@
                         (void) ungetc(c, stdin);
                         a->len *= sign;
                         return (0);
                 }
         }
+        }
+
         return (EOF);
 }
 
 static void
 m_out(MINT *a, short b, FILE *f)