Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/fibre-channel/fc_types.h
          +++ new/usr/src/uts/common/sys/fibre-channel/fc_types.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
       22 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       23 + *
  22   24   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   25   * Use is subject to license terms.
  24   26   */
  25   27  
  26   28  #ifndef _FC_TYPES_H
  27   29  #define _FC_TYPES_H
  28   30  
  29   31  
  30   32  
  31   33  /*
↓ open down ↓ 21 lines elided ↑ open up ↑
  53   55  #include <sys/debug.h>
  54   56  #include <sys/devops.h>
  55   57  #include <sys/callb.h>
  56   58  #include <sys/disp.h>
  57   59  #include <sys/taskq.h>
  58   60  #endif  /* _KERNEL */
  59   61  
  60   62  #ifndef _SYS_SCSI_SCSI_TYPES_H
  61   63  
  62   64  
  63      -#ifdef  __STDC__
  64   65  typedef void *opaque_t;
  65      -#else   /* __STDC__ */
  66      -typedef char *opaque_t;
  67      -#endif  /* __STDC__ */
  68   66  
  69   67  #endif /* _SYS_SCSI_SCSI_TYPES_H */
  70   68  
  71   69  /* Sysevent defs */
  72   70  #define EC_SUNFC                "EC_sunfc"
  73   71  #define ESC_SUNFC_PORT_ATTACH   "ESC_sunfc_port_attach"
  74   72  #define ESC_SUNFC_PORT_DETACH   "ESC_sunfc_port_detach"
  75   73  #define ESC_SUNFC_PORT_ONLINE   "ESC_sunfc_port_online"
  76   74  #define ESC_SUNFC_PORT_OFFLINE  "ESC_sunfc_port_offline"
  77   75  #define ESC_SUNFC_PORT_RSCN     "ESC_sunfc_port_rscn"
↓ open down ↓ 113 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX