Branch: Tag:

2002-09-12

2002-09-12 13:15:50 by Marcus Comstedt <marcus@mc.pp.se>

Added a bunch of missing 'const'.

Rev: src/constants.c:1.39
Rev: src/constants.h:1.23
Rev: src/dmalloc.h:1.36
Rev: src/module_support.c:1.49
Rev: src/module_support.h:1.13
Rev: src/pike_memory.c:1.121
Rev: src/pike_types.c:1.195
Rev: src/pike_types.h:1.81
Rev: src/port.c:1.53
Rev: src/port.h:1.44
Rev: src/program.c:1.443
Rev: src/program.h:1.166

1:   /* -  * $Id: dmalloc.h,v 1.35 2001/11/10 19:39:25 mast Exp $ +  * $Id: dmalloc.h,v 1.36 2002/09/12 13:15:49 marcus Exp $    */      PMOD_EXPORT extern void *debug_xalloc(size_t);
51: Inside #if defined(DEBUG_MALLOC)
  void search_all_memheaders_for_references(void);      /* Beware! names of named memory regions are never ever freed!! /Hubbe */ - void *debug_malloc_name(void *p, char *fn, int line); + void *debug_malloc_name(void *p, const char *fn, int line);   int debug_malloc_copy_names(void *p, void *p2);   char *dmalloc_find_name(void *p);