Branch: Tag:

2002-12-22

2002-12-22 17:18:55 by Martin Stjernholm <mast@lysator.liu.se>

Changed some "inline" to "INLINE" and did other small changes to please gcc
-pedantic somewhat.

Rev: src/multiset.c:1.62
Rev: src/multiset.h:1.30
Rev: src/pike_threadlib.h:1.23
Rev: src/rbtree.c:1.22
Rev: src/rbtree.h:1.9

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: rbtree.c,v 1.21 2002/12/19 02:40:29 mast Exp $ + || $Id: rbtree.c,v 1.22 2002/12/22 17:18:55 mast Exp $   */      /* An implementation of a threaded red/black balanced binary tree.
12:      #include "global.h"    - RCSID("$Id: rbtree.c,v 1.21 2002/12/19 02:40:29 mast Exp $"); + RCSID("$Id: rbtree.c,v 1.22 2002/12/22 17:18:55 mast Exp $");      #include "interpret.h"   #include "pike_error.h"
281:    * / \ / \    * a b b c    */ - static inline struct rb_node_hdr *rot_right (struct rb_node_hdr *node) + static INLINE struct rb_node_hdr *rot_right (struct rb_node_hdr *node)   {    /* Note that we don't need to do anything special to keep the    * pointers in a, b and c intact, even if they're thread
309:    * / \ / \    * b c a b    */ - static inline struct rb_node_hdr *rot_left (struct rb_node_hdr *node) + static INLINE struct rb_node_hdr *rot_left (struct rb_node_hdr *node)   {    struct rb_node_hdr *ret = node->next;    if (ret->flags & RB_THREAD_PREV) {