summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
Diffstat (limited to 'intl')
-rw-r--r--intl/Makefile2
-rw-r--r--intl/libintl.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/intl/Makefile b/intl/Makefile
index f1ba8c2d95..966dad3e82 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -71,7 +71,7 @@ CFLAGS-tst-translit.c = -DOBJPFX=\"$(objpfx)\"
$(objpfx)tst-translit.out: $(objpfx)tst-gettext.out
CPPFLAGS += -D'GNULOCALEDIR="$(msgcatdir)"' \
- -D'LOCALE_ALIAS_PATH="$(msgcatdir):$(i18ndir)"'
+ -D'LOCALE_ALIAS_PATH="$(msgcatdir)"'
YFLAGS = --name-prefix=__gettext --output
$(inst_msgcatdir)/locale.alias: locale.alias $(+force)
diff --git a/intl/libintl.h b/intl/libintl.h
index e38b5619bf..eb81d7cd3a 100644
--- a/intl/libintl.h
+++ b/intl/libintl.h
@@ -31,18 +31,19 @@ __BEGIN_DECLS
/* Look up MSGID in the current default message catalog for the current
LC_MESSAGES locale. If not found, returns MSGID itself (the default
text). */
-extern char *gettext (__const char *__msgid);
+extern char *gettext (__const char *__msgid) __THROW;
/* Look up MSGID in the DOMAINNAME message catalog for the current
LC_MESSAGES locale. */
-extern char *dgettext (__const char *__domainname, __const char *__msgid);
+extern char *dgettext (__const char *__domainname, __const char *__msgid)
+ __THROW;
extern char *__dgettext (__const char *__domainname, __const char *__msgid)
__THROW __attribute_format_arg__ (2);
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
locale. */
extern char *dcgettext (__const char *__domainname,
- __const char *__msgid, int __category);
+ __const char *__msgid, int __category) __THROW;
extern char *__dcgettext (__const char *__domainname,
__const char *__msgid, int __category)
__THROW __attribute_format_arg__ (2);