Author: ed
Date: Sat Oct 29 15:04:24 2016
New Revision: 308091
URL: https://svnweb.freebsd.org/changeset/base/308091

Log:
  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.

Modified:
  stable/10/include/search.h

Modified: stable/10/include/search.h
==============================================================================
--- stable/10/include/search.h  Sat Oct 29 14:41:22 2016        (r308090)
+++ stable/10/include/search.h  Sat Oct 29 15:04:24 2016        (r308091)
@@ -43,6 +43,8 @@ struct que_elem {
        struct que_elem *next;
        struct que_elem *prev;
 };
+#else
+typedef void posix_tnode;
 #endif
 
 __BEGIN_DECLS
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to