Print this page
remove support for non-ANSI compilation
@@ -17,10 +17,12 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_PRIV_H
#define _SYS_PRIV_H
@@ -48,17 +50,12 @@
/*
* Userland type definitions.
*/
-#ifdef __STDC__
typedef const char *priv_ptype_t;
typedef const char *priv_t;
-#else
-typedef char *priv_ptype_t;
-typedef char *priv_t;
-#endif
#endif /* _KERNEL */
/*
* priv_op_t indicates a privilege operation type