~ubuntu-branches/ubuntu/wily/haproxy/wily

« back to all changes in this revision

Viewing changes to include/common/ebpttree.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2009-02-17 08:55:12 UTC
  • mfrom: (1.1.5 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090217085512-qmij51nun3rbxorz
Fix build without debian/patches directory (Closes: #515682) using
/usr/share/quilt/quilt.make.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
 */
110
110
 
111
111
/* Delete node from the tree if it was linked in. Mark the node unused. */
112
 
static inline void __ebpt_delete(struct ebpt_node *ebpt)
 
112
static forceinline void __ebpt_delete(struct ebpt_node *ebpt)
113
113
{
114
114
        __eb_delete(&ebpt->node);
115
115
}
118
118
 * Find the first occurence of a key in the tree <root>. If none can be
119
119
 * found, return NULL.
120
120
 */
121
 
static inline struct ebpt_node *__ebpt_lookup(struct eb_root *root, void *x)
 
121
static forceinline struct ebpt_node *__ebpt_lookup(struct eb_root *root, void *x)
122
122
{
123
123
        struct ebpt_node *node;
124
124
        eb_troot_t *troot;
161
161
/* Insert ebpt_node <new> into subtree starting at node root <root>.
162
162
 * Only new->key needs be set with the key. The ebpt_node is returned.
163
163
 */
164
 
static inline struct ebpt_node *
 
164
static forceinline struct ebpt_node *
165
165
__ebpt_insert(struct eb_root *root, struct ebpt_node *new) {
166
166
        struct ebpt_node *old;
167
167
        unsigned int side;