Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/link.h
          +++ new/usr/src/uts/common/sys/link.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  
  22   22  /*
  23   23   *      Copyright (c) 1988 AT&T
  24   24   *        All Rights Reserved
  25   25   *
       26 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       27 + *
  26   28   * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  27   29   */
  28   30  
  29   31  #ifndef _SYS_LINK_H
  30   32  #define _SYS_LINK_H
  31   33  
  32   34  #ifndef _ASM
  33   35  #include <sys/types.h>
  34   36  #include <sys/elftypes.h>
  35   37  #endif
↓ open down ↓ 579 lines elided ↑ open up ↑
 615  617  #define EB_AUXV         5               /* (auxv_t *) auxiliary vector */
 616  618  #define EB_DEVZERO      6               /* (int) fd for /dev/zero */
 617  619  #define EB_PAGESIZE     7               /* (int) page size */
 618  620  #define EB_MAX          8               /* number of "EBs" */
 619  621  #define EB_MAX_SIZE32   64              /* size in bytes, _ILP32 */
 620  622  #define EB_MAX_SIZE64   128             /* size in bytes, _LP64 */
 621  623  
 622  624  
 623  625  #ifndef _ASM
 624  626  
 625      -#ifdef __STDC__
 626      -
 627  627  /*
 628  628   * Concurrency communication structure for libc callbacks.
 629  629   */
 630  630  extern void     _ld_libc(void *);
 631      -#else /* __STDC__ */
 632      -extern void     _ld_libc();
 633      -#endif /* __STDC__ */
 634  631  
 635  632  #pragma unknown_control_flow(_ld_libc)
 636  633  #endif /* _ASM */
 637  634  
 638  635  #ifdef  __cplusplus
 639  636  }
 640  637  #endif
 641  638  
 642  639  #endif  /* _SYS_LINK_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX