X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/dev/random/randomdev.h?ds=sidebyside diff --git a/bsd/dev/random/randomdev.h b/bsd/dev/random/randomdev.h index 906f620b1..efa6703e9 100644 --- a/bsd/dev/random/randomdev.h +++ b/bsd/dev/random/randomdev.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2000-2001 Apple Computer, Inc. All rights reserved. + * Copyright (c) 1999, 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -23,13 +23,19 @@ #ifndef __DEV_RANDOMDEV_H__ #define __DEV_RANDOMDEV_H__ +#include + +#ifdef __APPLE_API_PRIVATE + +#include + int random_open(dev_t dev, int flags, int devtype, struct proc *pp); int random_close(dev_t dev, int flags, int mode, struct proc *pp); int random_read(dev_t dev, struct uio *uio, int ioflag); int random_write(dev_t dev, struct uio *uio, int ioflag); u_long RandomULong(); -void read_random(void* buffer, u_int numBytes); +#endif /* __APPLE_API_PRIVATE */ #endif /* __DEV_RANDOMDEV_H__ */