summaryrefslogtreecommitdiff
path: root/src/include/gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gettext.h')
-rw-r--r--src/include/gettext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gettext.h b/src/include/gettext.h
index 1eb6cee93..458512657 100644
--- a/src/include/gettext.h
+++ b/src/include/gettext.h
@@ -42,20 +42,20 @@
42 for invalid uses of the value returned from these functions. 42 for invalid uses of the value returned from these functions.
43 On pre-ANSI systems without 'const', the config.h file is supposed to 43 On pre-ANSI systems without 'const', the config.h file is supposed to
44 contain "#define const". */ 44 contain "#define const". */
45#define gettext(Msgid) ((const char *)(Msgid)) 45#define gettext(Msgid) ((const char *) (Msgid))
46#define dgettext(Domainname, Msgid) ((const char *)(Msgid)) 46#define dgettext(Domainname, Msgid) ((const char *) (Msgid))
47#define dcgettext(Domainname, Msgid, Category) ((const char *)(Msgid)) 47#define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
48#define ngettext(Msgid1, Msgid2, N) \ 48#define ngettext(Msgid1, Msgid2, N) \
49 ((N) == 1 ? (const char *)(Msgid1) : (const char *)(Msgid2)) 49 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
50#define dngettext(Domainname, Msgid1, Msgid2, N) \ 50#define dngettext(Domainname, Msgid1, Msgid2, N) \
51 ((N) == 1 ? (const char *)(Msgid1) : (const char *)(Msgid2)) 51 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
52#define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ 52#define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
53 ((N) == 1 ? (const char *)(Msgid1) : (const char *)(Msgid2)) 53 ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
54/* slight modification here to avoid warnings: generate GNUNET_NO code, 54/* slight modification here to avoid warnings: generate GNUNET_NO code,
55 not even the cast... */ 55 not even the cast... */
56#define textdomain(Domainname) 56#define textdomain(Domainname)
57#define bindtextdomain(Domainname, Dirname) 57#define bindtextdomain(Domainname, Dirname)
58#define bind_textdomain_codeset(Domainname, Codeset) ((const char *)(Codeset)) 58#define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
59 59
60#endif 60#endif
61 61