Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/syscall.h
          +++ new/usr/src/uts/common/sys/syscall.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  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   22  /*
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23   24   * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24   25   * Copyright (c) 2013 by Delphix. All rights reserved.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  #ifndef _SYS_SYSCALL_H
  31   32  #define _SYS_SYSCALL_H
  32   33  
↓ open down ↓ 466 lines elided ↑ open up ↑
 499  500          unsigned int    word[16];
 500  501  } sysset_t;
 501  502  
 502  503  typedef struct {        /* return values from system call */
 503  504          long    sys_rval1;      /* primary return value from system call */
 504  505          long    sys_rval2;      /* second return value from system call */
 505  506  } sysret_t;
 506  507  
 507  508  #if !defined(_KERNEL)
 508  509  
 509      -#if defined(__STDC__)
 510  510  extern int      syscall(int, ...);
 511  511  extern int      __systemcall(sysret_t *, int, ...);
 512  512  extern int      __set_errno(int);
 513      -#else
 514      -extern int      syscall();
 515      -extern int      __systemcall();
 516      -extern int      __set_errno();
 517      -#endif
 518  513  
 519  514  #endif  /* _KERNEL */
 520  515  
 521  516  #endif  /* _ASM */
 522  517  
 523  518  #ifdef  __cplusplus
 524  519  }
 525  520  #endif
 526  521  
 527  522  #endif  /* _SYS_SYSCALL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX