From: Andrew Bartlett Date: Tue, 29 Mar 2011 02:21:52 +0000 (+1100) Subject: s3:lib make lazy_initialize_conv() static X-Git-Tag: ldb-1.1.0~365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48d0abe0b50b4e0414f5dcb46aae2a4b5bfaac7e;p=thirdparty%2Fsamba.git s3:lib make lazy_initialize_conv() static --- diff --git a/source3/include/proto.h b/source3/include/proto.h index 27989738d6f..a565f93462d 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 77e359d3629..74685408d4a 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();