From: John Darrington Date: Sun, 3 Oct 2021 06:03:44 +0000 (+0200) Subject: Remove some unnecessary gettext macro definitions X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=258175cb2acf739049f4c35efbff30240f34620c Remove some unnecessary gettext macro definitions --- diff --git a/src/math/moments.c b/src/math/moments.c index 40180f7b7e..ca61a23c72 100644 --- a/src/math/moments.c +++ b/src/math/moments.c @@ -28,8 +28,6 @@ #include "gl/xalloc.h" -#include "gettext.h" -#define _(msgid) gettext (msgid) /* Calculates variance, skewness, and kurtosis into *VARIANCE, *SKEWNESS, and *KURTOSIS if they are non-null and not greater diff --git a/src/math/percentiles.c b/src/math/percentiles.c index 2d779e5bea..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) { diff --git a/src/math/shapiro-wilk.c b/src/math/shapiro-wilk.c index 6d10722297..27ca1f0fb5 100644 --- a/src/math/shapiro-wilk.c +++ b/src/math/shapiro-wilk.c @@ -26,7 +26,6 @@ #include "libpspp/message.h" #include "gettext.h" -#define _(msgid) gettext (msgid) #define N_(msgid) msgid /* Return the sum of coeff[i] * x^i for all i in the range [0,order). diff --git a/src/math/sort.c b/src/math/sort.c index a780d49c6b..88aab2e3f9 100644 --- a/src/math/sort.c +++ b/src/math/sort.c @@ -32,9 +32,6 @@ #include "gl/xalloc.h" -#include "gettext.h" -#define _(msgid) gettext (msgid) - /* These should only be changed for testing purposes. */ int min_buffers = 64; int max_buffers = INT_MAX;