summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-26 10:56:41 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-26 10:56:41 +0000
commit12d5c14dd04d158cdd55f845156d8673a78e82db (patch)
tree0c6698d7feb38537f3aae5b33e806546a5c15207 /source3
parentfb7a1848d17720a661910aaf7431807e820e0215 (diff)
downloadsamba-12d5c14dd04d158cdd55f845156d8673a78e82db.tar.gz
samba-12d5c14dd04d158cdd55f845156d8673a78e82db.tar.bz2
samba-12d5c14dd04d158cdd55f845156d8673a78e82db.zip
Apply some const
Volker (This used to be commit f1b66461ebce4e89eb65620a09c079ae9697537b)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clirap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index f8204e05d6..98066629d1 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -206,8 +206,9 @@ The callback function takes 4 arguments: the machine name, the server type,
the comment and a state pointer.
****************************************************************************/
BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
- void (*fn)(const char *, uint32, const char *, void *),
- void *state)
+ void (*fn)(const char *, uint32, const char *,
+ const void *),
+ const void *state)
{
char *rparam = NULL;
char *rdata = NULL;