diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-06-29 09:20:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:49 -0500 |
commit | fe0706d5d5813edc29c909c4f74c593fb5717190 (patch) | |
tree | 1870278e4573deced94668afc94ca6adf7968bc9 /source4/lib | |
parent | 118f3edd27f5adacc1da636ed05b33f04999584f (diff) | |
download | samba-fe0706d5d5813edc29c909c4f74c593fb5717190.tar.gz samba-fe0706d5d5813edc29c909c4f74c593fb5717190.tar.bz2 samba-fe0706d5d5813edc29c909c4f74c593fb5717190.zip |
r1292: Add const to the subsystem/module registration code.
Add some 'multi init' code, until we get a better set of infrustructure.
Andrew Bartlett
(This used to be commit 982422b2d286335378531ae9523e74192340af3c)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/module.c b/source4/lib/module.c index 1fcb57fac1..c724d872ee 100644 --- a/source4/lib/module.c +++ b/source4/lib/module.c @@ -153,7 +153,7 @@ NTSTATUS register_subsystem(const char *name, register_backend_function callback return NT_STATUS_OK; } -NTSTATUS register_backend(const char *subsystem, void *args) +NTSTATUS register_backend(const char *subsystem, const void *args) { /* Find the specified subsystem */ struct subsystem *s = subsystems; |