X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fpercentiles.h;h=7af157b230e07adf4c68f01d401eb2ec7e133e45;hb=5289fbc7d0f9896033f172844e84364aa3f27066;hp=0dd09820945e1bafaee5a017ba3756cb4197783b;hpb=2acfe799af1fd4504ee1278e0b8864ace451688a;p=pspp diff --git a/src/math/percentiles.h b/src/math/percentiles.h index 0dd0982094..7af157b230 100644 --- a/src/math/percentiles.h +++ b/src/math/percentiles.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004, 2008 Free Software Foundation, Inc. + Copyright (C) 2004, 2008, 2009 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 @@ -31,9 +31,6 @@ enum pc_alg { PC_AEMPIRICAL } ; -extern const char *const ptile_alg_desc[]; - - struct percentile { struct order_stats parent; @@ -52,7 +49,7 @@ struct percentile /* Create the Pth percentile. W is the total sum of weights in the data set */ -struct order_stats *percentile_create (double p, double W); +struct percentile *percentile_create (double p, double W); /* Return the value of the percentile */ double percentile_calculate (const struct percentile *ptl, enum pc_alg alg);