uwrap: Rewrite uwrap_libc_fns struct to pass strict aliasing rules.
authorRobin Hack <hack.robin@gmail.com>
Wed, 29 Oct 2014 09:29:27 +0000 (10:29 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 7 Jan 2015 12:49:32 +0000 (13:49 +0100)
commit103a7f028f91ac6e5aa3f7c0c1f0286bd9d85f9e
tree92a573f7162eb136e57083218bbdb20ecdd5486c
parentba33cdd2e78f7f435028eeee8ceeb24f23106212
uwrap: Rewrite uwrap_libc_fns struct to pass strict aliasing rules.

Now uwrap is compiled with -O2 -fstrict-aliasing -Wstrict-aliasing=2
C compiler flags.

Also rename struct uwrap_libc_fns fns to uwrap_libc_symbols and
uwrap_load_lib_function to uwrap_bind_symbol (same for _uwrap_load_...
variant.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
cmake/Modules/DefineCompilerFlags.cmake
src/uid_wrapper.c