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>


   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License, Version 1.0 only
   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*
  23  *
  24  *  Copyright (c) 1994 by Sun Microsystems, Inc.

  25  */
  26 
  27 /*
  28  * Copyright 1991, 1992 by Mortice Kern Systems Inc.  All rights reserved.
  29  *
  30  * Standards Conformance :
  31  *      P1003.2/D11.2
  32  *
  33  */
  34 #pragma ident   "%Z%%M% %I%     %E% SMI"
  35 /*
  36  * Original ident string for reference
  37  * ident        "$Id: pathchk.c,v 1.29 1994/05/24 15:51:19 mark Exp $"
  38  */
  39 
  40 #include <locale.h>
  41 #include <libintl.h>
  42 #include <limits.h>
  43 #include <sys/stat.h>
  44 #include <fcntl.h>                /* for creat() prototype */
  45 #include <string.h>
  46 #include <errno.h>
  47 #include <stdlib.h>
  48 #include <stdio.h>
  49 #include <ctype.h>
  50 #include <unistd.h>
  51 #include <stdlib.h>
  52 
  53 /*
  54  * These are the characters in the portable filename character set defined




   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License, Version 1.0 only
   6  * (the "License").  You may not use this file except in compliance
   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*

  23  * Copyright (c) 1994 by Sun Microsystems, Inc.
  24  * Copyright (c) 2018, Joyent, Inc.
  25  */
  26 
  27 /*
  28  * Copyright 1991, 1992 by Mortice Kern Systems Inc.  All rights reserved.
  29  *
  30  * Standards Conformance :
  31  *      P1003.2/D11.2
  32  *
  33  */

  34 /*
  35  * Original ident string for reference
  36  * ident        "$Id: pathchk.c,v 1.29 1994/05/24 15:51:19 mark Exp $"
  37  */
  38 
  39 #include <locale.h>
  40 #include <libintl.h>
  41 #include <limits.h>
  42 #include <sys/stat.h>
  43 #include <fcntl.h>                /* for creat() prototype */
  44 #include <string.h>
  45 #include <errno.h>
  46 #include <stdlib.h>
  47 #include <stdio.h>
  48 #include <ctype.h>
  49 #include <unistd.h>
  50 #include <stdlib.h>
  51 
  52 /*
  53  * These are the characters in the portable filename character set defined