From 258175cb2acf739049f4c35efbff30240f34620c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 3 Oct 2021 08:03:44 +0200 Subject: [PATCH] Remove some unnecessary gettext macro definitions --- src/math/moments.c | 2 -- src/math/percentiles.c | 4 ---- src/math/shapiro-wilk.c | 1 - src/math/sort.c | 3 --- 4 files changed, 10 deletions(-) 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; -- 2.30.2