Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ipc.h
          +++ new/usr/src/uts/common/sys/ipc.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       24 + *
  23   25   * Copyright 1996-2003 Sun Microsystems, Inc.  All rights reserved.
  24   26   * Use is subject to license terms.
  25   27   */
  26   28  
  27   29  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   30  /*        All Rights Reserved   */
  29   31  
  30   32  
  31   33  
  32   34  #ifndef _SYS_IPC_H
  33   35  #define _SYS_IPC_H
  34   36  
  35      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  36      -
  37   37  #include <sys/isa_defs.h>
  38   38  #include <sys/feature_tests.h>
  39   39  #include <sys/types.h>
  40   40  
  41   41  #ifdef  __cplusplus
  42   42  extern "C" {
  43   43  #endif
  44   44  
  45   45  /* Common IPC access structure */
  46   46  
↓ open down ↓ 24 lines elided ↑ open up ↑
  71   71  
  72   72  
  73   73  /* Common IPC control commands */
  74   74  #define IPC_RMID        10      /* remove identifier */
  75   75  #define IPC_SET         11      /* set options */
  76   76  #define IPC_STAT        12      /* get options */
  77   77  
  78   78  
  79   79  #if (!defined(_KERNEL) && !defined(_XOPEN_SOURCE)) || defined(_XPG4_2) || \
  80   80          defined(__EXTENSIONS__)
  81      -#if defined(__STDC__)
  82   81  key_t ftok(const char *, int);
  83      -#else
  84      -key_t ftok();
  85      -#endif /* defined(__STDC__) */
  86   82  #endif /* (!defined(_KERNEL) && !defined(_XOPEN_SOURCE))... */
  87   83  
  88   84  #ifdef  __cplusplus
  89   85  }
  90   86  #endif
  91   87  
  92   88  #endif  /* _SYS_IPC_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX