summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-29 13:21:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-30 12:17:05 +0200
commit48d0abe0b50b4e0414f5dcb46aae2a4b5bfaac7e (patch)
tree7bfde0045f4beb54a4521e6576ceb0b03f6f4f39
parentc3952097910bb34ac8c00b1a23261fea7ce56bfc (diff)
downloadsamba-48d0abe0b50b4e0414f5dcb46aae2a4b5bfaac7e.tar.gz
samba-48d0abe0b50b4e0414f5dcb46aae2a4b5bfaac7e.tar.bz2
samba-48d0abe0b50b4e0414f5dcb46aae2a4b5bfaac7e.zip
s3:lib make lazy_initialize_conv() static
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/charcnv.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 27989738d6..a565f93462 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -72,7 +72,6 @@ int bitmap_find(struct bitmap *bm, unsigned ofs);
/* The following definitions come from lib/charcnv.c */
-void lazy_initialize_conv(void);
void gfree_charcnv(void);
void init_iconv(void);
size_t convert_string(charset_t from, charset_t to,
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 77e359d362..74685408d4 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -40,7 +40,7 @@
static bool initialized;
-void lazy_initialize_conv(void)
+static void lazy_initialize_conv(void)
{
if (!initialized) {
load_case_tables_library();