Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: fusl/include/libintl.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _LIBINTL_H 1 #ifndef _LIBINTL_H
2 #define _LIBINTL_H 2 #define _LIBINTL_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #define __USE_GNU_GETTEXT 1 8 #define __USE_GNU_GETTEXT 1
9 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1) 9 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1)
10 10
11 #if __GNUC__ >= 3 11 #if __GNUC__ >= 3
12 #define __fa(n) __attribute__ ((__format_arg__ (n))) 12 #define __fa(n) __attribute__((__format_arg__(n)))
13 #else 13 #else
14 #define __fa(n) 14 #define __fa(n)
15 #endif 15 #endif
16 16
17 char *gettext(const char *) __fa(1); 17 char* gettext(const char*) __fa(1);
18 char *dgettext(const char *, const char *) __fa(2); 18 char* dgettext(const char*, const char*) __fa(2);
19 char *dcgettext(const char *, const char *, int) __fa(2); 19 char* dcgettext(const char*, const char*, int) __fa(2);
20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2); 20 char* ngettext(const char*, const char*, unsigned long) __fa(1) __fa(2);
21 char *dngettext(const char *, const char *, const char *, unsigned long) __fa(2) __fa(3); 21 char* dngettext(const char*, const char*, const char*, unsigned long) __fa(2)
22 char *dcngettext(const char *, const char *, const char *, unsigned long, int) _ _fa(2) __fa(3); 22 __fa(3);
23 char *textdomain(const char *); 23 char* dcngettext(const char*, const char*, const char*, unsigned long, int)
24 char *bindtextdomain (const char *, const char *); 24 __fa(2) __fa(3);
25 char *bind_textdomain_codeset(const char *, const char *); 25 char* textdomain(const char*);
26 char* bindtextdomain(const char*, const char*);
27 char* bind_textdomain_codeset(const char*, const char*);
26 28
27 #undef __fa 29 #undef __fa
28 30
29 #ifdef __cplusplus 31 #ifdef __cplusplus
30 } 32 }
31 #endif 33 #endif
32 34
33 #endif 35 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698