Remove some unnecessary gettext macro definitions
[pspp] / src / math / percentiles.c
index a387d3d4c270b1685984b6758e899f98f239a5f6..b43fed461612d7a6f0e63ab8ddbc0fad7f549422 100644 (file)
 
 #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;