tridge the destroyer returns!
commit2204475c87f3024ea8fd1fbd7385b2def617a46f
authorAndrew Tridgell <tridge@samba.org>
Sat, 5 Sep 1998 05:07:05 +0000 (5 05:07 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 5 Sep 1998 05:07:05 +0000 (5 05:07 +0000)
tree7ee33f6880d60f973dc592e718765f4ddab0c950
parent94d63cc382ac0d8a523db98b93750225082b09b1
tridge the destroyer returns!

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?
53 files changed:
source/Makefile.in
source/client/client.c
source/client/clitar.c
source/include/proto.h
source/lib/bitmap.c
source/lib/interface.c
source/lib/membuffer.c
source/lib/util.c
source/lib/util_hnd.c
source/libsmb/clientgen.c
source/libsmb/nmblib.c
source/libsmb/smbencrypt.c
source/locking/shmem.c
source/nmbd/nmbd_become_dmb.c
source/nmbd/nmbd_become_lmb.c
source/nmbd/nmbd_browserdb.c
source/nmbd/nmbd_namelistdb.c
source/nmbd/nmbd_packets.c
source/nmbd/nmbd_responserecordsdb.c
source/param/loadparm.c
source/passdb/nispass.c
source/passdb/passdb.c
source/rpc_client/cli_login.c
source/rpc_client/cli_netlogon.c
source/rpc_client/cli_pipe.c
source/rpc_parse/parse_lsa.c
source/rpc_parse/parse_misc.c
source/rpc_parse/parse_net.c
source/rpc_parse/parse_prs.c
source/rpc_parse/parse_reg.c
source/rpc_parse/parse_rpc.c
source/rpc_parse/parse_samr.c
source/rpc_parse/parse_srv.c
source/rpc_parse/parse_wks.c
source/rpc_server/srv_lsa_hnd.c
source/rpc_server/srv_pipe_hnd.c
source/rpc_server/srv_util.c
source/smbd/chgpasswd.c
source/smbd/filename.c
source/smbd/files.c
source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/open.c
source/smbd/oplock.c
source/smbd/password.c
source/smbd/process.c
source/smbd/server.c
source/smbd/trans2.c
source/utils/make_printerdef.c
source/utils/make_smbcodepage.c
source/utils/testparm.c
source/utils/torture.c
source/web/cgi.c