From 01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 6 Apr 2008 21:35:07 +0000 Subject: Remove unused code. --- lib/plpintl.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/plpintl.h') 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 #endif -#ifndef HAVE_STPCPY -#include - -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 -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 -- cgit v1.2.3