Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>


   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23  */
  24 
  25 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  26 /*        All Rights Reserved   */
  27 



  28 
  29 #include <stdio.h>
  30 #include <stdlib.h>
  31 #include <wchar.h>
  32 #include <string.h>
  33 #include <locale.h>
  34 
  35 int
  36 main(int argc, char *argv[])
  37 {
  38 
  39         register char   *cp;
  40         register int    i, wd;
  41         int     j;
  42         wchar_t         wc;
  43         int             b_len;
  44         char            *ep;
  45 
  46         (void) setlocale(LC_ALL, "");
  47 




   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23  */
  24 
  25 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  26 /*        All Rights Reserved   */
  27 
  28 /*
  29  * Copyright (c) 2018, Joyent, Inc.
  30  */
  31 
  32 #include <stdio.h>
  33 #include <stdlib.h>
  34 #include <wchar.h>
  35 #include <string.h>
  36 #include <locale.h>
  37 
  38 int
  39 main(int argc, char *argv[])
  40 {
  41 
  42         register char   *cp;
  43         register int    i, wd;
  44         int     j;
  45         wchar_t         wc;
  46         int             b_len;
  47         char            *ep;
  48 
  49         (void) setlocale(LC_ALL, "");
  50