Add a touch of const
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 14:26:20 +0000 (14:26 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 May 2002 14:26:20 +0000 (14:26 +0000)
(This used to be commit 3e93b216ddba14592a0193664c5d6bcbef898f1a)

source3/rpc_parse/parse_prs.c

index 6d65d5cc7f474d9cdf03652e8788fda79ed3eda8..c3e4992263dfc72d09f8ed6faedca5b86b281d0a 100644 (file)
@@ -73,7 +73,7 @@ void prs_dump_region(char *name, int v, prs_struct *ps,
  XXXX side-effect of this function is to increase the debug depth XXXX
 
  ********************************************************************/
-void prs_debug(prs_struct *ps, int depth, char *desc, char *fn_name)
+void prs_debug(prs_struct *ps, int depth, const char *desc, char *fn_name)
 {
        DEBUG(5+depth, ("%s%06x %s %s\n", tab_depth(depth), ps->data_offset, fn_name, desc));
 }