static void rf_redzone_free_failed(void *ptr, int size, int line, char *file);  void   *rf_real_redzone_malloc(_size_) int     _size_; { char   *p;  rf_validate_mh_table(); p = malloc((_size_) + 16); if (p == NULL) return (p); RF_ASSERT(p); *((long *) p) = (_size_); ((char *) p)[(_size_) + 8] = '!'; ((char *) p)[(_size_) + 15] = '!'; p += 8; return (p);
memory_hash_insert(p, size, line, filen); tot_mem_in_use += size;  if ((long) p == rf_memDebugAddress) { printf("Allocate: debug address allocated from line %d file %s\n", line, filen); }
RF_DECLARE_MUTEX(rf_debug_mem_mutex)	static int mh_table_initialized = 0;	static void memory_hash_insert(void *addr, int size, int line, char *filen);	static int memory_hash_remove(void *addr, int sz);#ifndef _KERNEL			/* no redzones or "real_" routines in the				 * kernel */	static void rf_redzone_free_failed(void *ptr, int size, int line, char *file);	void   *rf_real_redzone_malloc(_size_)	int     _size_;{	char   *p;	rf_validate_mh_table();	p = malloc((_size_) + 16);	if (p == NULL)		return (p);	RF_ASSERT(p);	*((long *) p) = (_size_);	((char *) p)[(_size_) + 8] = '!';	((char *) p)[(_size_) + 15] = '!';	p += 8;	return (p);}