Print this page
remove support for non-ANSI compilation

*** 17,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ - #ifndef _DIAL_H #define _DIAL_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ - #ifndef IUCLC #include <sys/termio.h> #endif #ifdef __cplusplus --- 17,35 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _DIAL_H #define _DIAL_H #ifndef IUCLC #include <sys/termio.h> #endif #ifdef __cplusplus
*** 74,95 **** int modem; /* unused */ char *device; /* unused */ int dev_len; /* unused */ } CALL; - #if defined(__STDC__) - extern int dial(CALL); extern void undial(int); - #else - - extern int dial(); - extern void undial(); - - #endif - #ifdef __cplusplus } #endif #endif /* _DIAL_H */ --- 74,86 ----