Print this page
remove support for non-ANSI compilation

*** 17,26 **** --- 17,28 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
*** 57,86 **** /* OFF: do rewind in defread */ #define DC_STRIP_QUOTES 0004 /* ON: strip quotes; OFF: leave quotes */ #define DC_STD ((0) | (DC_CASE)) - #ifdef __STDC__ extern int defcntl(int, int); extern int defopen(char *); extern char *defread(char *); extern int defcntl_r(int, int, void *); extern void *defopen_r(const char *); extern char *defread_r(const char *, void *); extern void defclose_r(void *); - #else - extern int defcntl(); - extern int defopen(); - extern char *defread(); - extern int defcntl_r(); - extern void *defopen_r(); - extern char *defread_r(); - extern void defclose_r(); - #endif - #define TURNON(flags, mask) ((flags) |= (mask)) #define TURNOFF(flags, mask) ((flags) &= ~(mask)) #define ISON(flags, mask) (((flags) & (mask)) == (mask)) #define ISOFF(flags, mask) (((flags) & (mask)) != (mask)) --- 59,77 ----