X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/sys/attr.h diff --git a/bsd/sys/attr.h b/bsd/sys/attr.h index 96eead6f7..732410ea6 100644 --- a/bsd/sys/attr.h +++ b/bsd/sys/attr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -29,6 +29,9 @@ #ifndef _SYS_ATTR_H_ #define _SYS_ATTR_H_ +#include + +#ifdef __APPLE_API_UNSTABLE #ifndef _SYS_TYPES_H_ #include #endif @@ -234,13 +237,7 @@ struct searchstate { }; - #define FST_EOF (-1) /* end-of-file offset */ -__BEGIN_DECLS -/* XXX PPD This should be moved to dirent.h to be with getdirentries(2) et al. */ -//int getdirentriesattr(int fd, const struct attrlist *attrspec, void *attrbuf, size_t bufsize, long //*cookie); - -__END_DECLS - +#endif /* __APPLE_API_UNSTABLE */ #endif /* !_SYS_ATTR_H_ */