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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libeti/form/common/regcmp.c
          +++ new/usr/src/lib/libeti/form/common/regcmp.c
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*      Copyright (c) 1988 AT&T */
  23   23  /*        All Rights Reserved   */
  24   24  
  25   25  
  26   26  /*
  27   27   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  28   28   * Use is subject to license terms.
  29   29   */
  30   30  
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.2   */
       31 +/*
       32 + * Copyright (c) 2018, Joyent, Inc.
       33 + */
  32   34  
  33   35  /*LINTLIBRARY*/
  34   36  
  35   37  #include <sys/types.h>
  36   38  #include <stdlib.h>
  37   39  #include "utility.h"
  38   40  
  39   41  /* this code was taken from REGCMP(3X) */
  40   42  
  41   43  #define SSIZE   16
↓ open down ↓ 160 lines elided ↑ open up ↑
 202  204                          continue;
 203  205  
 204  206                  case '+':
 205  207                          if (*lastep == CBRA || *lastep == CKET)
 206  208                                  goto cerror;
 207  209                          *lastep |= PLUS;
 208  210                          continue;
 209  211  
 210  212                  case '*':
 211  213                          if (*lastep == CBRA || *lastep == CKET)
 212      -                        goto cerror;
      214 +                                goto cerror;
 213  215                          *lastep |= STAR;
 214  216                          continue;
 215  217  
 216  218                  case '$':
 217  219                          if ((*sp != FEOF) || (*adx))
 218  220                                  goto defchar;
 219  221                          *ep++ = CDOL;
 220  222                          continue;
 221  223  
 222  224                  case '[':
↓ open down ↓ 60 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX