aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/fallback.h b/fallback.h
index 503bf07c..433f48d5 100644
--- a/fallback.h
+++ b/fallback.h
@@ -389,25 +389,17 @@ int futimes(int fd, const struct timeval *times);
/* autoconf may fail to detect gettext (645), so don't define a function call gettext or we'll get build errors */
-/** Fallback implementation of gettext. Just returns the original string. */
+/** Cover for gettext() */
char * fish_gettext(const char * msgid);
-/** Fallback implementation of bindtextdomain. Does nothing. */
+/** Cover for bindtextdomain() */
char * fish_bindtextdomain(const char * domainname, const char * dirname);
-/** Fallback implementation of textdomain. Does nothing. */
+/** Cover for textdomain() */
char * fish_textdomain(const char * domainname);
-#ifndef HAVE_DCGETTEXT
-
-/**
- Fallback implementation of dcgettext. Just returns the original string.
-*/
-char * dcgettext(const char * domainname,
- const char * msgid,
- int category);
-
-#endif
+/* Cover for dcgettext */
+char * fish_dcgettext(const char * domainname, const char * msgid, int category);
#ifndef HAVE__NL_MSG_CAT_CNTR