1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

xmalloc: define __bounded__ where necessary

This commit is contained in:
Thomas Adam 2016-02-07 00:04:46 +00:00
parent ba97ae1737
commit f7c8f1ae29

View File

@ -19,6 +19,10 @@
#ifndef XMALLOC_H
#define XMALLOC_H
#if !defined(__bounded__)
# define __bounded__(x, y, z)
#endif
void *xmalloc(size_t);
void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);