Remove some unnecessary gettext macro definitions
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 3 Oct 2021 06:03:44 +0000 (08:03 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 3 Oct 2021 06:03:44 +0000 (08:03 +0200)
src/math/moments.c
src/math/percentiles.c
src/math/shapiro-wilk.c
src/math/sort.c

index 40180f7b7ecdb461c46eaa31b42c1927835c7b66..ca61a23c720e5fa248feb289185b3f623e6e9994 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "gl/xalloc.h"
 
-#include "gettext.h"
-#define _(msgid) gettext (msgid)
 \f
 /* Calculates variance, skewness, and kurtosis into *VARIANCE,
    *SKEWNESS, and *KURTOSIS if they are non-null and not greater
index 2d779e5bea3408ac17c872ff56b0861c500f03d6..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)
 {
index 6d10722297ab5eb4d0726ae385b08e0e081c8cbf..27ca1f0fb558adddc9c9d5af77a32580cf14a954 100644 (file)
@@ -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).
index a780d49c6b0a7d4f347ac3559885cddfb6c5bd41..88aab2e3f921a8193a0a3378685b987cbb223a9d 100644 (file)
@@ -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;