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

Side by Side Diff: fusl/src/locale/bind_textdomain_codeset.c

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 #include <libintl.h> 1 #include <libintl.h>
2 #include <string.h> 2 #include <string.h>
3 #include <strings.h> 3 #include <strings.h>
4 #include <errno.h> 4 #include <errno.h>
5 5
6 char *bind_textdomain_codeset(const char *domainname, const char *codeset) 6 char* bind_textdomain_codeset(const char* domainname, const char* codeset) {
7 { 7 if (codeset && strcasecmp(codeset, "UTF-8"))
8 » if (codeset && strcasecmp(codeset, "UTF-8")) 8 errno = EINVAL;
9 » » errno = EINVAL; 9 return NULL;
10 » return NULL;
11 } 10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698