]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/clist.h
xnu-517.7.7.tar.gz
[apple/xnu.git] / bsd / sys / clist.h
index 1ff1e0dbb1d0929eadcb4777fe13016c8d78d0b6..64cb2eaead31218cb3bd08b49475af18dc67304c 100644 (file)
@@ -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@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
 #ifndef        _SYS_CLIST_H_
 #define _SYS_CLIST_H_
 
 #ifndef        _SYS_CLIST_H_
 #define _SYS_CLIST_H_
 
+#include <sys/appleapiopts.h>
+
+#ifdef __APPLE_API_PRIVATE
+#ifdef KERNEL
+
 struct cblock {
        struct cblock *c_next;          /* next cblock in queue */
        char c_quote[CBQSIZE];          /* quoted characters */
        char c_info[CBSIZE];            /* characters */
 };
 
 struct cblock {
        struct cblock *c_next;          /* next cblock in queue */
        char c_quote[CBQSIZE];          /* quoted characters */
        char c_info[CBSIZE];            /* characters */
 };
 
-#ifdef KERNEL
 extern struct cblock *cfree, *cfreelist;
 extern int cfreecount, nclist;
 extern struct cblock *cfree, *cfreelist;
 extern int cfreecount, nclist;
-#endif
+#endif /* KERNEL */
+#endif /* __APPLE_API_PRIVATE */
 
 #endif /* _SYS_CLIST_H_ */
 
 
 #endif /* _SYS_CLIST_H_ */