Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/head/dial.h
          +++ new/usr/src/head/dial.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   * and limitations under the License.
  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 +/*
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       24 + */
  22   25  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  23   26  /*        All Rights Reserved   */
  24   27  
  25      -
  26   28  #ifndef _DIAL_H
  27   29  #define _DIAL_H
  28   30  
  29      -#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.2   */
  30      -
  31   31  #ifndef IUCLC
  32   32  #include <sys/termio.h>
  33   33  #endif
  34   34  
  35   35  #ifdef  __cplusplus
  36   36  extern "C" {
  37   37  #endif
  38   38  
  39   39  /* uucico routines need these */
  40   40  #define DIAL
↓ open down ↓ 28 lines elided ↑ open up ↑
  69   69          struct termio *attr;    /* ptr to termio attribute struct */
  70   70          int     baud;           /* unused */
  71   71          int     speed;          /* 212A modem: low=300, high=1200 */
  72   72          char    *line;          /* device name for out-going line */
  73   73          char    *telno;         /* ptr to tel-no/system name string */
  74   74          int     modem;          /* unused */
  75   75          char    *device;        /* unused */
  76   76          int     dev_len;        /* unused */
  77   77  } CALL;
  78   78  
  79      -#if defined(__STDC__)
  80      -
  81   79  extern int dial(CALL);
  82   80  extern void undial(int);
  83   81  
  84      -#else
  85      -
  86      -extern int dial();
  87      -extern void undial();
  88      -
  89      -#endif
  90      -
  91   82  #ifdef  __cplusplus
  92   83  }
  93   84  #endif
  94   85  
  95   86  #endif  /* _DIAL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX