X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fbt.c;h=4178d1475af769810a3f193d3af3d1afb5c48797;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=751c8fe764cd6f71aeec94be3550855f8dd3ce6e;hpb=7c08a6e1009cf60847e770a77a73c650e9326379;p=pspp-builds.git diff --git a/src/libpspp/bt.c b/src/libpspp/bt.c index 751c8fe7..4178d147 100644 --- a/src/libpspp/bt.c +++ b/src/libpspp/bt.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -61,13 +61,13 @@ #include #endif -#include +#include "libpspp/bt.h" #include #include #include -#include +#include "libpspp/cast.h" static void rebalance_subtree (struct bt *, struct bt_node *, size_t); @@ -81,9 +81,7 @@ static inline int calculate_h_alpha (size_t); /* Initializes BT as an empty BT that uses the given COMPARE function, passing in AUX as auxiliary data. */ void -bt_init (struct bt *bt, - bt_compare_func *compare, - const void *aux) +bt_init (struct bt *bt, bt_compare_func *compare, const void *aux) { bt->root = NULL; bt->compare = compare;