summaryrefslogtreecommitdiff
path: root/examples/hello_RBTREE
diff options
context:
space:
mode:
authorAndrew Shadura <andrew@shadura.me>2015-07-25 14:44:48 +0200
committerAndrew Shadura <andrew@shadura.me>2015-07-25 14:44:48 +0200
commit8d15cbf39b8aa01eaabfa3167e6ce3dc9f9e0af8 (patch)
tree285bc54cde407bc53e4134c649569b92758ed33a /examples/hello_RBTREE
parent6ec061aabc159e3f37591e92fa1df407cdca6246 (diff)
Imported Upstream version 0.27.0
Diffstat (limited to 'examples/hello_RBTREE')
-rw-r--r--examples/hello_RBTREE/hello_RBTREE.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/hello_RBTREE/hello_RBTREE.c b/examples/hello_RBTREE/hello_RBTREE.c
index bfcf96b..4ee1314 100644
--- a/examples/hello_RBTREE/hello_RBTREE.c
+++ b/examples/hello_RBTREE/hello_RBTREE.c
@@ -21,8 +21,9 @@ static int berrys_cmp (struct berry *a, struct berry *b)
}
static RB_HEAD (berrys_entries, berry) berrys = RB_INITIALIZER(&berrys);
-RB_PROTOTYPE (berrys_entries, berry, link, berrys_cmp);
-RB_GENERATE (berrys_entries, berry, link, berrys_cmp);
+
+RB_PROTOTYPE (berrys_entries, berry, link, berrys_cmp)
+RB_GENERATE (berrys_entries, berry, link, berrys_cmp)
static void output_berries (void)
{