mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 16:27:03 +00:00
No more xmalloc-debug.
This commit is contained in:
14
tmux.h
14
tmux.h
@ -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
|
||||
|
Reference in New Issue
Block a user