summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clirap.c
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
commit0b29d83d33153dc0e49406efa6735b6664d88ce7 (patch)
tree388dc618fa8d8da681902cf713d09d2470afa52d /source/libsmb/clirap.c
parentb83802c5a14800554d30c32c12ae3a86e3136bdf (diff)
downloadsamba-0b29d83d33153dc0e49406efa6735b6664d88ce7.tar.gz
samba-0b29d83d33153dc0e49406efa6735b6664d88ce7.tar.xz
samba-0b29d83d33153dc0e49406efa6735b6664d88ce7.zip
Apply some const
Volker
Diffstat (limited to 'source/libsmb/clirap.c')
-rw-r--r--source/libsmb/clirap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c
index f8204e05d68..98066629d18 100644
--- a/source/libsmb/clirap.c
+++ b/source/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;