diff options
author | ed <ed@FreeBSD.org> | 2016-10-29 15:04:24 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2016-10-29 15:04:24 +0000 |
commit | a9c81c092b4427bf87ba0ffbb0cfd599b7d6ccfe (patch) | |
tree | 13863933cafcdc69023ac658c7f7c29c9e7f2f4a | |
parent | e32c2dc1d0d28781cee98fda2461e74d1bfc211f (diff) | |
download | FreeBSD-src-a9c81c092b4427bf87ba0ffbb0cfd599b7d6ccfe.zip FreeBSD-src-a9c81c092b4427bf87ba0ffbb0cfd599b7d6ccfe.tar.gz |
Add posix_tnode to <search.h>.
In r307227 I've refactored the binary search tree functions to use the
posix_tnode type. As this change does not apply cleanly to this version
of FreeBSD, only make the change that matters: add the definition of the
newly introduced type.
This will ease source-level compatibility going forward.
-rw-r--r-- | include/search.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h index 4e4606f..40b736a 100644 --- a/include/search.h +++ b/include/search.h @@ -43,6 +43,8 @@ struct que_elem { struct que_elem *next; struct que_elem *prev; }; +#else +typedef void posix_tnode; #endif __BEGIN_DECLS |