summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/avl_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/avl_impl.h')
-rw-r--r--usr/src/uts/common/sys/avl_impl.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/src/uts/common/sys/avl_impl.h b/usr/src/uts/common/sys/avl_impl.h
index 620685f..6a2cc08 100644
--- a/usr/src/uts/common/sys/avl_impl.h
+++ b/usr/src/uts/common/sys/avl_impl.h
@@ -24,18 +24,14 @@
* Use is subject to license terms.
*/
-#ifndef _AVL_IMPL_H
-#define _AVL_IMPL_H
-
-#pragma ident "%Z%%M% %I% %E% SMI"
+#ifndef _LIBSUNAVL_AVL_IMPL_H
+#define _LIBSUNAVL_AVL_IMPL_H
/*
* This is a private header file. Applications should not directly include
* this file.
*/
-#include <sys/types.h>
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -147,7 +143,7 @@ struct avl_tree {
struct avl_node *avl_root; /* root node in tree */
int (*avl_compar)(const void *, const void *);
size_t avl_offset; /* offsetof(type, avl_link_t field) */
- ulong_t avl_numnodes; /* number of nodes in the tree */
+ size_t avl_numnodes; /* number of nodes in the tree */
size_t avl_size; /* sizeof user type struct */
};
@@ -161,4 +157,4 @@ extern void *avl_walk(struct avl_tree *, void *, int);
}
#endif
-#endif /* _AVL_IMPL_H */
+#endif /* _LIBSUNAVL_AVL_IMPL_H */