Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 15:04:33 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r308092 - stable/9/include
Message-ID:  <201610291504.u9TF4XMa043266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Oct 29 15:04:33 2016
New Revision: 308092
URL: https://svnweb.freebsd.org/changeset/base/308092

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/9/include/search.h

Modified: stable/9/include/search.h
==============================================================================
--- stable/9/include/search.h	Sat Oct 29 15:04:24 2016	(r308091)
+++ stable/9/include/search.h	Sat Oct 29 15:04:33 2016	(r308092)
@@ -43,6 +43,8 @@ struct que_elem {
 	struct que_elem *next;
 	struct que_elem *prev;
 };
+#else
+typedef void posix_tnode;
 #endif
 
 __BEGIN_DECLS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610291504.u9TF4XMa043266>