/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* Chauser, October 28, 1993 5:07 pm PDT */ #include <rpc/PCR←rpc←names.h> /* @(#)types.h 1.1 92/07/30 SMI */ /* * Rpc additions to <sys/types.h> */ #ifndef ←←rpc←types←h #define ←←rpc←types←h #define bool←t int #define enum←t int #define ←←dontcare←← -1 #ifndef FALSE # define FALSE (0) #endif #ifndef TRUE # define TRUE (1) #endif #ifndef NULL # define NULL 0 #endif #ifndef KERNEL #include <stdlib.h> #define mem←alloc(bsize) malloc(bsize) #define mem←free(ptr, bsize) free(ptr) #else extern char *kmem←alloc(); #define mem←alloc(bsize) kmem←alloc((u←int)bsize) #define mem←free(ptr, bsize) kmem←free((caddr←t)(ptr), (u←int)(bsize)) #endif #include <sys/types.h> #include <sys/time.h> #endif /* !←←rpc←types←h */