diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
commit | 502af2167f7c218366666ca4944bd7cc54b5b19a (patch) | |
tree | a91fec5cc9769d260640bd91c6633cb9cf395524 /src/include/gettext.h | |
parent | 03af5a603b7cc53432249d5854cd412aa90dde0d (diff) | |
download | gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip |
indentation
Diffstat (limited to 'src/include/gettext.h')
-rw-r--r-- | src/include/gettext.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gettext.h b/src/include/gettext.h index c89197cfc..0295ac2f5 100644 --- a/src/include/gettext.h +++ b/src/include/gettext.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #if ENABLE_NLS | 23 | #if ENABLE_NLS |
24 | 24 | ||
25 | /* Get declarations of GNU message catalog functions. */ | 25 | /* Get declarations of GNU message catalog functions. */ |
26 | # include <libintl.h> | 26 | #include <libintl.h> |
27 | 27 | ||
28 | #else | 28 | #else |
29 | 29 | ||
@@ -34,7 +34,7 @@ | |||
34 | and also including <libintl.h> would fail on SunOS 4, whereas <locale.h> | 34 | and also including <libintl.h> would fail on SunOS 4, whereas <locale.h> |
35 | is GNUNET_OK. */ | 35 | is GNUNET_OK. */ |
36 | #if defined(__sun) | 36 | #if defined(__sun) |
37 | # include <locale.h> | 37 | #include <locale.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | /* Disabled NLS. | 40 | /* Disabled NLS. |
@@ -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 | ||