Apply some const
authorVolker Lendecke <vlendec@samba.org>
Thu, 26 Feb 2004 10:55:43 +0000 (10:55 +0000)
committerVolker Lendecke <vlendec@samba.org>
Thu, 26 Feb 2004 10:55:43 +0000 (10:55 +0000)
Volker
(This used to be commit 0b29d83d33153dc0e49406efa6735b6664d88ce7)

source3/libsmb/clirap.c

index f8204e05d68d579f01249bd183beea19b7ac6bcc..98066629d184c5be1ba57b8c37b97519610233e3 100644 (file)
@@ -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;