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>


  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 2004 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  28 /*        All Rights Reserved   */
  29 
  30 
  31 #pragma ident   "%Z%%M% %I%     %E% SMI"


  32 
  33 #include <stdio.h>
  34 #include <ctype.h>
  35 #include <string.h>
  36 #include <signal.h>
  37 #include <valtools.h>
  38 #include <stdlib.h>
  39 #include <locale.h>
  40 #include <libintl.h>
  41 #include <limits.h>
  42 #include <wchar.h>
  43 #include "usage.h"
  44 #include "libadm.h"
  45 
  46 #define BADPID  (-2)
  47 #define INVISMAXSIZE 36
  48 
  49 static char     *prog;
  50 static char     *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL;
  51 static int      kpid = BADPID;




  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 2004 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  28 /*        All Rights Reserved   */
  29 
  30 
  31 /*
  32  * Copyright (c) 2018, Joyent, Inc.
  33  */
  34 
  35 #include <stdio.h>
  36 #include <ctype.h>
  37 #include <string.h>
  38 #include <signal.h>
  39 #include <valtools.h>
  40 #include <stdlib.h>
  41 #include <locale.h>
  42 #include <libintl.h>
  43 #include <limits.h>
  44 #include <wchar.h>
  45 #include "usage.h"
  46 #include "libadm.h"
  47 
  48 #define BADPID  (-2)
  49 #define INVISMAXSIZE 36
  50 
  51 static char     *prog;
  52 static char     *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL;
  53 static int      kpid = BADPID;