diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-30 22:46:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:06 -0500 |
commit | aa9f67163cd2df2a815ef585edad1951343b82c8 (patch) | |
tree | 88058f98a5681563c745a9e3239469b61e11648f /source4/gtk/tools/gwsam.c | |
parent | 5a26b2d72b63f0b3d8d4aa151044521fdf8c2064 (diff) | |
download | samba-aa9f67163cd2df2a815ef585edad1951343b82c8.tar.gz samba-aa9f67163cd2df2a815ef585edad1951343b82c8.tar.bz2 samba-aa9f67163cd2df2a815ef585edad1951343b82c8.zip |
r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
(This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
Diffstat (limited to 'source4/gtk/tools/gwsam.c')
-rw-r--r-- | source4/gtk/tools/gwsam.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c index 963397810c..3764afe046 100644 --- a/source4/gtk/tools/gwsam.c +++ b/source4/gtk/tools/gwsam.c @@ -23,7 +23,6 @@ #include "librpc/gen_ndr/ndr_samr.h" #include "gtk/common/select.h" #include "gtk/common/gtk-smb.h" -#include "smb_build.h" struct policy_handle sam_handle; struct dcerpc_pipe *sam_pipe = NULL; @@ -398,11 +397,8 @@ static GtkWidget* create_mainwindow (void) return mainwin; } - - - int main(int argc, char **argv) +int main(int argc, char **argv) { - gwsam_init_subsystems; lp_load(); setup_logging(argv[0], DEBUG_STDERR); |