From 12d5c14dd04d158cdd55f845156d8673a78e82db Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 26 Feb 2004 10:56:41 +0000 Subject: [PATCH] Apply some const Volker (This used to be commit f1b66461ebce4e89eb65620a09c079ae9697537b) --- source3/libsmb/clirap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index f8204e05d68..98066629d18 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; -- 2.34.1