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 /*      Copyright (c) 1988 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 /*
  25  * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
  26  */
  27 




  28 #include "inc.h"
  29 #include "conv.h"
  30 
  31 /*
  32  * Forward declarations
  33  */
  34 static void setup(int, char **, Cmd_info *);
  35 static void setcom(Cmd_info *, Cmd_func);
  36 static void usage(void);
  37 static void sigexit(int sig);
  38 static int notfound(Cmd_info *);
  39 static void check_swap();
  40 
  41 const char *
  42 _ar_msg(Msg mid)
  43 {
  44         return (gettext(MSG_ORIG(mid)));
  45 }
  46 
  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 /*      Copyright (c) 1988 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 /*
  25  * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
  26  */
  27 
  28 /*
  29  * Copyright (c) 2018, Joyent, Inc.
  30  */
  31 
  32 #include "inc.h"
  33 #include "conv.h"
  34 
  35 /*
  36  * Forward declarations
  37  */
  38 static void setup(int, char **, Cmd_info *);
  39 static void setcom(Cmd_info *, Cmd_func);
  40 static void usage(void);
  41 static void sigexit(int sig);
  42 static int notfound(Cmd_info *);
  43 static void check_swap();
  44 
  45 const char *
  46 _ar_msg(Msg mid)
  47 {
  48         return (gettext(MSG_ORIG(mid)));
  49 }
  50 
  51