diff options
author | Reuben Thomas <rrt@sc3d.org> | 2008-04-06 21:35:07 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2008-04-06 21:35:07 +0000 |
commit | 01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587 (patch) | |
tree | dd116151d6e56d06fa45f1aab363087153a349a8 | |
parent | 0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901 (diff) | |
download | plptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.tar.gz plptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.tar.bz2 plptools-01d6742d4dbd11dcd40dd0a7b86dcb1dd220b587.zip |
Remove unused code.
-rw-r--r-- | lib/plpintl.h | 14 |
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 |