Print this page
remove support for non-ANSI compilation

@@ -18,19 +18,19 @@
  *
  * CDDL HEADER END
  */
 
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 #ifndef _SYS_AIOCB_H
 #define _SYS_AIOCB_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/types.h>
 #include <sys/fcntl.h>
 #include <sys/siginfo.h>
 #include <sys/aio.h>
 

@@ -38,15 +38,11 @@
 extern "C" {
 #endif
 
 typedef struct aiocb {
         int             aio_fildes;
-#if     defined(__STDC__)
         volatile void   *aio_buf;               /* buffer location */
-#else
-        void            *aio_buf;               /* buffer location */
-#endif
         size_t          aio_nbytes;             /* length of transfer */
         off_t           aio_offset;             /* file offset */
         int             aio_reqprio;            /* request priority offset */
         struct sigevent aio_sigevent;           /* notification type */
         int             aio_lio_opcode;         /* listio operation */

@@ -57,15 +53,11 @@
 
 #ifdef _LARGEFILE64_SOURCE
 #if     !defined(_KERNEL)
 typedef struct aiocb64 {
         int             aio_fildes;
-#if     defined(__STDC__)
         volatile void   *aio_buf;               /* buffer location */
-#else
-        void            *aio_buf;               /* buffer location */
-#endif
         size_t          aio_nbytes;             /* length of transfer */
         off64_t         aio_offset;             /* file offset */
         int             aio_reqprio;            /* request priority offset */
         struct sigevent aio_sigevent;           /* notification type */
         int             aio_lio_opcode;         /* listio operation */