That const was one too many
authorVolker Lendecke <vlendec@samba.org>
Thu, 26 Feb 2004 14:34:44 +0000 (14:34 +0000)
committerVolker Lendecke <vlendec@samba.org>
Thu, 26 Feb 2004 14:34:44 +0000 (14:34 +0000)
source/libsmb/clirap.c

index 98066629d184c5be1ba57b8c37b97519610233e3..f8204e05d68d579f01249bd183beea19b7ac6bcc 100644 (file)
@@ -206,9 +206,8 @@ 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 *,
-                                 const void *),
-                      const void *state)
+                      void (*fn)(const char *, uint32, const char *, void *),
+                      void *state)
 {
        char *rparam = NULL;
        char *rdata = NULL;