Print this page
remove support for non-ANSI compilation

*** 17,31 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. */ - /* - * Copyright 2014 Garrett D'Amore <garrett@damore.org> - */ #ifndef _SYS_DDIDMAREQ_H #define _SYS_DDIDMAREQ_H #ifdef __cplusplus --- 17,30 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. */ #ifndef _SYS_DDIDMAREQ_H #define _SYS_DDIDMAREQ_H #ifdef __cplusplus
*** 507,523 **** * * If a DMA callback funtion is set to anything other than the following * defines then it is assumed that one wishes a callback and is providing * a function address. */ - #ifdef __STDC__ #define DDI_DMA_DONTWAIT ((int (*)(caddr_t))0) #define DDI_DMA_SLEEP ((int (*)(caddr_t))1) - #else - #define DDI_DMA_DONTWAIT ((int (*)())0) - #define DDI_DMA_SLEEP ((int (*)())1) - #endif /* * Return values from callback functions. */ #define DDI_DMA_CALLBACK_RUNOUT 0 --- 506,517 ----