aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/plpintl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/plpintl.h b/lib/plpintl.h
index 7eb4da9..318f567 100644
--- a/lib/plpintl.h
+++ b/lib/plpintl.h
@@ -27,18 +27,6 @@
#include <config.h>
#endif
-#ifndef HAVE_STPCPY
-#include <string.h>
-
-extern inline char * stpcpy(char *dest, const char *src) {
- char c;
- do {
- c = *dest++ = *src++;
- } while (c);
- return dest;
-}
-#endif
-
/* libintl.h includes locale.h only if optimized.
* however, we need LC_ALL ...
*/
@@ -46,10 +34,8 @@ extern inline char * stpcpy(char *dest, const char *src) {
#if defined(ENABLE_NLS) && defined(HAVE_GETTEXT)
# include <libintl.h>
-static inline const char *X_(const char *t) { return gettext(t); }
static inline const char *_(const char *t) { return gettext(t); }
#else
-static inline const char *X_(const char *t) { return t; }
static inline const char *_(const char *t) { return t; }
# define textdomain(x)
#endif