mirror of
https://github.com/rfivet/uemacs.git
synced 2024-06-26 11:45:28 +00:00
xmalloc checks the returned pointer and dies if it failed to allocate the memory. Use this new function in window.c. More places will be converted to use xmalloc latter. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9 lines
138 B
C
9 lines
138 B
C
#ifndef WRAPPER_H_
|
|
#define WRAPPER_H_
|
|
|
|
extern int xmkstemp(char *template);
|
|
|
|
extern void *xmalloc(size_t size);
|
|
|
|
#endif /* WRAPPER_H_ */
|