summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-03 13:23:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-03 14:25:12 +1000
commitc363815809b4f6ff06f42baddaf4545de4cb9217 (patch)
tree7fea9ad47804d9e620501a667965b9b54a55ff7e /source3/lib
parent4d53e7c2ba59d4572a6198785e49eeaf88cd1a02 (diff)
downloadsamba-c363815809b4f6ff06f42baddaf4545de4cb9217.tar.gz
samba-c363815809b4f6ff06f42baddaf4545de4cb9217.tar.bz2
samba-c363815809b4f6ff06f42baddaf4545de4cb9217.zip
s3-smbd: Inline init_modules() into only caller
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 7be056c68b..d6e8ed8090 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2446,12 +2446,3 @@ bool map_open_params_to_ntcreate(const char *smb_base_fname,
return True;
}
-
-
-void init_modules(void)
-{
- /* FIXME: This can cause undefined symbol errors :
- * smb_register_vfs() isn't available in nmbd, for example */
- if(lp_preload_modules())
- smb_load_modules(lp_preload_modules());
-}