summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-26 10:55:43 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-26 10:55:43 +0000
commit0689a2630d920d2cc4a27c2c6617693cff549271 (patch)
tree09f785a63b949cdde2ce6b0277fd2d9eb935e198 /source3
parenta3425dad72dc7e68da39338ff32cd05f3283c00d (diff)
downloadsamba-0689a2630d920d2cc4a27c2c6617693cff549271.tar.gz
samba-0689a2630d920d2cc4a27c2c6617693cff549271.tar.bz2
samba-0689a2630d920d2cc4a27c2c6617693cff549271.zip
Apply some const
Volker (This used to be commit 0b29d83d33153dc0e49406efa6735b6664d88ce7)
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;