Print this page
remove support for non-ANSI compilation

*** 18,35 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 1992 Sun Microsystems, Inc. All Rights Reserved. */ #ifndef _SYS_DKTP_CM_H #define _SYS_DKTP_CM_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #ifdef _KERNEL #include <sys/conf.h> #include <sys/stat.h> #include <sys/errno.h> --- 18,35 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright (c) 1992 Sun Microsystems, Inc. All Rights Reserved. */ #ifndef _SYS_DKTP_CM_H #define _SYS_DKTP_CM_H #include <sys/types.h> #ifdef _KERNEL #include <sys/conf.h> #include <sys/stat.h> #include <sys/errno.h>
*** 46,60 **** #endif #ifdef _KERNEL #ifndef _SYS_SCSI_SCSI_H - #ifdef __STDC__ typedef void * opaque_t; - #else /* __STDC__ */ - typedef char * opaque_t; - #endif /* __STDC__ */ #endif #define PRF prom_printf #define SET_BP_SEC(bp, X) ((bp)->b_private = (void *) (X)) --- 46,56 ----