summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-25 18:51:56 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-31 00:32:07 +0200
commite5dd03d1991f125fa3cfddac9a41d2f9e6391c42 (patch)
tree0b1c0bdf4759f2ad1331febe2612ca739eba8d30 /source3/torture
parent81905585c093b6d641a10f6c338949bcbaa724c0 (diff)
downloadsamba-e5dd03d1991f125fa3cfddac9a41d2f9e6391c42.tar.gz
samba-e5dd03d1991f125fa3cfddac9a41d2f9e6391c42.tar.bz2
samba-e5dd03d1991f125fa3cfddac9a41d2f9e6391c42.zip
s3-globals Remove smbd_event_context() (use server_event_context())
This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/vfstest.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 584f6e30ef..74ef572577 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -414,16 +414,6 @@ void exit_server_cleanly(const char *const reason)
int last_message = -1;
-struct event_context *smbd_event_context(void)
-{
- static struct event_context *ctx;
-
- if (!ctx && !(ctx = event_context_init(NULL))) {
- smb_panic("Could not init smbd event context\n");
- }
- return ctx;
-}
-
/* Main function */
int main(int argc, char *argv[])