summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/ddidmareq.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/ddidmareq.h')
-rw-r--r--usr/src/uts/common/sys/ddidmareq.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/uts/common/sys/ddidmareq.h b/usr/src/uts/common/sys/ddidmareq.h
index 56c8de3e34..ec6ca3b24c 100644
--- a/usr/src/uts/common/sys/ddidmareq.h
+++ b/usr/src/uts/common/sys/ddidmareq.h
@@ -19,10 +19,9 @@
* CDDL HEADER END
*/
/*
- * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
+ * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_DDIDMAREQ_H
@@ -509,13 +508,8 @@ typedef struct ddi_dma_req {
* 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.