Print this page
remove support for non-ANSI compilation
@@ -17,10 +17,11 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_AVINTR_H
#define _SYS_AVINTR_H
@@ -39,15 +40,11 @@
*/
#define MAXIPL 16
#define INT_IPL(x) (x)
#define AV_INT_SPURIOUS -1
-#ifdef __STDC__
typedef uint_t (*avfunc)(caddr_t, caddr_t);
-#else
-typedef uint_t (*avfunc)();
-#endif /* __STDC__ */
struct autovec {
/*
* Interrupt handler and argument to pass to it.