types.h (48874) | types.h (48936) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)types.h 8.6 (Berkeley) 2/19/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)types.h 8.6 (Berkeley) 2/19/95 |
39 * $Id: types.h,v 1.33 1999/05/12 11:06:56 phk Exp $ | 39 * $Id: types.h,v 1.34 1999/07/18 02:26:02 jdp Exp $ |
40 */ 41 42#ifndef _SYS_TYPES_H_ 43#define _SYS_TYPES_H_ 44 45#include <sys/cdefs.h> 46 47/* Machine type dependent parameters. */ --- 44 unchanged lines hidden (view full) --- 92#ifdef KERNEL 93typedef int boolean_t; 94typedef u_int64_t uoff_t; 95typedef struct vm_page *vm_page_t; 96#endif 97 98#ifdef KERNEL 99 | 40 */ 41 42#ifndef _SYS_TYPES_H_ 43#define _SYS_TYPES_H_ 44 45#include <sys/cdefs.h> 46 47/* Machine type dependent parameters. */ --- 44 unchanged lines hidden (view full) --- 92#ifdef KERNEL 93typedef int boolean_t; 94typedef u_int64_t uoff_t; 95typedef struct vm_page *vm_page_t; 96#endif 97 98#ifdef KERNEL 99 |
100struct specinfo; 101 |
|
100typedef u_int32_t udev_t; /* device number */ | 102typedef u_int32_t udev_t; /* device number */ |
101typedef void *dev_t; | 103typedef struct specinfo *dev_t; |
102 103#else /* !KERNEL */ 104 105typedef u_int32_t dev_t; /* device number */ 106#define udev_t dev_t 107 108#ifndef _POSIX_SOURCE 109 --- 104 unchanged lines hidden --- | 104 105#else /* !KERNEL */ 106 107typedef u_int32_t dev_t; /* device number */ 108#define udev_t dev_t 109 110#ifndef _POSIX_SOURCE 111 --- 104 unchanged lines hidden --- |