aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2008-04-06 21:35:07 +0000
committerReuben Thomas <rrt@sc3d.org>2008-04-06 21:35:07 +0000
commit01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587 (patch)
treedd116151d6e56d06fa45f1aab363087153a349a8 /lib
parent0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901 (diff)
downloadplptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.tar.gz
plptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.tar.bz2
plptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.zip
Remove unused code.
Diffstat (limited to 'lib')
-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