No more xmalloc-debug.

This commit is contained in:
Nicholas Marriott
2009-06-25 16:25:15 +00:00
parent 8565ae234b
commit 6cde05147e
2 changed files with 1 additions and 251 deletions

14
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.340 2009-06-25 16:21:32 nicm Exp $ */
/* $Id: tmux.h,v 1.341 2009-06-25 16:25:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1684,16 +1684,4 @@ int printflike3 printpath(char *, size_t, const char *, ...);
char *xdirname(const char *);
char *xbasename(const char *);
/* xmalloc-debug.c */
#ifdef DEBUG
#define xmalloc_caller() __builtin_return_address(0)
void xmalloc_clear(void);
void xmalloc_report(pid_t, const char *);
void xmalloc_new(void *, void *, size_t);
void xmalloc_change(void *, void *, void *, size_t);
void xmalloc_free(void *);
#endif
#endif