X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fpercentiles.c;h=b43fed461612d7a6f0e63ab8ddbc0fad7f549422;hb=80ff0f10da00eae4c7b3b07266a03e403e97d640;hp=a387d3d4c270b1685984b6758e899f98f239a5f6;hpb=6a1438a0901b5d0d876a92751631a5acb187372a;p=pspp diff --git a/src/math/percentiles.c b/src/math/percentiles.c index a387d3d4c2..b43fed4616 100644 --- a/src/math/percentiles.c +++ b/src/math/percentiles.c @@ -27,10 +27,6 @@ #include "gl/xalloc.h" -#include "gettext.h" -#define _(msgid) gettext (msgid) -#define N_(msgid) msgid - double percentile_calculate (const struct percentile *ptl, enum pc_alg alg) { @@ -152,7 +148,7 @@ destroy (struct statistic *stat) struct percentile * percentile_create (double p, double W) { - struct percentile *ptl = xzalloc (sizeof (*ptl)); + struct percentile *ptl = XZALLOC (struct percentile); struct order_stats *os = &ptl->parent; struct statistic *stat = &os->parent;