Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/auxv.h
          +++ new/usr/src/uts/common/sys/auxv.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  22   22  /*        All Rights Reserved   */
  23   23  
  24   24  
  25   25  /*
       26 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       27 + *
  26   28   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  27   29   * Use is subject to license terms.
  28   30   */
  29   31  /*
  30   32   * Copyright (c) 2012, Joyent, Inc.  All rights reserved.
  31   33   */
  32   34  
  33   35  #ifndef _SYS_AUXV_H
  34   36  #define _SYS_AUXV_H
  35   37  
↓ open down ↓ 2 lines elided ↑ open up ↑
  38   40  #ifdef  __cplusplus
  39   41  extern "C" {
  40   42  #endif
  41   43  
  42   44  #if !defined(_ASM)
  43   45  typedef struct
  44   46  {
  45   47          int     a_type;
  46   48          union {
  47   49                  long    a_val;
  48      -#ifdef __STDC__
  49   50                  void    *a_ptr;
  50      -#else
  51      -                char    *a_ptr;
  52      -#endif
  53   51                  void    (*a_fcn)();
  54   52          } a_un;
  55   53  } auxv_t;
  56   54  
  57   55  #if defined(_SYSCALL32)
  58   56  
  59   57  typedef struct {
  60   58          int32_t a_type;
  61   59          union   {
  62   60                  int32_t a_val;
↓ open down ↓ 166 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX