diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gettext.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gettext.h')
-rw-r--r-- | src/include/gettext.h | 14 |
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 | ||