Add mkdev.h rename _SOL_SYS to _LIBSPL_SYS
This commit is contained in:
parent
5945ae3161
commit
07394c4b64
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_BITMAP_H
|
||||
#define _SOL_SYS_BITMAP_H
|
||||
#ifndef _LIBSPL_SYS_BITMAP_H
|
||||
#define _LIBSPL_SYS_BITMAP_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_CMN_ERR_H
|
||||
#define _SOL_SYS_CMN_ERR_H
|
||||
#ifndef _LIBSPL_SYS_CMN_ERR_H
|
||||
#define _LIBSPL_SYS_CMN_ERR_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_CRED_H
|
||||
#define _SOL_SYS_CRED_H
|
||||
#ifndef _LIBSPL_SYS_CRED_H
|
||||
#define _LIBSPL_SYS_CRED_H
|
||||
|
||||
typedef struct cred cred_t;
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_DEBUG_H
|
||||
#define _SOL_SYS_DEBUG_H
|
||||
#ifndef _LIBSPL_SYS_DEBUG_H
|
||||
#define _LIBSPL_SYS_DEBUG_H
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_FILE_H
|
||||
#define _SOL_SYS_FILE_H
|
||||
#ifndef _LIBSPL_SYS_FILE_H
|
||||
#define _LIBSPL_SYS_FILE_H
|
||||
|
||||
#include_next <sys/file.h>
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_INT_LIMITS_H
|
||||
#define _SOL_SYS_INT_LIMITS_H
|
||||
#ifndef _LIBSPL_SYS_INT_LIMITS_H
|
||||
#define _LIBSPL_SYS_INT_LIMITS_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* CDDL HEADER START
|
||||
*
|
||||
* The contents of this file are subject to the terms of the
|
||||
* Common Development and Distribution License, Version 1.0 only
|
||||
* (the "License"). You may not use this file except in compliance
|
||||
* with the License.
|
||||
*
|
||||
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
||||
* or http://www.opensolaris.org/os/licensing.
|
||||
* See the License for the specific language governing permissions
|
||||
* and limitations under the License.
|
||||
*
|
||||
* When distributing Covered Code, include this CDDL HEADER in each
|
||||
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
||||
* If applicable, add the following below this CDDL HEADER, with the
|
||||
* fields enclosed by brackets "[]" replaced with your own identifying
|
||||
* information: Portions Copyright [yyyy] [name of copyright owner]
|
||||
*
|
||||
* CDDL HEADER END
|
||||
*/
|
||||
/*
|
||||
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _LIBSPL_SYS_MKDEV_H
|
||||
#define _LIBSPL_SYS_MKDEV_H
|
||||
|
||||
#endif
|
|
@ -26,8 +26,8 @@
|
|||
|
||||
#include_next <sys/mount.h>
|
||||
|
||||
#ifndef _SOL_SYS_MOUNT_H
|
||||
#define _SOL_SYS_MOUNT_H
|
||||
#ifndef _LIBSPL_SYS_MOUNT_H
|
||||
#define _LIBSPL_SYS_MOUNT_H
|
||||
|
||||
#include <sys/mntent.h>
|
||||
#include <assert.h>
|
||||
|
@ -47,4 +47,4 @@
|
|||
#define MS_NOMNTTAB 0 /* Not supported in Linux */
|
||||
#define MS_OPTIONSTR 0 /* Not necessary in Linux */
|
||||
|
||||
#endif /* _SOL_SYS_MOUNT_H */
|
||||
#endif /* _LIBSPL_SYS_MOUNT_H */
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_PARAM_H
|
||||
#define _SOL_SYS_PARAM_H
|
||||
#ifndef _LIBSPL_SYS_PARAM_H
|
||||
#define _LIBSPL_SYS_PARAM_H
|
||||
|
||||
#include_next <sys/param.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_PRIV_H
|
||||
#define _SOL_SYS_PRIV_H
|
||||
#ifndef _LIBSPL_SYS_PRIV_H
|
||||
#define _LIBSPL_SYS_PRIV_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_PROCESSOR_H
|
||||
#define _SOL_SYS_PROCESSOR_H
|
||||
#ifndef _LIBSPL_SYS_PROCESSOR_H
|
||||
#define _LIBSPL_SYS_PROCESSOR_H
|
||||
|
||||
#define getcpuid() (-1)
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_SDT_H
|
||||
#define _SOL_SYS_SDT_H
|
||||
#ifndef _LIBSPL_SYS_SDT_H
|
||||
#define _LIBSPL_SYS_SDT_H
|
||||
|
||||
#define DTRACE_PROBE1(a,b,c) ((void) 0)
|
||||
#define DTRACE_PROBE2(a,b,c,d,e) ((void) 0)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_SYSEVENT_H
|
||||
#define _SOL_SYS_SYSEVENT_H
|
||||
#ifndef _LIBSPL_SYS_SYSEVENT_H
|
||||
#define _LIBSPL_SYS_SYSEVENT_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_SYSMACROS_H
|
||||
#define _SOL_SYS_SYSMACROS_H
|
||||
#ifndef _LIBSPL_SYS_SYSMACROS_H
|
||||
#define _LIBSPL_SYS_SYSMACROS_H
|
||||
|
||||
#include_next <sys/sysmacros.h>
|
||||
|
||||
|
@ -93,4 +93,4 @@
|
|||
#define offsetof(s, m) ((size_t)(&(((s *)0)->m)))
|
||||
#endif
|
||||
|
||||
#endif /* _SOL_SYS_SYSMACROS_H */
|
||||
#endif /* _LIBSPL_SYS_SYSMACROS_H */
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_SYSTEMINFO_H
|
||||
#define _SOL_SYS_SYSTEMINFO_H
|
||||
#ifndef _LIBSPL_SYS_SYSTEMINFO_H
|
||||
#define _LIBSPL_SYS_SYSTEMINFO_H
|
||||
|
||||
#define sysinfo(cmd,buf,cnt) (-1)
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_TIME_H
|
||||
#define _SOL_SYS_TIME_H
|
||||
#ifndef _LIBSPL_SYS_TIME_H
|
||||
#define _LIBSPL_SYS_TIME_H
|
||||
|
||||
#include_next <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _PORT_SYS_TYPES_H
|
||||
#define _PORT_SYS_TYPES_H
|
||||
#ifndef _LIBSPL_SYS_TYPES_H
|
||||
#define _LIBSPL_SYS_TYPES_H
|
||||
|
||||
#include <sys/isa_defs.h>
|
||||
#include <sys/feature_tests.h>
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
* contributors.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_UIO_H
|
||||
#define _SOL_SYS_UIO_H
|
||||
#ifndef _LIBSPL_SYS_UIO_H
|
||||
#define _LIBSPL_SYS_UIO_H
|
||||
|
||||
/* struct iovec is defined in glibc's sys/uio.h */
|
||||
#include_next <sys/uio.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_VARARGS_H
|
||||
#define _SOL_SYS_VARARGS_H
|
||||
#ifndef _LIBSPL_SYS_VARARGS_H
|
||||
#define _LIBSPL_SYS_VARARGS_H
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifndef _SOL_SYS_ZONE_H
|
||||
#define _SOL_SYS_ZONE_H
|
||||
#ifndef _LIBSPL_SYS_ZONE_H
|
||||
#define _LIBSPL_SYS_ZONE_H
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue