[samba3] lib/util_file.c unused functions?
Gerald (Jerry) Carter
jerry at samba.org
Thu Aug 17 16:48:13 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Collier-Brown wrote:
> I see a few other calls, but only four in total:
>
> Functions calling this function: do_file_lock
> File Function Line
> 0 util_file.c file_lock 85 if (!do_file_lock(fd, secs, type)) {
> 1 util_file.c file_unlock 103 ret = do_file_lock(fd, 5, F_UNLCK);
> 2 pdb_smbpasswd.c pw_file_lock 78 if (!do_file_lock(fd, secs, type)) {
> 3 pdb_smbpasswd.c pw_file_unlock 103 ret = do_file_lock(fd, 5, F_UNLCK);
> 4 proto.h NTSTATUS 1255 BOOL do_file_lock(int fd, int
> waitsecs,
Take a look at source/scripts/findstatic.pl and then you can grab the
unused warning functions from gcc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFE5J3NIR7qMdg1EfYRApJJAKCqibFxX6jzcKiKuLZ0kEQi3NO36gCgs8q0
xC8Z5FyAbRECGug8HU5daLw=
=4Cue
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list