diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 00:46:08 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 03:20:05 +0100 |
commit | df0b7f1c341904451c37bca41b02e1b6a791da5a (patch) | |
tree | 94810aff5c226739049d0b259f68c3d62aa2d074 /lib/util/charset | |
parent | fa387825e2a4563ff85267848d8e9d206bf6db96 (diff) | |
download | samba-df0b7f1c341904451c37bca41b02e1b6a791da5a.tar.gz samba-df0b7f1c341904451c37bca41b02e1b6a791da5a.tar.bz2 samba-df0b7f1c341904451c37bca41b02e1b6a791da5a.zip |
lib/: Fix prototypes for functions.
Diffstat (limited to 'lib/util/charset')
-rw-r--r-- | lib/util/charset/iconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/charset/iconv.c b/lib/util/charset/iconv.c index cee2d26aa4..e3cdbdfc8e 100644 --- a/lib/util/charset/iconv.c +++ b/lib/util/charset/iconv.c @@ -128,9 +128,9 @@ bool smb_register_charset(const struct charset_functions *funcs_in) static void lazy_initialize_iconv(void) { - static bool initialized; - #ifdef static_init_charset + static bool initialized = false; + if (!initialized) { static_init_charset; initialized = true; |