long l;
int c0, c, nc;
struct utf8_table *t;
-
+
nc = 0;
c0 = *s;
l = c0;
long l;
int c, nc;
struct utf8_table *t;
-
+
if (s == 0)
return 0;
-
+
l = wc;
nc = 0;
for (t = utf8_table; t->cmask && maxlen; t++, maxlen--) {
nls->next = tables;
tables = nls;
spin_unlock(&nls_lock);
- return 0;
+ return 0;
}
int unregister_nls(struct nls_table * nls)
charset);
return NULL;
}
-
+
sprintf(buf, "nls_%s", charset);
ret = request_module(buf);
if (ret != 0) {
struct nls_table *load_nls_default(void)
{
struct nls_table *default_nls;
-
+
default_nls = load_nls(CONFIG_NLS_DEFAULT);
if (default_nls != NULL)
return default_nls;