mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
e9ea36e4d2
prompted by the interpret_security() dead code that Jean-Francois
pointed out I added a make target "finddead" that finds potentially
dead (ie. unused) code. It spat out 304 function names ...
I went through these are deleted many of them, making others static
(finddead also reports functions that are used only in the local
file).
in doing this I have almost certainly deleted some useful code. I may
have even prevented compilation with some compile options. I
apologise. I decided it was better to get rid of this code now and add
back the one or two functions that are needed than to keep all this
baggage.
So, if I have done a bit too much "destroying" then let me know. Keep
the swearing to a minimum :)
One bit I didn't do is the ubibt code. Chris, can you look at that?
Heaps of unused functions there. Can they be made static?
(This used to be commit
|
||
---|---|---|
.. | ||
.cvsignore | ||
byteorder.h | ||
charset.h | ||
clitar.h | ||
config.h.in | ||
dlinklist.h | ||
dummy.in | ||
includes.h | ||
kanji.h | ||
local.h | ||
nameserv.h | ||
ntdomain.h | ||
nterr.h | ||
proto.h | ||
rpc_dce.h | ||
rpc_lsa.h | ||
rpc_misc.h | ||
rpc_netlogon.h | ||
rpc_reg.h | ||
rpc_samr.h | ||
rpc_srvsvc.h | ||
rpc_wkssvc.h | ||
smb.h | ||
trans2.h | ||
version.h | ||
vt_mode.h |