summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_nls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netncp/ncp_nls.h')
-rw-r--r--sys/netncp/ncp_nls.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netncp/ncp_nls.h b/sys/netncp/ncp_nls.h
index e5e06b3..489b6df 100644
--- a/sys/netncp/ncp_nls.h
+++ b/sys/netncp/ncp_nls.h
@@ -31,8 +31,8 @@
*
* $FreeBSD$
*/
-#ifndef _NCP_NCP_NLS_H_
-#define _NCP_NCP_NLS_H_
+#ifndef _NETNCP_NCP_NLS_H_
+#define _NETNCP_NCP_NLS_H_
/* options for handle path & caseopt in mount struct */
#define NWHP_HDB 0x01 /* have dir base */
@@ -62,6 +62,8 @@ struct ncp_nlstables {
extern struct ncp_nlstables ncp_nls; /* active nls */
+__BEGIN_DECLS
+
int ncp_nls_setrecode(int scheme);
int ncp_nls_setrecodebyname(char *name);
int ncp_nls_setlocale(char *name);
@@ -70,6 +72,8 @@ char* ncp_nls_str_u2n(char *dst, const char *src);
char* ncp_nls_mem_n2u(char *dst, const char *src, int size);
char* ncp_nls_mem_u2n(char *dst, const char *src, int size);
+__END_DECLS
+
#else /* !KERNEL */
OpenPOWER on IntegriCloud