Quantcast

[PATCH] Make global_iconv_handle static to the C source file defining it.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Make global_iconv_handle static to the C source file defining it.

Samba - samba-technical mailing list
Another cleanup. By judicious use of utility
functions this allows global_iconv_handle to
become a static pointer only accessed inside
lib/util/charset/codepoints.c.

As a bonus it also allows removal of another
use of talloc_autofree_context().

Please review and push if happy !

Cheers,

        Jeremy.

charcnv (13K) Download Attachment
Loading...