mirror of
https://github.com/tmux/tmux.git
synced 2025-04-27 15:48:54 +00:00
xmalloc: define __bounded__ where necessary
This commit is contained in:
parent
ba97ae1737
commit
f7c8f1ae29
@ -19,6 +19,10 @@
|
|||||||
#ifndef XMALLOC_H
|
#ifndef XMALLOC_H
|
||||||
#define XMALLOC_H
|
#define XMALLOC_H
|
||||||
|
|
||||||
|
#if !defined(__bounded__)
|
||||||
|
# define __bounded__(x, y, z)
|
||||||
|
#endif
|
||||||
|
|
||||||
void *xmalloc(size_t);
|
void *xmalloc(size_t);
|
||||||
void *xcalloc(size_t, size_t);
|
void *xcalloc(size_t, size_t);
|
||||||
void *xrealloc(void *, size_t);
|
void *xrealloc(void *, size_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user